android-use

v0.2.0
io.github.GhostFaceModz/android-use Checked 3 days ago Published 1 month ago

Let AI agents see and control an Android phone over ADB, with safety guards.

Values you need

VariableWhat it is
ADB_SERIALoptional Comma-separated allowlist of device serials (from `adb devices`). Recommended.
ALLOW_SHELLoptional Set to 1 to register the raw `shell` tool (off by default).
ALLOW_SENSITIVEoptional Set to 1 to disable the banking/payments/messaging app guard (off by default).
SENSITIVE_PACKAGESoptional Extra comma-separated package names to treat as sensitive.
RATE_LIMIT_PER_MINoptional Maximum tool calls per minute (default 120). Default: 120
ADB_PATHoptional Path to the adb binary if it is not on PATH.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add android-use -- npx -y @ghostfacemodz/android-use@0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "android-use": {
      "args": [
        "-y",
        "@ghostfacemodz/android-use@0.2.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "android-use": {
      "args": [
        "-y",
        "@ghostfacemodz/android-use@0.2.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "android-use": {
      "args": [
        "-y",
        "@ghostfacemodz/android-use@0.2.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.android-use]
command = "npx"
args = ["-y", "@ghostfacemodz/android-use@0.2.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_devices, connect_wifi, screenshot, get_screen_size, tap, swipe, long_press, type_text, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json