Skip to content
MCP server

AndroidMCP Framework

Build, run and test Android and Flutter apps from a coding agent

Runs locally

AndroidMCP Framework is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
What it can do
Can change data (4 tools)
Version
0.1.12
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add androidmcp-framework -- npx -y androidmcp-framework

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "androidmcp-framework": {
      "command": "npx",
      "args": [
        "-y",
        "androidmcp-framework"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "androidmcp-framework": {
      "command": "npx",
      "args": [
        "-y",
        "androidmcp-framework"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "androidmcp-framework": {
      "command": "npx",
      "args": [
        "-y",
        "androidmcp-framework"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "androidmcp-framework": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "androidmcp-framework"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add androidmcp-framework -- npx -y androidmcp-framework

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.androidmcp-framework]
command = "npx"
args = ["-y", "androidmcp-framework"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "androidmcp-framework": {
      "command": "npx",
      "args": [
        "-y",
        "androidmcp-framework"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "androidmcp-framework": {
          "command": "npx",
          "args": [
            "-y",
            "androidmcp-framework"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user androidmcp-framework npx -- -y androidmcp-framework

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "androidmcp-framework": {
          "command": "npx",
          "args": [
            "-y",
            "androidmcp-framework"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "androidmcp-framework": {
          "command": "npx",
          "args": [
            "-y",
            "androidmcp-framework"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "androidmcp-framework": {
          "command": "npx",
          "args": [
            "-y",
            "androidmcp-framework"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "androidmcp-framework": {
          "command": "npx",
          "args": [
            "-y",
            "androidmcp-framework"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "androidmcp-framework": {
          "command": "npx",
          "args": [
            "-y",
            "androidmcp-framework"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "androidmcp-framework": {
          "command": "npx",
          "args": [
            "-y",
            "androidmcp-framework"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "androidmcp-framework": {
          "command": "npx",
          "args": [
            "-y",
            "androidmcp-framework"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About AndroidMCP Framework

This server drives the Android toolchain through adb, so a coding agent can build, install and launch an app on an emulator or a physical device, then inspect it. UI automation is plain TypeScript plus platform-tools, with no Python runtime. When no target is named, it tries an explicit target, then the session default, then the single connected device.

The larger half is a change-aware testing workflow. It analyses native Android and Flutter workspaces, saves test cases, audits screens and writes timestamped Markdown and JSON reports. It can plan a run from Git changes without executing anything, keeps candidate, approved and executed states separate, and falls back to a broad regression when changed files are not mapped to tests.

It speaks stdio only, so Android Studio's HTTP-only MCP client cannot use it yet. setup writes a project config and a skill file for the agent you use, and the CLI is also available as amf.

Tools this server provides (15)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 4 of 15 tools change data; 7 names don't say.

From the server's own tool labels and tool names; not verified by us.

analyze_test_projectName suggests: reads
Analyses a native Android or Flutter workspace for testing.
audit_screen
Audits a screen as part of the testing workflow.
save_test_case
Saves a test case definition.
write_test_reportName suggests: changes
Writes a timestamped test report.
test_device
Runs Flutter unit, widget or device integration tests.
screenshot
Saves a screenshot and returns its path.
snapshot_ui
Saves the full accessibility tree and returns a summary.
run_unified_test_runName suggests: changes
Coordinates native, Flutter and saved UI suites under one resumable run.
plan_change_aware_test_run
Builds a reviewable plan from Git changes without running tests.
validate_test_evidence_bundleName suggests: reads
Checks reports for freshness, Git HEAD match and passing outcomes.
inspect_test_runtimeName suggests: reads
Read-only overview of config, locks, manifests and the latest report.
analyze_test_qualityName suggests: reads
Combines test inventory, coverage and flaky-test signals in one report.
evaluate_test_quality_gate
Applies coverage thresholds and baseline regression policy.
run_test_suite_matrixName suggests: changes
Previews or runs selected Flutter and Gradle suites.
approve_selector_repairName suggests: changes
Validates and applies an approved selector fix with backup and audit.

What it does

Device control
Build, install and launch apps on emulators and physical devices through adb.
Semantic UI automation
Take screenshots and accessibility-tree snapshots saved under the project.
Change-aware test plans
Map Git changes to saved test cases and flag unmapped files.
Test evidence checks
Validate reports for freshness, matching Git HEAD and passing suites.
Selector repair
Propose a new selector, require approval, back up and audit the change.
Agent skill generation
Write a project-local skill for Claude Code, Codex, Cursor and others.

Good for

  • Let an agent launch the app and check a screen after a change
  • Plan which tests to run for a Git diff
  • Gather crash and logcat evidence from a device
  • Run Flutter unit and device integration tests from the agent

Pricing

Open source

MIT licence

AndroidMCP Framework FAQ

Does AndroidMCP Framework support HTTP?

No, stdio only; streamable HTTP is not implemented yet.

Which coding agents are supported?

Claude Code, Codex, Gemini CLI, Antigravity, Cursor, GitHub Copilot and a generic agent.

Do I need Python?

No, the Python uiautomator2 bridge was removed.

What licence?

MIT.

Is AndroidMCP Framework free?

Yes. AndroidMCP Framework is open source, so you can use and self-host it for free.

How do I add AndroidMCP Framework to Claude Code?

Run this command in your terminal: claude mcp add androidmcp-framework -- npx -y androidmcp-framework

What are the best alternatives to AndroidMCP Framework?

The closest alternatives to AndroidMCP Framework are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers