Local-first Android development MCP: Gradle, adb, logcat, lint, crash triage, Perfetto, visuals.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Give your AI coding agent real Android tools β Gradle, adb, logcat, lint, crash triage β through a local, permissioned MCP server instead of raw shell access.
DroidAgentKit helps you work on Android projects with AI agents. It runs on your machine, talks to your Gradle tree and (when you allow it) your emulator or device, and gives agents structured answers instead of raw shell output.
Android-first, deliberately. Cross-platform automation servers cover iOS too but stop at tapping the screen. DroidAgentKit goes the other way: deep into the Android build system and toolchain β Gradle task allowlists, lint, R8 crash triage, Perfetto traces, app storage, Compose visual regression. There is no iOS support and none planned.
Everything stays local. Commands go through allowlists. Output is redacted before it comes back to the agent. Artifacts land under build/droidagentkit by default.
Three pieces that work on their own or together:
MCP server β A Model Context Protocol server your agent can call. Inspect the project, run safe Gradle tasks, capture logs and screenshots, triage crashes, run lint, profile builds, and more. Optional groups add device diagnostics, bounded device control, Perfetto tracing, visual regression, read-only app storage inspection, and experimental emulator network capture.
Readiness auditor β Scores how agent-friendly your repo is, lists risks, and can generate AGENTS.md, a project skill file, and a starter .droidagentkit/config.yaml. Use --redact-public when you need a share-safe report.
Visual regression kit β Pixel-diff reports for Compose/UI captures, a Gradle plugin, and a JUnit rule. MCP tools can diff goldens, generate reports, and update goldens when you explicitly confirm.
The core group is on by default (18 tools): project inspect, allowlisted Gradle runs, device list, install/launch, logcat, screenshot, accessibility snapshot, report bundle, lint, crash triage, dependency check, build performance, test run, build diagnose, APK size analysis, UI element lookup, and android_doctor (an environment preflight you can run when something fails for no obvious reason).
Turn on more by exposing tool groups when you start the server (see security model):
| Group | What it adds |
|---|---|
device_read | Permission audit, dumpsys summaries, memory/battery, bugreport, streaming logcat jobs |
device_control | Emulator control, app uninstall/clear, intents, permissions, tap/swipe/type, tap-by-label, file push/pull, small action flows, flow recording |
perfetto | Trace capture and Trace Processor analysis (jank, CPU, contention, binder latency, β¦) |
visuals | Pixel diff, visual report, golden updates |
storage | Read-only SQLite, SharedPreferences, and file tree for debuggable apps |
network_experimental | Emulator-only mitmproxy capture + redacted HAR query (requires your own debug CA) |
Dangerous actions (uninstall, clear data, proxy install, golden overwrite, β¦) need the right capability in config and confirmDestructive=true on the call. The capability is the real boundary β confirmDestructive guards against an accidental call, not a hostile one, since the agent supplies it. See the threat model.
Report bundles include a capability summary: which groups are exposed, which capabilities are enabled, and what you still need installed (adb, trace processor, mitmproxy, β¦). That summary is informational β it does not change your readiness score.
Full tool list and capability IDs: docs/security-and-permissions.md.
Prerequisites: Node 18+ (install-time only for the launcher). A JDK 17+ is used if you have
one β on PATH, in JAVA_HOME, or named by DROIDAGENT_JAVA β and otherwise a pinned Eclipse
Temurin JRE is downloaded once, SHA-256 verified, and cached under ~/.droidagentkit/jre.
Optional: Android adb / platform-tools for device tools; set ANDROID_HOME or configure
adbPath in the user policy (~/.droidagentkit/policy.yaml). Run doctor to check all of this.
The @droidagentkit/launcher npm package downloads and caches the matching droidagent-cli jar from
GitHub Releases the first time it runs,
verifying its SHA-256 before executing it.
Run it bare to start the MCP server, or pass any CLI command straight through:
Point your agent's MCP config at it directly, e.g. for Claude Code:
Or install with one click:
Every release also attaches an .mcpb bundle. Drop it into an MCP host that supports one-click
install and the server registers itself. The bundle carries the launcher only β the JVM server, and
a verified Temurin JRE if you have no JDK, are fetched on first run β so the download is ~10 KB
rather than ~160 MB.
If you're contributing, or want to run a version that isn't released yet:
Register it once for your agent (Codex, Claude Code, Cursor, Zed, VS Code, Android Studio, β¦).
Preview without writing files with install-mcp --dry-run. For Android Studio across many
projects under one folder:
Details and per-host config paths: docs/easy-mcp-installation.md.
Security model + full tool tables: docs/security-and-permissions.md.
CLI reference + troubleshooting: docs/cli-reference.md, docs/troubleshooting.md.
After install-mcp, open an Android project and ask things like:
storage + app_data_read enabled)perfetto enabled)device_control enabled)You describe the goal; the agent picks tools from the list it was given at startup.
droidagent serve-mcp --transport stdio --project auto (or talks to the localhost HTTP endpoint Android Studio uses on macOS).initialize, then tools/list).android_* tools via tools/call. You don't call them by hand.--project auto resolves the active project from CLAUDE_PROJECT_DIR, CODEX_WORKSPACE /
CODEX_PROJECT_DIR, GEMINI_PROJECT_DIR / GEMINI_WORKSPACE, CURSOR_PROJECT_DIR /
CURSOR_WORKSPACE, PWD, then cwd β one user-wide install, many projects.Optional resources and workflow prompts are available on nonβAndroid Studio hosts. Tool listings include hints like readOnlyHint and destructiveHint where relevant.
Run droidagent --help or droidagent <command> --help for flags.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/droidagentkit)<a href="https://allmcps.com/mcp/droidagentkit"><img src="https://allmcps.com/api/badge/droidagentkit?style=directory" alt="DroidAgentKit on AllMCPs" /></a>