← Back to Leaderboard
ACursorTouch

CursorTouch/Android-MCP

An ADB-only MCP server for inspecting and operating Android devices

View on GitHub ↗
Engineering Health (Methodology)
A+ · 91/100
Maintenance Activity
● Updated 12d ago
Latest Release
v0.3.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption16/25
Release Cadence20/20
License Clarity20/20
MCPCLISelf-Hosted
Total Stars
★ 942
24h Growth
+1
7d Growth
+1
Forks
126

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

CursorTouch/Android-MCP Star History (2025-06-10 - 2026-12-03) ALL-TIME STAR HISTORY (2025-06 – 2026-12) +941 in 541d · avg +2/day 995 498 0 2025-06-10: ★ 12025-07-19: ★ 162025-08-23: ★ 382025-09-27: ★ 542025-11-01: ★ 722025-12-06: ★ 932026-01-10: ★ 2922026-02-14: ★ 3642026-03-21: ★ 4592026-04-25: ★ 5612026-05-30: ★ 6232026-07-04: ★ 7092026-08-08: ★ 7932026-09-12: ★ 8432026-10-17: ★ 8942026-12-03: ★ 942 ★ 942 2025-06 2026-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Android MCP runs as a Python 3.13+ process that exposes MCP tools over stdio and sends device operations through host-side ADB. The manifest declares FastMCP, Click, and Pillow for the MCP interface, CLI, and image processing. The server does not run model inference; the MCP client decides what to observe and which action to take.

The code is split into four layers: android_mcp.adb talks to ADB, android_mcp.tree reads the Android UI hierarchy, android_mcp.mobile manages state and actions for one connected device, and android_mcp.server exposes tools and selects the target. Connection is lazy: an MCP client can start the process before a device is attached, but the first tool call needs a usable ADB target.

Key Capabilities & Differentiators

Snapshot returns interactive elements with labels and tap coordinates. use_vision adds a screenshot; use_annotation=false leaves it unmarked. ClickBySelector matches exact text, resource ID, class name, or description. It accepts an index when multiple elements match, and a resource ID can be given as just the part after the slash.

The action tools cover taps, long presses, swipes, drags, key presses, the notification shade, and waits for elements. Device tools list, select, and disconnect targets and can switch between USB and Wi-Fi. Type can focus a field by coordinates, clear it, and enter text. It uses native ADB input where possible and requires the optional ADBKeyboard app for characters that input path cannot handle, including CJK and emoji.

Trade-offs & Limitations

Compared with the earlier UIAutomator2-based implementation, v0.3.0 removes the required companion service from the device, but it still depends on uiautomator dump for structured element lookup. If a video or timer keeps the screen from going idle, the dump can fail. In that case, Snapshot with use_vision can return a screenshot without elements, and coordinate taps remain available. Compared with raw ADB scripts, the MCP layer is useful when a client must inspect the screen before choosing an action; fixed sequences may not need it.

Drag requires Android 8 or later. Native field clearing uses input keycombination on Android 12 or later; older versions use a slower fallback capped at 200 characters. Full multilingual input is not part of the installation-free baseline: ADBKeyboard must be installed separately, requires a focused field, and temporarily switches the active input method.

Hardware & Deployment Guide

Self-hosting requires Python 3.13+ and Android platform-tools (adb). Start the published package with uvx --python 3.13 android-mcp, or use uv run android-mcp from a checkout. Configure the MCP client to launch the process over stdio. If ADB is not discovered on PATH or in SDK locations, set ANDROID_MCP_ADB_PATH explicitly.

By default, the server selects the first physical device, or an emulator if none is present. Set --device SERIAL or ANDROID_MCP_DEVICE to pin the target; --connection selects auto, usb, or wifi, and CLI options override environment variables. Release v0.2.0 moved the extension manifest to uv and exposed device, connection, and screenshot settings. Release v0.3.0 then removed the UIAutomator2 dependency to address its companion service's startup failure on Android 17 (API 37).

Device footprint: v0.3.0 uses ADB without installing a required companion service on Android.
Screen inspection: Snapshot returns labeled elements and tap coordinates, with optional annotated or clean screenshots.
Element lookup: ClickBySelector matches text, resource ID, class name, or description and supports an index for duplicate matches.
Device routing: Configure a serial or network endpoint, select auto/USB/Wi-Fi, or switch the active device's transport through MCP.
Text input: Native ADB handles printable ASCII and supported accented Latin letters; optional ADBKeyboard covers CJK, emoji, and other unsupported characters.
Development checks: uv runs pytest and Ruff; the test suite does not require an attached device.
Best For

Agent-assisted Android UI smoke tests, demos, and exploratory workflows on authorized phones or emulators, where the client needs to inspect the screen before choosing an action.

Skip If

You need reliable selector lookup on continuously updating screens, full multilingual input without installing a keyboard app, or only a fixed sequence already handled by ADB scripts.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLISelf-Hosted
uvx --python 3.13 android-mcp

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Android-MCP ★942+1PythonMITAn ADB-only MCP server for inspecting and operating Android devices
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
skills204.1k+2.5kPython—A Claude Agent Skills catalog for packaging and reusing task workflows

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/CursorTouch/Android-MCP.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

CursorTouch/Android-MCP Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Android-MCP

How does an MCP client connect, and when is the Android target selected?

Configure the client to launch uvx --python 3.13 android-mcp as a local stdio MCP process. The process can start without an attached device; it connects on the first tool call. On a host with several targets, pass --device SERIAL or set ANDROID_MCP_DEVICE rather than relying on automatic selection.

Does the server need a GPU, and what drives host resource usage?

The server runs no local model and has no GPU or VRAM requirement of its own. Size the host for the Python process, ADB, and Pillow image processing when screenshots are enabled. An emulator or a locally hosted vision model, if you use one, has its own resource requirements. No measured CPU or memory figures are available.

Can we self-host or redistribute this in a commercial setup?

The server is MIT-licensed, so commercial self-hosting is permitted. Preserve the MIT copyright and permission notices when redistributing copies. ADBKeyboard is an optional, separately distributed GPL-2.0 app and is not bundled with the server. Review its separate license obligations if you redistribute it.

When is this a better fit than direct ADB scripting or a UIAutomator2-based setup?

Use Android MCP when an MCP client needs to inspect the current screen and choose among taps, gestures, or text input. For a fixed sequence in an existing test harness, direct ADB scripting may be simpler. The ADB-only design avoids the UIAutomator2 companion-service dependency, but selector lookup still depends on uiautomator dump.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining CursorTouch/Android-MCP? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature CursorTouch/Android-MCP on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare