MCP Catalogs
Homeadbfriend screenshot

adbfriend

by mikepenz·71·Score 46

Android ADB CLI tool with integrated MCP Server for common development actions.

developer-toolsfile-systemai-llm
5
Forks
1
Open issues
1 mo ago
Last commit
2d ago
Indexed

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:

you:Automate Android testing workflows by installing apps, clearing data, and capturing screenshots
you:Streamline device setup by disabling animations, enabling touches, and configuring test parameters
you:Transfer files between computer and Android device with intelligent sync capabilities
you:What is required for the MCP server to work?
you:How can I debug the MCP server?

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 README
  • check-adb-speed

    Checks the USB connection speed of an Android device

  • clear-installed-package

    Clears the package data for provided package names

  • force-stop-process

    Forces the stop of provided package names

  • uninstall-package

    Uninstalls provided package names from the device

  • get-connected-devices

    Retrieves information about all connected Android devices

  • get-installed-packages

    Retrieves information about installed packages on a device

  • list-files

    Lists files and directories on an Android device

  • read-file

    Reads the content of a file on an Android device

  • write-file

    Writes content to a file on an Android device

  • search-files

    Searches for files matching a pattern within allowed directories

  • copy-file-to-host

    Copies a binary file from the Android device to the host system

  • install-apk

    Installs an APK on the Android device from the host system

Comparable tools

android-platform-toolsscrcpyadb-shell-mcptermux

Installation

Installation

Using Homebrew:

brew tap mikepenz/tap
brew install mikepenz/tap/adbfriend

Alternatively, 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.