Androidbuild MCP Server

Build, deploy, drive and debug Android apps: Gradle, emulators, adb, logcat, UI automation

Local serverstdio

What is the Androidbuild MCP server?

Androidbuild MCP server exists for a simple reason — assistants are far more useful when they can act on Androidbuild directly instead of describing what you should do. Build, deploy, drive and debug Android apps: Gradle, emulators, adb, logcat, UI automation.

What you get

Give your AI agent hands on Android. AndroidBuildMCP is an MCP server that lets any MCP client (Claude Code, Cursor, ...) build, deploy, drive and debug real Android apps: Gradle builds with readable errors, emulator management, adb deployment, logcat capture and full UI automation.

What the assistant can call

Once Androidbuild is connected, these are the calls the assistant has available:

  • Deploy — build_run compiles, installs and launches in one call. Install/uninstall/clear-data/app-info via adb, with the right device auto-selected when only
  • Text — heavy screens (e-book WebViews and the like) are capped and searchable with snapshot_ui { filter } instead of flooding the context
  • doctor — Check SDK, adb, emulator, avdmanager, Java and connected devices; reports what is missing
  • discover_projects — Find Android/Gradle projects under a path
  • list_modules — List modules declared in settings.gradle(.kts)
  • list_variants — List build variants of a module
  • get_app_id — Read the applicationId of a module
  • show_gradle_config — Show Gradle, AGP, Kotlin and version-catalog entries
  • session_set_defaults — Set default project, module, variant, serial and appId for all later calls
  • session_show_defaults — Show the current defaults
  • session_clear_defaults — Clear all defaults, or only the listed keys
  • build_app — Build an APK; returns compact file:line compiler errors

Setting it up

@asjackson/androidbuild-mcp on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Androidbuild's toolset — Deploy, Text, doctor and 11 more — is a fair guide to whether it matches your workflow. It is maintained by dev-jackson; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Androidbuild.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the androidbuild mcp server does with a few real requests.

Available tools

ToolWhat it does
Deploybuild_run compiles, installs and launches in one call. Install/uninstall/clear-data/app-info via adb, with the right device auto-selected when only one is connected.
Textheavy screens (e-book WebViews and the like) are capped and searchable with snapshot_ui { filter } instead of flooding the context.
doctorCheck SDK, adb, emulator, avdmanager, Java and connected devices; reports what is missing
discover_projectsFind Android/Gradle projects under a path
list_modulesList modules declared in settings.gradle(.kts)
list_variantsList build variants of a module
get_app_idRead the applicationId of a module
show_gradle_configShow Gradle, AGP, Kotlin and version-catalog entries
session_set_defaultsSet default project, module, variant, serial and appId for all later calls
session_show_defaultsShow the current defaults
session_clear_defaultsClear all defaults, or only the listed keys
build_appBuild an APK; returns compact file:line compiler errors
build_runBuild, install and launch in one call
test_appRun JVM unit tests with a parsed pass/fail summary

How to install the Androidbuild MCP server

**Any other MCP client**

```json
{
  "mcpServers": {
    "androidbuild": {
      "command": "npx",
      "args": ["-y", "@asjackson/androidbuild-mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Androidbuild to Deploy.
  • Use Androidbuild to Text.
  • Use Androidbuild to doctor.

Frequently asked questions

It connects Androidbuild to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Deploy, Text, doctor, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Androidbuild directly.