Android MCP server
io.github.martingeidobler/android·v1.2.1·70 starsControl Android devices and emulators via ADB — screenshots, UI automation, and logcat.
70 stars182 downloads/wk
Reviews
Write oneNobody has reviewed Android yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Android tools (21, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
adb_shellwrite actionRun an arbitrary ADB shell command
clear_logsClear the logcat buffer. Call this before reproducing a bug to get clean logs.
get_current_activityGet the currently displayed app and activity
get_device_infoGet device details: model, manufacturer, Android version, API level, screen size, and DPI.
get_logsGet device logcat output. Use to find crashes, exceptions, and errors after reproducing a bug.
get_ui_treeGet the UI element hierarchy of the current screen. Returns interactive elements with their bounds, text, resource IDs, and state. Use this to find elements before tapping.
install_apkInstall an APK file on the device
launch_appLaunch an Android app by package name
list_avdsList available Android Virtual Devices
list_devicesList connected Android devices and emulators
press_keyPress a hardware/software key
pull_filePull a file from the Android device to the local filesystem.
screenshotTake a screenshot of the Android device. Returns the image for visual analysis. Optionally saves to a file path.
scroll_to_elementScroll down repeatedly until an element matching the given criteria is visible
start_emulatorStart an Android emulator. Waits up to 60s for it to come online.
swipePerform a swipe gesture on the screen
tapTap at specific screen coordinates
tap_and_waitTap element then wait for UI to settle and return the new UI tree. Combines tap + wait + get_ui_tree into a single fast operation.
tap_elementTap a UI element by its resource-id, text, or content-desc. Finds the element in the UI tree and taps its center.
type_textType text into the currently focused input field
wait_for_elementWait for a UI element to appear on screen. Polls every 500ms.
Public scan report
scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 193 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Android compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,273 servers
- Tools
- 21
- the typical server has 7
- Tools that change things
- 5%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 70
- more than 95% of 28,534 servers
- Downloads a week
- 182
- more than 74% of 11,915 servers with a package
What its tools let an agent do: 18 read · 1 change · 2 run or deploy
Install Android in Claude Code, Cursor or VS Code
Runs npx -y android-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add android -- npx -y android-mcp-server
What the publisher says
From the Android repository's README, as published. We do not edit it. Read it on GitHub
Android MCP Server
MCP server for controlling Android emulators and devices via ADB. Gives AI assistants the ability to see, interact with, and debug Android apps — taking screenshots, tapping elements, reading logs, and documenting bugs.
npm Package | GitHub | Issues
^ Sped up for better viewing. More demos and test cases.
Features
- 25 tools for complete Android device control
- Screenshot capture with intelligent compression (Sharp-based, max 1280px)
- UI tree inspection — read element hierarchy with bounds, text, resource IDs, and state
- Touch automation — tap, swipe, scroll, type text, press hardware keys
- Element targeting — find and tap elements by resource-id, text, or content-desc
- App lifecycle — install APKs, launch apps, inspect current activity
- Logcat integration — filter by package, log level, or timestamp
- Device management — list devices, start emulators, get device info
- Compound actions — tapandwait combines tap + settle + UI tree in one round trip
- Persistent ADB shell — reuses a single shell session for faster command execution
- Device info caching — queries device properties once per session
- Multi-device support — target specific devices by ID
Prerequisites
- Node.js 18+
- Android SDK with platform-tools (ADB) and emulator
- A running Android emulator or connected device
Finding your ANDROID_HOME
The server auto-discovers the SDK at ~/Library/Android/sdk (macOS) or via ANDROIDHOME. If your SDK is elsewhere, set ANDROIDHOME in the MCP config (see below).
To check:
# macOS
ls ~/Library/Android/sdk/platform-tools/adb
# Or find it via Android Studio: Settings > Languages & Frameworks > Android SDKSetup
Claude Code
claude mcp add --scope user android -- npx -y android-mcp-serverThis registers the server globally so it's available in all projects. Use --scope project instead to limit it to the current project.
If your SDK is not in the default location:
claude mcp add --scope user --env ANDROID_HOME=/path/to/sdk android -- npx -y android-mcp-serverClaude Desktop
Add to your Claude Desktop config file:
- macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json
- Windows: %APPDATA%\Claude\claudedesktopconfig.json
{
"mcpServers": {
"android": {
"command": "npx",
"args": ["-y", "android-mcp-server"],
"env": {
"ANDROID_HOME": "/path/to/android/sdk"
}
}
}
}VS Code
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Android: common questions
- Is Android MCP server safe?
- Mostly: it is graded B (75/100). Read the Android safety report
- How do I install Android?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Android need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Android maintained?
- The last commit was 229 days ago (2026-03-18). The latest release is v1.2.1.
- What can I use instead of Android?
- Servers from other publishers that do the same job: Mobilerun MCP server and MCP Appium - Mobile Development and Automation Server MCP server.
- How does Android compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,273 servers); tools 21 (the typical server has 7); tools that change things 5% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Android
Same job from other publishers: the closest match first, then the best rated.
- MobilerunLet AI agents control Android and iOS devices on Mobilerun Cloud: screen, input, apps, workflows.not reviewedEstablishedA
- MCP Appium - Mobile Development and Automation ServerMCP server for Appium mobile automation on iOS and Android devices with test creation tools.not reviewedEstablishedA