
adbfriend
by mikepenz·★ 71·Score 46
Android ADB CLI tool with integrated MCP Server for common development actions.
Overview
ADB Friend is a compact CLI tool that enables Android device management through ADB commands. Since version 1.4.0, it has included a Model Context Protocol (MCP) server that exposes numerous tools for interacting with Android devices. The server allows AI assistants to perform actions like file transfer, app management, system configuration, and device debugging. It provides comprehensive functionality for both developers and advanced Android users.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this when you need programmatic control over Android devices during development or testing, especially if you're already using Claude Desktop or other MCP-compatible AI tools.
When NOT to choose this
Not suitable for non-developer Android management tasks or when you need fine-grained permission controls beyond what ADB provides.
Tools this server exposes
12 tools extracted from the READMEcheck-adb-speedChecks the USB connection speed of an Android device
clear-installed-packageClears the package data for provided package names
force-stop-processForces the stop of provided package names
uninstall-packageUninstalls provided package names from the device
get-connected-devicesRetrieves information about all connected Android devices
get-installed-packagesRetrieves information about installed packages on a device
list-filesLists files and directories on an Android device
read-fileReads the content of a file on an Android device
write-fileWrites content to a file on an Android device
search-filesSearches for files matching a pattern within allowed directories
copy-file-to-hostCopies a binary file from the Android device to the host system
install-apkInstalls an APK on the Android device from the host system
Comparable tools
Installation
Installation
Using Homebrew:
brew tap mikepenz/tap
brew install mikepenz/tap/adbfriendAlternatively, download prebuilt binaries from the release page.
Claude Desktop Configuration
Add this to your Claude Desktop configuration:
{
"mcpServers": {
"adb-friend": {
"command": "/opt/homebrew/bin/adbfriend",
"args": [
"mcp",
"server"
],
"env": {
"ANDROID_HOME": "/path/to/your/android/sdk"
}
}
}
}> Important: If ANDROID_HOME is not provided, the adb-server must be manually started.
FAQ
- What is required for the MCP server to work?
- The server requires either the ANDROID_HOME environment variable to be set or an adb-server to be manually running on your machine.
- How can I debug the MCP server?
- Use 'npx @modelcontextprotocol/inspector' to debug the server. Start the server with 'adbfriend mcp server --sse true' (default port 3001).
Compare adbfriend with
Last updated · Auto-generated from public README + GitHub signals.