Androidbuild MCP logo

Androidbuild MCP

Build, test, deploy, automate, and debug Android apps through Gradle, adb, emulators, UI controls, and logs.

Install Androidbuild MCP

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": {
    "androidbuild-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@asjackson/androidbuild-mcp"
      ],
      "env": {
        "ANDROID_HOME": "YOUR_VALUE_HERE"
      }
    }
  }
}

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

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env ANDROID_HOME=YOUR_VALUE_HERE --transport stdio androidbuild-mcp -- npx -y @asjackson/androidbuild-mcp

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

Automated check passed— started and listed 53 tools correctly ().

Overview

The androidbuild-mcp MCP server connects AI agents to Android SDK tools, Gradle projects, emulators, adb, logcat, and UI automation. It exposes tools for project discovery, builds, tests, lint, coverage, APK installation, emulator control, screen interaction, and diagnostics over stdio. Session defaults let an agent reuse a selected project, module, variant, device serial, and application ID across calls. Reach for it when an agent needs to build or exercise a real Android app rather than only edit source files.

Use cases

  • Build and launch an Android module on an emulator
  • Run unit, instrumented, lint, and coverage checks
  • Inspect and automate an app's visible UI
  • Capture logcat output and crash information
  • Create and manage Android virtual devices

Key features

  • Gradle builds with compact compiler errors
  • APK installation and application lifecycle control
  • AVD creation, boot, configuration, and shutdown
  • UI inspection, interaction, screenshots, and recording
  • Logcat, crash-buffer, and background log capture
  • Kover or JaCoCo coverage summaries

Tools53

What Androidbuild MCP lets your agent do. Expand a tool for its parameters.

Verified live~6.4k tokens of context

Security & health

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

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 84d

What it can do

From the 53 tools this server returned when we ran it; 28 declare their own safety hints.

Can delete or modify data · 3Makes changes · 4Read-only tools · 46
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age129 days
Maintainers1

Observed 2026-12-05 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @asjackson/androidbuild-mcp (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads335Package downloads in the last 30 days.
Last commit4mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed53Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Androidbuild MCP works

What the androidbuild-mcp MCP server does

The androidbuild-mcp MCP server gives an MCP client a structured interface for Android development workflows. It can inspect Gradle projects, identify modules and variants, read application IDs, review Gradle configuration, and check whether the local SDK, Java, adb, emulator tooling, and connected devices are available.

Build and quality workflows include APK compilation, combined build-install-launch operations, JVM unit tests, instrumented tests, Android Lint, Gradle cleaning, APK discovery, daemon shutdown, and Kover or JaCoCo coverage summaries. Coverage can also be inspected at the source-file level. Build failures are returned in a compact form with file and line information.

The server also covers device and app lifecycle tasks. Agents can list devices and AVDs, create or remove AVDs, boot an emulator until it is ready, stop it, change emulator location or appearance, and prepare the status bar for demonstrations. APKs can be installed with adb, while apps can be launched, stopped, uninstalled, reset, or inspected.

How it works

The androidbuild-mcp MCP server runs as a stdio MCP process. The documented quick-start path uses npx -y @asjackson/androidbuild-mcp, so a separate package installation is not required for the first run. It can also be built from a cloned source tree and started from its generated dist/index.js file.

A client can establish session defaults for the project path, module, build variant, device serial, and application ID. Later calls can use those defaults instead of repeating the same values; the defaults can be displayed or cleared when the workflow changes.

UI automation uses adb-backed actions such as taps, swipes, scrolling, dragging, long presses, text entry, key presses, and waits for visible elements. snapshot_ui reports named elements and device-pixel coordinates. Screenshots can optionally be annotated with numbered regions, and screen recordings can be started and stopped. Log tools provide filtered dumps, crash-buffer output, and background capture to a file.

Setup and configuration

The documented prerequisites are Node.js 18 or newer, an Android SDK installation, and JDK 17 or newer for Gradle builds. The SDK can be exposed through ANDROID_HOME or found in a default installation location. The server's doctor tool checks these dependencies along with adb, emulator tooling, and connected devices.

For Claude Code, add the server with claude mcp add androidbuild -- npx -y @asjackson/androidbuild-mcp. Other MCP clients can use a server entry whose command is npx and whose arguments are -y and @asjackson/androidbuild-mcp. Running from source requires cloning the repository, installing npm dependencies, building the project, and pointing the client at the resulting Node entry point.

Two optional extras are documented. Google's Android CLI enables annotated screenshots, and ADBKeyboard enables non-ASCII text input; the server uses that input method automatically after it is installed.

Tools and capabilities

The tool groups cover environment checks, project inspection, session state, building and testing, emulator management, application lifecycle, UI automation, logs, video recording, and project scaffolding. The scaffolding tool creates a minimal Compose project described as buildable out of the box.

Limitations and notes

The server depends on the local Android SDK, Java, Gradle project, adb, and available device or emulator state. Instrumented tests and UI actions require a usable target device. Screen recording is limited to three minutes. Raw screen coordinates can be distorted when a client scales an image, so named UI elements, annotated element numbers, or percentage coordinates are safer choices. Text-heavy screens may be capped when returned through UI inspection.

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 Androidbuild MCP

androidbuild-mcp is an MCP server that connects AI clients to Android SDK tools, Gradle projects, emulators, and adb. Its main tools build and test apps, manage devices, install and launch APKs, automate UI actions, inspect screens, and read logs or crash output through a stdio interface.

Use `npx -y @asjackson/androidbuild-mcp` in your MCP client configuration; no separate package installation is required. Claude Code can add it with `claude mcp add androidbuild -- npx -y @asjackson/androidbuild-mcp`. Node 18+, an Android SDK, and JDK 17+ are documented prerequisites.

Yes, androidbuild-mcp works with Cursor because it runs as a standard stdio MCP server. Add an MCP server entry using the `npx` command and the `-y @asjackson/androidbuild-mcp` arguments, then provide the required Android SDK and Java environment.

androidbuild-mcp provides tools for Gradle project inspection, APK builds, JVM and instrumented tests, lint, coverage, emulator management, adb app deployment, UI automation, screenshots, recordings, and log capture. Session defaults can retain the selected project, module, variant, device serial, and application ID.

You need Node.js 18 or newer, an Android SDK, and JDK 17 or newer for Gradle builds. The SDK may be located through `ANDROID_HOME` or a default installation path. The `doctor` tool checks SDK, adb, emulator, avdmanager, Java, and connected-device availability.

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 PreviewAndroidbuild MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/androidbuild-mcp?style=directory)](https://allmcps.com/mcp/androidbuild-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/androidbuild-mcp"><img src="https://allmcps.com/api/badge/androidbuild-mcp?style=directory" alt="Androidbuild MCP on AllMCPs" /></a>