AndroidMCP Framework
MCP server and CLI for Android development and change-aware Android and Flutter testing workflows.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
androidmcp-frameworkclaude mcp add androidmcp-framework -- npx -y androidmcp-framework@0.1.12 mcp
{
"mcpServers": {
"androidmcp-framework": {
"command": "npx",
"args": [
"-y",
"androidmcp-framework@0.1.12",
"mcp"
]
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
AndroidMCP Framework
A Model Context Protocol (MCP) server and CLI that gives coding agents Android development capabilities: build, install, and launch on emulators and physical devices; semantic UI automation; logcat/crash diagnostics; project discovery; change-aware testing intelligence.
66 tools across 12 workflows. Five are enabled by default (device, ui-automation, session-management, doctor, workflow-discovery); the rest are opt-in - see workflow docs.
Install
npm install -g androidmcp-framework@latest
androidmcp-framework doctor
Or run on demand with no global install: npx -y androidmcp-framework@latest mcp.
Connect an MCP client
{
"mcpServers": {
"androidmcp-framework": {
"command": "npx",
"args": ["-y", "androidmcp-framework@latest", "mcp"]
}
}
}
See coding agent setup for Claude Code, Codex, Gemini CLI, Antigravity, and VS Code/GitHub Copilot instructions. Android Studio's documented MCP client requires HTTP, while this server currently exposes stdio only; see supported clients.
Initialize an app project
From the Android or Flutter repository root:
androidmcp-framework setup
This creates .androidmcp-framework/config.yaml. If existing data remains under .android-build-mcp/ or .androidbuildmcp/, inspect it and run androidmcp-framework setup --migrate to copy files without overwriting existing content. The old directory is not deleted automatically.
All project-specific framework data is kept inside .androidmcp-framework/. Screenshots, saved UI hierarchy JSON, screen recordings, and bug-report archives are organized under .androidmcp-framework/artifacts/; test-case definitions and timestamped test reports remain in their dedicated testcases/ and test-reports/ directories. Generated artifacts are local outputs and are ignored by Git by default.
Local checkout config
Build with npm ci && npm run build, then configure the MCP client to launch the built entry point build/cli/index.js mcp. Use an absolute path to your own checkout; do not copy machine-specific paths from examples.
How it's built
- UI automation: JavaScript/TypeScript plus Android SDK platform-tools (
adb) only. The optional Pythonuiautomator2bridge has been removed; no Python runtime orscripts/directory is required. - Device targeting: emulators and physical devices are unified through ADB. Explicit target, session default, then single connected target are tried in that order.
- MCP transport: stdio for local coding agents. Streamable HTTP is not implemented yet.
- Tools: one TypeScript module per tool under
src/tools/<workflow>/.
Development
npm ci
npm run build
npm run typecheck
npm test
TypeScript compiles from src/ to generated build/. Do not commit generated build/ or stale dist/ output.
Testing framework
The testing-intelligence workflow analyzes Native Android and Flutter projects, saves custom instructions and test cases, and writes timestamped Markdown/JSON reports under .androidmcp-framework/test-reports/YYYY-MM-DD/HHmmss/. It does not yet claim fully autonomous end-to-end test generation/execution; see Testing Framework.
License
MIT
Questions fréquentes
Qu'est-ce que AndroidMCP Framework ?
MCP server and CLI for Android development and change-aware Android and Flutter testing workflows.
Comment installer AndroidMCP Framework ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add androidmcp-framework -- npx -y androidmcp-framework@0.1.12 mcp. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour AndroidMCP Framework ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
AndroidMCP Framework est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient AndroidMCP Framework ?
Il est publié par kshivam1177. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.