Overview
An MCP server and command-line tool that gives an AI agent the controls of an Android phone or an iPhone, real or virtual. It reads the screen, taps, types and reports what changed, and it works with Claude Code, Codex, Cursor, VS Code and Gemini CLI. On Android it starts a small Java helper over adb that reads the accessibility tree and streams the screen; on iOS an XCTest runner does the same, and a daemon on the computer keeps element numbers stable so a tap still lands after a list moves. It can record the screen as MP4, save and replay a run, and run in GitHub Actions on an emulator or Simulator. Approvals: when a tap lands on a button labelled Pay, Buy now, Buy with GPay, Place order, Start subscription, Transfer or Delete account, phonedriver holds the tap and asks you in the client's own prompt, a question the model never sees and cannot answer; set PHONEDRIVER_ASK to also be asked about send, delete or install. Flags: the label check reads button text in 11 languages and does not catch an icon-only payment button; a real iPhone or iPad needs a Mac with Xcode and an Apple Development certificate; the iOS Simulator needs a Mac with Xcode; the headline 6.9x fewer tokens than mobile-mcp is the author's own measurement on nine phone jobs run twice each with Claude Sonnet 5.5 on one Android emulator, not an independent test. AGPL-3.0 (strong copyleft, relevant if you embed or host it). Written in Rust. 335 stars on GitHub (created 2026-11-08).
Quick summary. This page gives a short overview of this mcp server. For installation steps, full documentation and the latest changes, read the official source; details such as features and versions can change there first.
Example prompts example
Illustrative examples written by FoxaMind's AI Trends Scout — not quoted from the source.
- Ask your agent for a job only a phone can do, such as testing your app's sign-up form or changing a setting buried three screens deep.
- Leave the default approval on so payment taps wait for you; add PHONEDRIVER_ASK=send,delete to be asked about sends and deletions too.
- Replay a saved run on every commit with the repository's GitHub Action.