Android

v1.0.0Browser Automationstable

Enables AI agents to fully control Android devices through over 30 tools for app management, UI automation, and vision-based analysis via ADB. It supports multi-device management, action recording, and smart execution strategies ranging from UI hiera

android-mcp-servermcpai-integration
Share:
753
Stars
0
Downloads
0
Weekly
0/5

What is Android?

Android is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai agents to fully control android devices through over 30 tools for app management, ui automation, and vision-based analysis via adb. it supports multi-device management, action recording, an...

Enables AI agents to fully control Android devices through over 30 tools for app management, UI automation, and vision-based analysis via ADB. It supports multi-device management, action recording, and smart execution strategies ranging from UI hiera

This server falls under the Browser Automation category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables AI agents to fully control Android devices through o

Use Cases

Enables AI agents to fully control Android devices through over 30 tools for app
minhalvp

Maintainer

LicenseApache 2.0
Languagepython
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx android-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Android

Android MCP Server is a Python-based Model Context Protocol server that gives AI agents programmatic control over Android devices and emulators through ADB (Android Debug Bridge), exposing tools for executing shell commands, capturing screenshots, analyzing UI layouts, and managing installed packages. It supports automatic device selection when a single device is connected and allows explicit device targeting via a YAML config file when multiple devices are present. Mobile developers, QA engineers, and automation researchers use it to let Claude operate Android devices with natural language — installing apps, inspecting UI hierarchies, taking screenshots, and running diagnostic commands.

Prerequisites

  • Python 3.11 or later
  • uv package manager (https://docs.astral.sh/uv/getting-started/installation/)
  • ADB (Android Debug Bridge) installed and on your PATH — part of Android SDK Platform Tools
  • An Android device with USB debugging enabled, or a running Android emulator
  • An MCP client such as Claude Desktop or Cursor
1

Install ADB and verify device connectivity

ADB must be installed and your device must appear when you run adb devices. Install Android SDK Platform Tools from developer.android.com or via your package manager, then enable USB debugging on your device.

adb devices
2

Clone the android-mcp-server repository

Clone the repository to a permanent location; the MCP config will reference this path.

git clone https://github.com/minhalvp/android-mcp-server.git
cd android-mcp-server
3

Install Python dependencies with uv

Use uv to install Python 3.11 and sync project dependencies into the project's virtual environment.

uv python install 3.11
uv sync
4

Optional: create a device config for multi-device setups

If more than one device is connected, copy the example config and specify your target device serial (from `adb devices`).

cp config.yaml.example config.yaml
# Edit config.yaml and set: device:
#   name: "your-device-serial"
5

Add the server to your MCP client configuration

Edit your claude_desktop_config.json to point to the uv executable and the cloned repository directory. Use absolute paths.

{
  "mcpServers": {
    "android": {
      "command": "/path/to/uv",
      "args": [
        "--directory",
        "/path/to/android-mcp-server",
        "run",
        "server.py"
      ]
    }
  }
}
6

Restart Claude Desktop and verify tools are available

Fully quit and reopen Claude Desktop. The Android MCP tools (adb command execution, screenshot capture, UI layout analysis, package management) should appear in the tool list.

Android Examples

Client configuration

claude_desktop_config.json entry. Replace paths with the actual location of your uv binary and the cloned repository.

{
  "mcpServers": {
    "android": {
      "command": "/Users/yourname/.local/bin/uv",
      "args": [
        "--directory",
        "/Users/yourname/projects/android-mcp-server",
        "run",
        "server.py"
      ]
    }
  }
}

Prompts to try

Natural language commands that map to the ADB shell, screenshot, UI analysis, and package management tools.

- "Take a screenshot of the current Android screen"
- "List all installed apps on the connected device"
- "Analyze the current UI layout and describe what's on screen"
- "Install the APK at /tmp/myapp.apk on the connected device"
- "Run `adb shell dumpsys battery` and show me the battery status"
- "Open the Settings app on the device"

Troubleshooting Android

Server fails with 'no devices/emulators found'

Run `adb devices` in your terminal and confirm your device appears as 'device' (not 'unauthorized'). If unauthorized, accept the USB debugging prompt on the device. Ensure USB debugging is enabled in Developer Options.

Multiple devices connected causes an error

Copy config.yaml.example to config.yaml in the repository directory and set `device.name` to the serial number of your target device (first column of `adb devices` output).

uv or server.py path not found in Claude Desktop

Use absolute paths in claude_desktop_config.json. Find the uv binary path with `which uv` and the repository path with `pwd` from inside the cloned directory. Claude Desktop does not inherit shell PATH variables.

Frequently Asked Questions about Android

What is Android?

Android is a Model Context Protocol (MCP) server that enables ai agents to fully control android devices through over 30 tools for app management, ui automation, and vision-based analysis via adb. it supports multi-device management, action recording, and smart execution strategies ranging from ui hiera It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Android?

Follow the installation instructions on the Android GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Android?

Android works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Android free to use?

Yes, Android is open source and available under the Apache 2.0 license. You can use it freely in both personal and commercial projects.

Browse More Browser Automation MCP Servers

Explore all browser automation servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "android-mcp-server": { "command": "npx", "args": ["-y", "android-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Android?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides