MCP Android Server Python MCP Server

This project provides an **MCP (Model Context Protocol)** server for automating Android devices using

Local serverstdioPython

What is the MCP Android Server Python MCP server?

If you want an AI assistant working directly with MCP Android Server Python, the mcp android server python mcp server is the bridge. This project provides an MCP (Model Context Protocol) server for automating Android devices using uiautomator2. It's designed to be easily plugged into AI agents like GitHub Copilot Chat, Claude, or Open Interpreter to control Android devices through.

What MCP Android Server Python does

This project provides an MCP (Model Context Protocol) server for automating Android devices using uiautomator2. It's designed to be easily plugged into AI agents like GitHub Copilot Chat, Claude, or Open Interpreter to control Android devices through natural language.

Tools it exposes

Once connected, the assistant can call these 14 tools directly:

  • mcp_health — Check if the MCP server is running properly
  • get_device_status — Get complete device status and readiness information
  • connect_device — Connect to an Android device and get basic info
  • get_device_info — Get detailed device info: serial, resolution, battery, etc
  • check_adb_and_list_devices — Check if ADB is installed and list connected devices
  • get_installed_apps — List all installed apps with version and package info
  • get_current_app — Get info about the app currently in the foreground
  • start_app — Start an app by its package name
  • stop_app — Stop an app by its package name
  • stop_all_apps — Stop all currently running apps
  • clear_app_data — Clear user data/cache of a specified app
  • screen_on — Turn on the screen
  • screen_off — Turn off the screen
  • unlock_screen — Unlock the screen (turn on and swipe if necessary)

Installing the mcp android server python mcp server

The server is distributed via PyPI as uiautodev, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Requirements

  • Python 3.13 or higher - Android Debug Bridge (adb) installed and in PATH - Connected Android device with USB debugging enabled - uiautomator2 compatible Android device

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. MCP Android Server Python sits in that group, and the shape of its toolset — mcp_health, get_device_status, connect_device among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • With 14 tools exposed, expect a noticeable bump in prompt size — disable it in projects that never use MCP Android Server Python.
  • Maintained by nim444, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the mcp android server python mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
mcp_healthCheck if the MCP server is running properly
get_device_statusGet complete device status and readiness information
connect_deviceConnect to an Android device and get basic info
get_device_infoGet detailed device info: serial, resolution, battery, etc.
check_adb_and_list_devicesCheck if ADB is installed and list connected devices
get_installed_appsList all installed apps with version and package info
get_current_appGet info about the app currently in the foreground
start_appStart an app by its package name
stop_appStop an app by its package name
stop_all_appsStop all currently running apps
clear_app_dataClear user data/cache of a specified app
screen_onTurn on the screen
screen_offTurn off the screen
unlock_screenUnlock the screen (turn on and swipe if necessary)

How to install the MCP Android Server Python MCP server

{
  "mcpServers": {
    "mcp-android": {
      "type": "stdio",
      "command": "bash",
      "args": [
        "-c",
        "cd /path/to/mcp-adb && source .venv/bin/activate && uv run python server.py"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.13 or higher - Android Debug Bridge (adb) installed and in PATH - Connected Android device with USB debugging enabled - uiautomator2 compatible Android device

Example prompts to try

  • Use MCP Android Server Python to mcp health.
  • Use MCP Android Server Python to get device status.
  • Use MCP Android Server Python to connect device.

Frequently asked questions

It connects MCP Android Server Python to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (mcp_health, get_device_status, connect_device, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Android Server Python directly.