Best for
- Developers and testers who need AI agents to operate Android phones or emulators.
- Teams automating the iOS Simulator or configured iPhones and iPads from a Mac.
- Engineers who want to save and repeat mobile workflows.
Static review · not runReviewed 2026-12-04
FMRS 60/100 · C · Weakest Reliability 9/20 — Read the FMRS scoring method →
Runtime:Node.js
PHONEDRIVER_SECRET_1
Supplies a secret value when replaying a step that used secret input; this variable name is shown as an example.
PHONEDRIVER_DEVICE
Selects the default device; use phonedriver devices to see device IDs.
PHONEDRIVER_DISPLAY
Set to hidden on Android 13 or later to let the agent use a hidden display.
PHONEDRIVER_SIM_SECRET_KEYS
Set to 1 to type web page passwords as keys on an iOS Simulator.
PHONEDRIVER_GUARD
Set to off to disable the payment and account deletion confirmation check.
PHONEDRIVER_ASK
Set to send, delete, or install to add confirmation prompts for those action categories.
PHONEDRIVER_APP_SCOPE
Names an app package to limit the agent's reads and taps to that app; this is not a security sandbox.
PHONEDRIVER_DENY_DEVICES
Identifies devices the agent must not access.
PHONEDRIVER_IOS_TIER
Set to coredevice to use the no-install CoreDevice tier on iOS 27.
Run npx -y phonedriver start in an environment with Node.js to start and configure it. To register the MCP server, run claude mcp add phonedriver -- npx -y phonedriver mcp, or add {"command":"npx","args":["-y","phonedriver","mcp"]} to the MCP client configuration. Android requires adb; a physical device requires USB debugging. The iOS Simulator requires a Mac and Xcode. Using a physical iPhone or iPad requires additional developer tooling and signing setup.
{"mcpServers":{"phonedriver":{"command":"npx","args":["-y","phonedriver","mcp"]}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"phonedriver": {
"command": "npx",
"args": [
"-y",
"phonedriver",
"mcp"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.phonedriver] command = "npx" args = ["-y", "phonedriver", "mcp"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add phonedriver -- npx -y phonedriver mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm phonedriver tools appear in your MCP client's tool list. Call devices to list connected devices, or snapshot to read a device screen and confirm the connection works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
phonedriver is an MCP server over stdio and a CLI that lets AI agents read phone screens as text and control Android phones and emulators, the iOS Simulator, and configured iPhones and iPads. Its capabilities include device and app discovery, screen reading, touch and text input, settings, logs, and replaying saved steps. By default, taps on buttons for payments, purchases, orders, subscriptions, or account deletion require human approval. In clients that cannot display an approval prompt, the agent must ask the user in chat.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 2dec0cf0f2f5 Data synced 2026-12-05 Read the FMRS scoring method Markdown