# DroidAgentKit

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/iVamsi/droid-agent-kit  
**GitHub Stars:** 1  
**npm Downloads (last month):** 480  
**Views:** 7  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/droidagentkit

## Description
Local-first Android development MCP: Gradle, adb, logcat, lint, crash triage, Perfetto, visuals.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "droidagentkit": {
    "command": "npx",
    "args": ["-y","@droidagentkit/launcher"]
  }
}
```

## Documentation

## 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:

```bash
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.

_Full upstream README: https://allmcps.com/mcp/droidagentkit/readme_

