Android MCP
MCP ServerFree** - 📲 An MCP server that provides control over Android devices through ADB. Offers device screenshot capture, UI layout analysis, package management, and ADB command execution capabilities.
Capabilities7 decomposed
adb command execution with mcp protocol translation
Medium confidenceTranslates high-level MCP tool requests into ADB shell commands executed on connected Android devices, with results marshaled back through the MCP protocol. Uses FastMCP server component to register tool functions via @mcp.tool() decorator, routing requests through AdbDeviceManager which handles the actual ADB subprocess communication and output parsing. Supports arbitrary shell command execution with device targeting via YAML configuration.
Implements MCP protocol bridging specifically for ADB, using FastMCP's @mcp.tool() decorator pattern to expose shell commands as first-class MCP tools rather than generic function-calling wrappers. AdbDeviceManager abstracts device lifecycle and command routing, enabling seamless integration with MCP clients without requiring clients to understand ADB internals.
Tighter MCP integration than generic ADB wrappers because it natively implements the MCP tool protocol rather than requiring clients to parse ADB output or manage device connections themselves.
device screenshot capture with mcp serialization
Medium confidenceCaptures the current framebuffer state of a connected Android device via ADB's screencap command and serializes the output for MCP protocol transmission. The AdbDeviceManager invokes 'adb shell screencap -p' which pipes raw PNG data, which is then base64-encoded for safe transmission through the MCP text-based protocol. Supports single-shot capture with no streaming or continuous monitoring.
Implements screenshot capture as an MCP tool with automatic base64 serialization, allowing AI clients to receive visual context without requiring separate binary channel or file I/O. Integrates directly with ADB's screencap command rather than using Android's accessibility APIs, avoiding permission requirements.
Simpler than accessibility-based screenshot solutions because it uses ADB's built-in screencap which requires no app permissions or accessibility service setup, though it captures the framebuffer rather than semantic UI elements.
ui layout hierarchy extraction with clickable element analysis
Medium confidenceRetrieves the device's current UI hierarchy via ADB's 'uiautomator dump' command, parsing the XML layout tree to extract clickable UI elements and their properties (text, resource IDs, bounds, classes). The AdbDeviceManager executes the dump command which outputs an XML file to the device's /sdcard directory, then reads and parses it to identify interactive elements. Results are structured as a JSON representation of the UI tree with filtering for actionable elements.
Exposes UIAutomator's XML dump as a structured MCP tool with automatic parsing and filtering for clickable elements, enabling AI clients to reason about UI structure without requiring knowledge of Android's accessibility framework. Converts raw XML into JSON for easier AI consumption.
More comprehensive than simple screenshot analysis because it provides semantic UI structure and element properties (IDs, bounds, classes) rather than just visual pixels, enabling precise element targeting for automation.
package management and enumeration with intent action discovery
Medium confidenceLists all installed packages on the connected device via 'adb shell pm list packages' and retrieves action intents for specific packages using 'adb shell cmd package resolve-activity'. The AdbDeviceManager parses package manager output to build a list of installed applications, and for each package can query its associated intent actions (MAIN, LAUNCHER, etc.) which define how the app can be launched and interacted with. Results are structured as JSON arrays of package names and intent metadata.
Combines package enumeration with intent action discovery in a single MCP tool, allowing AI clients to both discover available apps and understand how to launch them without separate queries. Parses package manager output into structured JSON for AI consumption.
More actionable than raw package lists because it includes intent action metadata, enabling AI agents to actually launch and interact with discovered apps rather than just knowing they exist.
mcp protocol server with fastmcp framework integration
Medium confidenceImplements the Model Context Protocol (MCP) server using the FastMCP framework, which handles protocol serialization, tool registration via @mcp.tool() decorators, and stdio-based transport for communication with MCP clients. The server component initializes FastMCP with a specific server name ('android'), registers all tool functions, and manages the event loop for handling incoming MCP requests. Provides the integration layer between MCP clients (Claude Desktop, Cursor) and the underlying AdbDeviceManager.
Uses FastMCP's decorator-based tool registration pattern (@mcp.tool()) to expose Android capabilities as first-class MCP tools, eliminating boilerplate protocol handling and enabling rapid tool definition. Abstracts away MCP protocol complexity from tool implementations.
Cleaner than manual MCP protocol implementation because FastMCP handles serialization and transport, allowing developers to focus on tool logic rather than protocol details.
device configuration management with yaml-based targeting
Medium confidenceLoads device targeting configuration from a YAML file (config.yaml) that specifies which Android device the server should connect to. The ConfigSystem component reads the configuration at startup and passes the device identifier to AdbDeviceManager, which uses it to select the target device from 'adb devices' output. Supports device selection by name/serial number, enabling multi-device setups where different server instances target different devices.
Implements device targeting via external YAML configuration rather than hardcoding or environment variables, enabling non-developers to reconfigure device targeting without code changes. ConfigSystem abstraction separates configuration loading from device management logic.
More flexible than hardcoded device selection because YAML configuration can be changed between server instances, supporting multi-device testing without code duplication.
adb device lifecycle management and connection pooling
Medium confidenceManages the lifecycle of ADB connections to Android devices through the AdbDeviceManager component, which handles device discovery via 'adb devices', connection validation, and subprocess management for ADB command execution. Maintains a single persistent ADB connection per configured device, reusing it across multiple tool invocations to avoid connection overhead. Handles ADB subprocess spawning, output capture, and error handling for all device interactions.
Abstracts ADB subprocess management into a dedicated AdbDeviceManager component that handles connection lifecycle, device discovery, and command routing. Reuses connections across tool invocations rather than spawning new ADB processes for each command, reducing latency.
More efficient than spawning new ADB processes per command because it maintains persistent connections, reducing connection setup overhead which can be 100-500ms per operation on slower systems.
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with Android MCP, ranked by overlap. Discovered automatically through the match graph.
lamda
The most powerful Android RPA agent framework, next generation mobile automation.
MBro
** - A powerful interactive terminal **M**CP **Bro**wser client with tab completion and automatic documentation that allows you to work with multiple MCP servers, manage tools, and create complex workflows using AI assistants.
mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
inspector
Visual testing tool for MCP servers
mcp-cli
** a cli inspector for MCP servers
mcp-use
The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents.
Best For
- ✓AI-assisted Android development workflows in Claude Desktop or Cursor
- ✓Teams automating Android device testing and diagnostics
- ✓Developers building AI agents that need direct device control
- ✓AI-assisted mobile app debugging workflows
- ✓Automated visual testing pipelines with AI analysis
- ✓Interactive debugging sessions where AI needs to see current device state
- ✓AI-driven mobile app testing and automation frameworks
- ✓Interactive debugging where AI needs to understand UI structure
Known Limitations
- ⚠No built-in command validation or sandboxing — arbitrary shell commands are executed as-is, creating security risks in untrusted environments
- ⚠Single device targeting per server instance — requires separate server instances for multi-device orchestration
- ⚠Synchronous execution model with no timeout protection — long-running commands can block MCP client indefinitely
- ⚠No command output streaming — entire output buffered in memory before return
- ⚠Single-shot capture only — no continuous streaming or frame buffering for video-like sequences
- ⚠Base64 encoding overhead increases payload size by ~33% compared to raw binary transmission
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
About
** - 📲 An MCP server that provides control over Android devices through ADB. Offers device screenshot capture, UI layout analysis, package management, and ADB command execution capabilities.
Categories
Alternatives to Android MCP
Are you the builder of Android MCP?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →