android-use
v0.2.0Let AI agents see and control an Android phone over ADB, with safety guards.
Values you need
| Variable | What it is | |
|---|---|---|
ADB_SERIAL | optional | Comma-separated allowlist of device serials (from `adb devices`). Recommended. |
ALLOW_SHELL | optional | Set to 1 to register the raw `shell` tool (off by default). |
ALLOW_SENSITIVE | optional | Set to 1 to disable the banking/payments/messaging app guard (off by default). |
SENSITIVE_PACKAGES | optional | Extra comma-separated package names to treat as sensitive. |
RATE_LIMIT_PER_MIN | optional | Maximum tool calls per minute (default 120). Default: 120 |
ADB_PATH | optional | 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.0Add 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_devices, connect_wifi, screenshot, get_screen_size, tap, swipe, long_press, type_text, ….
- 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