Android MCP Server
Exposes ADB to control connected Android devices and emulators, enabling screenshots, UI tapping/swiping/text input, app installation and inspection, file transfer, and logcat/top streaming.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Android MCP Server
An MCP (Model Context Protocol) server that exposes Android Debug Bridge (ADB) to AI assistants. Control Android devices and emulators directly from Claude, Codex, GitHub Copilot, Gemini CLI, Cursor, or any MCP-compatible client.
Table of Contents
Related MCP server: autoglm-mcp-server
Features
Screenshot — capture device screen with inline image display and auto-compression
UI interaction — tap, swipe, find elements by text/ID, type text, press keys
App management — install, uninstall, inspect app info and intent filters
File transfer — push and pull files between host and device
Streaming — capture logcat, top, and other long-running commands
Multi-device — target specific devices by serial when multiple are connected
Claude Desktop compatible — auto-detects ADB path, no PATH configuration needed
Requirements
Node.js 18+
A connected Android device or running emulator
Setting up ADB
See docs/adb-setup.md for installation instructions on macOS, Linux, and Windows.
Installation
Claude Desktop
Add to claude_desktop_config.json:
Platform | Path |
macOS |
|
Windows |
|
{
"mcpServers": {
"android": {
"command": "npx",
"args": ["-y", "@moallemi/android-mcp-server"]
}
}
}Claude Code
claude mcp add android -- npx -y @moallemi/android-mcp-serverOr add manually to .mcp.json in your project root:
{
"mcpServers": {
"android": {
"command": "npx",
"args": ["-y", "@moallemi/android-mcp-server"]
}
}
}Other MCP clients
Use command: npx with args: ["-y", "@moallemi/android-mcp-server"] in your client's MCP server configuration.
Run manually
npx @moallemi/android-mcp-serverTools
Device
Tool | Description |
| List connected devices with model, Android version, and API level |
| Run any ADB command (everything after |
| Capture streaming output (logcat, top) for a set duration or line count |
Screen & Interaction
Tool | Description |
| Capture screen — returns inline image compressed to JPEG. Use |
| Tap screen coordinates. Pass |
| Find a UI element by text, resource ID, or content description and tap it |
| List visible UI elements — filter by text, resource ID, class, or clickable |
App Management
Tool | Description |
| Install an APK with helpful error messages for common failures |
| Uninstall an app by package name |
| Get version, permissions, install path, memory usage, and running status |
| Discover all registered activities, services, and receivers with their intent filters |
File Transfer
Tool | Description |
| Push a local file to device or pull a file from device |
Example usage
Once configured, you can ask Claude things like:
"Take a screenshot of my device"
"Open the Settings app and navigate to Wi-Fi"
"Tap the Login button"
"Install the APK at ~/Downloads/app-debug.apk"
"What activities does com.example.app have?"
"Show me the last 100 lines of logcat filtered to 'crash'"
"Pull the database file from /data/data/com.example.app/databases/app.db"
Development
# Clone and install
git clone https://github.com/moallemi/android-mcp-server
cd android-mcp-server
npm install
# Build
npm run build
# Run tests (requires a connected device or emulator)
npm testLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloud Android devices for AI agents: install an APK, read the screen, tap, type, read logcat.
Give your AI agent a real cloud Android phone: push APKs, drive it, get screenshots and logs.
Let Claude, ChatGPT and other agents use your Android phone: see the screen, tap, type, open apps.
Let AI agents control Android and iOS devices on Mobilerun Cloud: screen, input, apps, workflows.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Android devices and emulators via ADB, providing tools for screenshots, UI inspection, touch and text input, app management, and device control.42143 npm23MIT
- AlicenseAqualityDmaintenanceEnables AI models to control Android devices via ADB through natural language commands, supporting screen analysis and automated actions.357 npmMIT
- AlicenseBqualityCmaintenanceEnables AI agents to control Android TV/Android devices through ADB, including screen capture, remote control, app management, and more.2416 npm5MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to see and control Android devices through ADB and screen mirroring, supporting screen capture, touch input, app management, UI element finding, file transfer, shell commands, clipboard access, and audio/video streaming.801 npmMIT