AI product Open source
phonedriver is an MCP server and command-line tool written in Rust that lets AI agents such as Claude Code, Codex, and Cursor operate Android phones, Android emulators, iOS Simulators, iPhones, and iPads. It presents each screen as a numbered text list, lets agents tap, type, swipe, scroll, launch apps, use the clipboard, and run shell commands, and can capture screenshots when visual information is needed.
On Android, a helper runs on the device through adb and reads the accessibility tree while streaming screen data; on iOS, an XCTest runner performs the equivalent work. A computer-side daemon keeps the device connection open and tracks element identifiers so taps remain associated with the correct controls as screens change. The MCP server and CLI use this daemon, and the tool waits for screens to settle and can return only changed elements.
Its safety guard pauses taps on labels associated with payments, purchases, subscriptions, transfers, deletions, and other configured actions for user approval. It also provides a secret-input path for passwords and one-time codes. It requires adb for Android and Xcode for iOS, supports physical devices and simulators, and is distributed under the AGPL-3.0-only license.
1 use taken from transcripts — each links to the moment in the video.
An MCP server and command line tool written in Rust that lets agents like Claude, Codex, or Cursor read and control an Android phone or iPhone, showing the screen as a numbered text list and asking before destructive taps.
1 in the library.