← Back to directory
P

phonedriver

Community
Let AI agents read and control Android and iOS devices.
Category
Dev Tools #89 of 751
Stars
★ 456 Very popular
Transport
stdio (local process)
Runtime
Node.js
Credentials
No credential needed
License
AGPL-3.0
Last commit
Tools
21

Static review · not runReviewed 2026-12-04

FMRS 60/100 · C · Weakest Reliability 9/20 — Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkChanges third-party account dataControls a browser

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.

Not for

  • Users who only need browser, cloud service, or desktop application automation.
  • Users who need to control an iPhone without configuring its developer tools.
  • Workflows that require bypassing a phone lock, entering its passcode, or passing Face ID or fingerprint checks on a real device.

Required permissions

  • Android requires adb; physical Android devices require USB debugging.
  • The iOS Simulator requires a Mac and Xcode; physical iOS devices require Developer Mode and setup to sign and install the XCTest runner.
  • Screen reading and device control can reach content that a user could access through the device screen; payment and account deletion buttons require approval by default.
  • Sensitive text should be entered with secret; it is kept out of logs and traces.

Risks and side effects

  • An agent can perform actions available to a user through touch; app scope is not a security sandbox.
  • Approval protection for payments, purchases, subscriptions, and account deletion relies on recognized button text; icon-only buttons or unsupported languages may not be detected. Users can configure autonomous operation or turn the guard off.
  • Screenshots may be black for apps that block screen capture.
  • A free Apple ID signature for a real iPhone lasts 7 days and must be renewed after it expires.

Setup

Before you start

Runtime:Node.js

PHONEDRIVER_SECRET_1 optionalsecret Supplies a secret value when replaying a step that used secret input; this variable name is shown as an example.
Other optional settings (8)
PHONEDRIVER_DEVICE optional Selects the default device; use phonedriver devices to see device IDs.
PHONEDRIVER_DISPLAY optional Set to hidden on Android 13 or later to let the agent use a hidden display.
PHONEDRIVER_SIM_SECRET_KEYS optional Set to 1 to type web page passwords as keys on an iOS Simulator.
PHONEDRIVER_GUARD optional Set to off to disable the payment and account deletion confirmation check.
PHONEDRIVER_ASK optional Set to send, delete, or install to add confirmation prompts for those action categories.
PHONEDRIVER_APP_SCOPE optional Names an app package to limit the agent's reads and taps to that app; this is not a security sandbox.
PHONEDRIVER_DENY_DEVICES optional Identifies devices the agent must not access.
PHONEDRIVER_IOS_TIER optional 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.

.mcp.json
{"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.

.vscode/mcp.json
{
  "servers": {
    "phonedriver": {
      "command": "npx",
      "args": [
        "-y",
        "phonedriver",
        "mcp"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.phonedriver]
command = "npx"
args = ["-y", "phonedriver", "mcp"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add phonedriver -- npx -y phonedriver mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

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.

Troubleshooting

  1. Run `phonedriver doctor` to check setup and `phonedriver devices` to see whether a device is available.
  2. For Android, check adb, USB debugging, and the device connection; for iOS, check Xcode on the Mac, device trust, Developer Mode, and runner signing.
  3. If the device is locked, unlock it manually; phonedriver does not enter the device passcode.
  4. If the client has no approval prompt interface, check chat for an operation waiting for user approval.

Things to try

Once connected, you can ask your AI assistant things like:

  • List the connected phones and read the current screen.
  • Open Settings, turn on Dark theme, and report what changed.
  • Test the signup form with invalid inputs and report steps to reproduce each bug.

Tools 21

devices read-only
List available devices.
apps read-only
List apps on a device.
snapshot read-only
Read the screen as text; can also read web page content.
screenshot read-only
Capture a screen image.
tap writes
Tap a screen element or a specified path.
type writes
Enter text; sensitive text must use secret.
swipe writes
Swipe the screen.
scroll writes
Scroll the screen.
Show 13 more tools
press writes
Press a device key or trigger a supported device action.
launch writes
Launch an app.
wait read-only
Wait for a screen or device state change.
batch writes
Run multiple operations.
set writes
Set a supported device state or parameter.
checkpoint writes
Create or inspect a checkpoint in an operation sequence.
clipboard writes
Access the clipboard.
files writes
Perform supported device file operations.
shell destructive
Run supported shell operations on a device.
setting writes
Read or change supported system settings.
logs read-only
Read logs.
network read-only
Read network information.
replay writes
Replay saved operation steps.

Use cases

Test an app signup flow and report reproducible issues.
Operate settings and apps on Android or iOS devices.
Save mobile operation steps and replay them in CI.
Read mobile screen content and check accessibility issues.

Supported clients

Claude Code
Codex
Cursor
VS CodePartial support
Gemini CLIPartial support

Listed from the project's documentation, not tested by this site.

Overview

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.

Similar servers

Source revision 2dec0cf0f2f5 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/phonedriver.svg)](https://followmcp.com/en/servers/phonedriver)