Android MCP
MCP server by web-infra-dev Verified · npm:@midscene
Midscene MCP Server automates Android devices and emulators through ADB, using vision models to read the screen. It is aimed at teams that want to write E2E tests from user journeys rather than DOM selectors.
Install Android MCP
Built from the published package, never by AI.
claude mcp add android-mcp -- npx -y @midscene/android-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"android-mcp": {
"args": [
"-y",
"@midscene/android-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"android-mcp": {
"args": [
"-y",
"@midscene/android-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"android-mcp": {
"args": [
"-y",
"@midscene/android-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add android-mcp -- npx -y @midscene/android-mcp{
"mcpServers": {
"android-mcp": {
"args": [
"-y",
"@midscene/android-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add android-mcp npx -y @midscene/android-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the android-mcp block.
About
Android MCP is listed as the Midscene MCP Server for Android automation. The source is the Midscene README, which describes a vision-driven E2E testing and GUI agent framework for web, mobile, and desktop. It says Midscene skips selector scripts and uses vision models to look at the screen, act on visible elements, and verify the rendered result. For Android, the source says it works with devices and emulators through ADB.
The framework is model-agnostic and can use providers such as Doubao Seed, Qwen, DeepSeek, Gemini, GPT, or any OpenAI-compatible endpoint. It offers the aiAct, aiTap, aiAssert, and aiWaitFor APIs, plus a separate YAML-based test framework called Midscene Test. The source says it suits QA and engineering teams that want to verify real user experience with AI-driven tests.
Written from the project's README and checked against it.
What you need
- An Android device or emulator connected through ADB
- A vision model from a supported provider or an OpenAI-compatible endpoint
Try asking
- Use Android MCP to search for headphones and filter results under $100.
- Check on the connected Android emulator that the search results are visible.
- Ask the Android device what the current price of the first item is.
Good to know
- The source is the general Midscene README and does not list this MCP server's tools.
- Cost figures in the source are estimates based on screenshot size and published model prices.
- Android support is through ADB devices and emulators as described in the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Run visual E2E tests on Android devices
- Automate Android app flows described as goals
- Check rendered Android screens with visual assertions
Alternatives to Android MCP
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Android MCP: common questions
Does Midscene Android use DOM selectors?
No. The source says Midscene uses vision models to look at the screen and act on what is visible, instead of translating intent into selector scripts.
Which platforms does Midscene support besides Android?
The source lists web through Playwright, Puppeteer, or desktop Chrome, iOS through WebDriverAgent, HarmonyOS through HDC, and desktop systems.
Which AI models can I use with Midscene?
The source says Midscene is model-agnostic and names Doubao Seed, Qwen, DeepSeek, Gemini, GPT, Kimi, and MiMo, plus any OpenAI-compatible or self-hosted endpoint.
How do I install Android MCP?
In Claude Code run claude mcp add android-mcp -- npx -y @midscene/android-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Android MCP the official server?
Android MCP is published by npm:@midscene from its verified domain in the official MCP Registry.
Is Android MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Android MCP safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Android MCP?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Android MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
