DroidAgentKit logo

DroidAgentKit

Local MCP tools for Android builds, devices, diagnostics, profiling, testing, and visual regression.

Install DroidAgentKit

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "droidagentkit": {
      "command": "npx",
      "args": [
        "-y",
        "@droidagentkit/launcher"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio droidagentkit -- npx -y @droidagentkit/launcher

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

DroidAgentKit exposes local Android development workflows through MCP, connecting an AI agent to a Gradle project and, when enabled, an emulator or device. Core tools cover project inspection, allowlisted Gradle tasks, tests, lint, logcat, screenshots, crash triage, APK analysis, and build diagnosis. Optional groups add device control, Perfetto tracing, visual diffs, read-only app storage inspection, and experimental emulator network capture. Reach for it when an agent needs structured Android tooling with local execution, permission controls, and redacted output rather than unrestricted shell access.

Use cases

  • Run allowlisted Gradle tasks and Android tests
  • Triage crashes from logcat and R8 mappings
  • Inspect APK size and build performance
  • Capture Perfetto traces and analyze frame jank
  • Compare UI screenshots with visual goldens

Key features

  • Local MCP access to Android Gradle projects
  • Allowlisted Gradle execution and diagnostics
  • Logcat, lint, crash triage, and test tools
  • Optional emulator and device control
  • Perfetto tracing and trace analysis
  • Visual regression and read-only app storage tools

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetLast checked

We have not completed a health check for this listing yet.

0/96 checks healthy over the last 25d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · @droidagentkit/launcher (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads480Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How DroidAgentKit works

What DroidAgentKit does

DroidAgentKit gives MCP-compatible coding agents a local interface to Android projects and development tooling. It works with the project’s Gradle tree and can communicate with an emulator or physical device when device access is enabled. The server returns structured results instead of passing raw shell output directly to the agent.

The default core group includes project inspection, approved Gradle execution, device discovery, app installation and launch, logcat collection, screenshots, accessibility snapshots, lint, crash triage, dependency checks, build-performance analysis, test execution, build diagnosis, APK size analysis, UI element lookup, report bundles, and an environment preflight called android_doctor.

Additional groups extend the server with device diagnostics, bounded device interaction, Perfetto capture and analysis, Compose or UI visual regression, read-only app data inspection, and experimental emulator network capture. The readiness auditor is a separate CLI capability that evaluates a repository, identifies risks, and can create AGENTS.md, a project skill file, and a starter configuration. The visual regression kit provides pixel-diff reports, a Gradle plugin, and a JUnit rule.

How it works

The launcher starts the MCP process over stdio with a command such as droidagent serve-mcp --transport stdio --project auto. The agent performs the MCP handshake, receives the available tool list, and calls the android_* tools as needed. Project auto-detection checks environment and workspace context before falling back to the current directory. Android Studio can also use the localhost HTTP endpoint described by the project.

The server runs locally. Commands pass through configured allowlists, and returned output is redacted. Artifacts are written under build/droidagentkit by default. Destructive operations require both the relevant configured capability and confirmDestructive=true; that confirmation is an accidental-call safeguard, not a protection against an agent that already has the capability.

Setup and configuration

The launcher requires Node.js 18 or newer at install time. A JDK 17 or newer can be supplied through PATH, JAVA_HOME, or DROIDAGENT_JAVA. Without one, the launcher downloads and caches a SHA-256-verified Eclipse Temurin JRE under ~/.droidagentkit/jre. Device features require Android adb and platform-tools; ANDROID_HOME or an adbPath entry in ~/.droidagentkit/policy.yaml can identify them.

Start the server with:

Terminal
npx -y @droidagentkit/launcher

Run doctor to check the environment, or initialize a profile such as device-control before enabling additional capabilities. The launcher downloads and verifies the matching CLI JAR on first use. Homebrew, source builds, and an .mcpb bundle are also available installation paths. The source-built CLI can register MCP configuration for hosts including Codex, Claude Code, Cursor, Zed, VS Code, and Android Studio.

Limitations and notes

DroidAgentKit is Android-focused and has no iOS support. Optional device, tracing, storage, and network features depend on their corresponding tools and permissions. Read-only storage inspection is limited to debuggable apps. Network capture is emulator-only, experimental, and requires a user-provided debug certificate authority. Golden updates, uninstalling apps, clearing data, proxy installation, and similar actions require explicit configuration and confirmation.

Capability summaries in report bundles describe exposed groups, enabled capabilities, and missing dependencies, but do not alter the readiness score. Release builds can be de-obfuscated during crash triage when an R8 mapping is available.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about DroidAgentKit

DroidAgentKit is an MCP server that connects AI coding agents to local Android Gradle projects and optionally emulators or devices. Its main tools cover project inspection, allowlisted Gradle tasks, tests, logcat, screenshots, lint, crash triage, APK analysis, and build diagnosis, with optional groups for profiling, control, storage, and visual regression.

Install it with `npx -y @droidagentkit/launcher`, then add that command to your MCP host or run the provided host installation command. The launcher fetches and verifies the matching CLI JAR on first use. Homebrew, source builds, and an `.mcpb` bundle are alternative installation paths.

Yes, DroidAgentKit works with Cursor. The project provides a Cursor installation link using the npm launcher command, and source builds can register MCP configuration for Cursor as well.

Initialize the `device-control` profile or expose the `device_control` group in configuration, and ensure Android `adb` and platform-tools are available. Destructive operations also require the matching capability and `confirmDestructive=true` on the call.

Yes, enabling the `perfetto` group provides trace capture and Trace Processor analysis for areas such as frame jank, CPU activity, contention, and binder latency. The required trace-processing dependency must also be installed and available to the server.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDroidAgentKit AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/droidagentkit?style=directory)](https://allmcps.com/mcp/droidagentkit)
HTML Embed
<a href="https://allmcps.com/mcp/droidagentkit"><img src="https://allmcps.com/api/badge/droidagentkit?style=directory" alt="DroidAgentKit on AllMCPs" /></a>