Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

Droid Agent

@hyusbandRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

Give AI agents hands on a real Android device over stock adb — no on-device install

Computer controlv0.2.0MITPython
Freeno charge per call

Runs on your machine from its package; the steps are below.

demo
From the README

What it does

  1. Reads
  2. Writes
  3. High impact

At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

PyPIdroid-agentv0.2.0

Run

uvx droid-agent

MCP client config

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

🤖 droid-agent

Give any AI agent hands on a real Android device — zero install on the phone.

dump a screen → get numbered interactive elements → tap 3. That's it.

CI PyPI Python License: MIT hyusband/droid-agent MCP server

demo

Why

Every other Android-agent tool makes you install something on the phone first — an Appium server, a companion APK, an accessibility service. droid-agent needs nothing on the device. Just adb, which you already have:

  • 🔢 browser-use for Android — dump distills the uiautomator tree into a short numbered list of actionable refs, not a 500-line XML blob
  • 📦 zero dependencies — pure stdlib, installs in <1s, works offline
  • 🤖 agent-first — every command has --json; ships a built-in MCP server
  • 📱 anything with adb — real phones, emulators, Android TVs, Android Auto, WSA, even Android-x86 VMs

Install

bash
pipx install droid-agent          # recommended
# or: pip install droid-agent

pipx install 'droid-agent[mcp]'   # + MCP server for Claude Code / Cursor / Devin

Prerequisite: platform-tools (adb) on your PATH, and a device with USB or wireless debugging enabled.

60-second tour

bash
droid-agent devices                 # what's attached
droid-agent connect 192.168.1.42    # wireless adb (or just plug USB)
droid-agent dump                    # see the screen the way an agent does

Real output, straight off a POCO F5:

text
[ 1] ()    Search settings                                  ( 540, 497)
[ 2] |||   recyclerview                                     ( 540,1487)
[ 3] ()    About phone                                      ( 540, 663)
[ 4] ()    System apps updater                              ( 540, 817)
[ 5] ()    Security status                                  ( 540, 971)
[ 6] ()    Wi-Fi                                            ( 540,1159)
[ 7] ()    Bluetooth                                        ( 540,1313)
[ 8] ()    Mobile networks                                  ( 540,1467)
[ 9] ()    Interconnectivity                                ( 540,1621)

15 elements · tap with `droid-agent tap <ref>`
bash
droid-agent tap 3                   # taps "About phone"
droid-agent type "me@x.com"         # types into the focused field
droid-agent swipe up                # scroll the list
droid-agent key back                # keyevents by name
droid-agent open com.whatsapp       # launch any app
droid-agent screenshot shot.png     # PNG capture
droid-agent state                   # foreground app, screen on/off, size

For agents, everything is one flag away from JSON: droid-agent --json dump.

Use it with your agent (MCP)

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

33 tools exposed — the primitives (tap, swipe, key, dump_ui, shell) plus compound workflows that save agent round-trips: tap_text ("tap the Allow button" in one call), type_into (tap field + type), wait_for / scroll_until (dynamic waits), find (query the UI tree), read_screen (read every visible text), unlock (wake + dismiss lockscreens), narrate (talk to whoever runs droid-agent watch), screenshot (real image content for vision), logcat, install/uninstall, and file push/pull. A built-in android_task prompt teaches any agent the dump → act → verify loop.

Also listed in the official MCP Registry as io.github.hyusband/droid-agent. Run droid-agent mcp --safe to hide the destructive tool subset — see Security.

Commands

CommandWhat it does
deviceslist attached devices + state
connect / pair / disconnectwireless adb (Android 11+ pairing supported)
dumpnumbered interactive elements → ~/.droid-agent/session.json
tap <ref|x,y> / long-presstouch by ref from last dump, or raw coords
type <text>input text (spaces handled) into focused field
swipe up|down|left|right or x1 y1 x2 y2scroll / gestures
key back|home|enter|tab|del|power…keyevents by name
open / close / install / uninstallapp lifecycle
screenshot / statePNG capture · foreground app + screen info
readevery visible text node on screen
unlockwake screen + dismiss lockscreen (--pin for secure locks)
watchlive browser mirror: video + agent action overlay
shell <cmd>raw adb escape hatch
mcpstdio MCP server

Watch the agent live

text
droid-agent watch        # → http://127.0.0.1:8765

A live browser mirror of the phone — the device's own hardware h264 encoder (screenrecord, stock since Android 4.4) streamed into the page at ~30fps and decoded by vendored jmuxer/MSE, with automatic MJPEG screencap fallback when a device won't cooperate. Still zero install — on the device or in Python.

Every action the agent takes is drawn on top in real time — tap ripples, swipe arrows, an action ticker, screenshot flashes — fed by ~/.droid-agent/events.jsonl, which every CLI and MCP action appends to. Agents can call the narrate tool to speak a one-liner to the viewer ("Looking for the login button").

Flags: --port, --host (binds localhost by default — the page shows your live screen; don't expose it), --mjpeg (force the fallback), --no-open.

How it compares

droid-agentdroidrun/mobilerunmobile-mcpAppium
On-device installnonePortal APK + accessibility svcAppium driverAppium server + settings app
Time to first tapsecondsminutesminutes~30 min
What it isprimitive layerfull agent frameworkMCP bridgetest framework
Deps0 (stdlib)LLM SDKs, uv, portalnode, appiumjava/node stack
LLM couplingnone — BYO agentbuilt-in providersnonenone

Different tool for a different job: they're agent frameworks; this is the curl of Android control — a primitive layer any agent (or human) can call.

Agent workflow pattern

text
dump → read refs → tap/type → wait → dump → verify → repeat

The dump warns when refs are >120s old (the UI may have moved). tap on a missing ref tells you to re-dump instead of tapping blind.

Security

This is a remote-control tool: by design the tool surface gives an agent full hands on a live device (shell, install, push_file, UI gestures). Treat everything the device returns as untrusted data — a malicious app can write prompt-looking text into labels, logs, or the screen itself (indirect prompt injection).

Built-in mitigations:

  • Password masking — password="true" fields are stripped from dumps and never reach session.json
  • Injection scrubbing — invisible Unicode (zero-width, bidi overrides) is stripped from labels/text/desc, so instructions hidden from the eye can't reach the model
  • Tool tiers — droid-agent mcp --safe drops destructive tools; --readonly registers observe-only tools; --confirm gates destructive ops behind a one-time code printed to stderr (env: DROID_AGENT_SAFE, DROID_AGENT_READONLY, DROID_AGENT_CONFIRM)
  • Typed text is never logged — the watch event feed records a char count + target label, not content; and the page binds 127.0.0.1 only

Independent scans: Glama · m8ven · mcprush

Report vulnerabilities via GitHub private reporting — see SECURITY.md.

FAQ

Does it need root? No — just USB/wireless debugging enabled.

iOS? No. Use iphone-cli — this one is Android-only by design.

Passwords? Elements flagged password="true" are masked in dumps and never persisted to the session file.

CI? Point it at an emulator (emulator-5554) — same interface, --json for parsing.

Contributing

See CONTRIBUTING.md. Bug reports and false-positive element-detection reports especially welcome — attach droid-agent dump --json plus a screenshot.

License

MIT — see LICENSE.


If this saved you a setup afternoon — drop a ⭐

Similar modules

Browse Computer control