Skip to content
MCP server

Droid Agent

MCP server giving AI agents tap, type and screenshot control of Android devices over adb

Runs locally
Install

Droid Agent is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Linux, macOS
Runs
Locally
Version
0.2.0
Listing updated

Similar MCP servers

Install

Run in a terminal

claude mcp add droid-agent -- uvx droid-agent

Add to claude_desktop_config.json

{
  "mcpServers": {
    "droid-agent": {
      "command": "uvx",
      "args": [
        "droid-agent"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "droid-agent": {
      "command": "uvx",
      "args": [
        "droid-agent"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "droid-agent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "droid-agent"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "droid-agent": {
      "command": "uvx",
      "args": [
        "droid-agent"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "droid-agent": {
      "command": "uvx",
      "args": [
        "droid-agent"
      ]
    }
  }
}

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

About Droid Agent

The README says droid-agent lets an AI agent operate a real Android phone, tablet, TV or emulator without installing anything on the device. It relies only on the stock adb tool already used for debugging, so the phone itself stays untouched.

The core idea is a dump command that turns the uiautomator screen tree into a short numbered list of interactive elements. An agent reads those refs and calls tap, type, swipe or key with a ref number instead of parsing raw XML. Elements flagged as passwords are masked in dumps and not written to the session file.

It ships as a Python package with no third-party dependencies and can also be used directly from a terminal with a --json flag on every command. The built-in MCP server exposes 29 tools, including compound actions such as tap by visible text and waiting for a condition. It suits developers wiring Android control into Claude Code, Cursor or similar clients, and people who want to script devices or run emulators in CI.

What it does

No on-device install
Works over stock adb with wireless or USB debugging, without a companion app or accessibility service on the phone.
Numbered element refs
The dump command condenses the UI tree into numbered, actionable elements that agents can tap by reference.
Built-in MCP server
A stdio MCP server exposes 29 tools for taps, swipes, key events, screenshots, logcat and file transfer.
JSON output for every command
Each command accepts a --json flag so agents and scripts can parse results reliably.
Password masking
Elements flagged as password fields are masked in dumps and never persisted to the session file.
Zero dependencies
Built on the Python standard library; the MCP extra is optional.

Good for

  • Letting an AI agent navigate settings or apps on a physical test phone
  • Automating repetitive taps and text entry on Android devices from scripts
  • Running Android UI checks against an emulator in continuous integration
  • Giving a coding assistant screenshots and UI state from a connected device
  • Driving Android TVs or Android Auto head units over adb for testing

Pricing

Open source

MIT licensed and free to use.

Droid Agent FAQ

Does Droid Agent need root access on the phone?

No. The README says only USB or wireless debugging needs to be enabled.

Does Droid Agent work with iPhones?

No. The README states it is Android-only and points to a separate iPhone tool.

How is Droid Agent installed?

With pipx or pip as droid-agent, with the mcp extra for the MCP server. adb must be on the PATH.

Is Droid Agent a full agent framework?

No. The README describes it as a primitive control layer that any agent or person can call, without bundled LLM providers.

Is Droid Agent free?

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

How do I add Droid Agent to Claude Code?

Run this command in your terminal: claude mcp add droid-agent -- uvx droid-agent

What are the best alternatives to Droid Agent?

The closest alternatives to Droid Agent are Droidline, adb-mcp: Android emulator and device control over adb, iPhone Use, Chrome DevTools MCP and Clousd MCP.

Where this comes from

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

How AIPoweredBot checks servers