Skip to content
AddHunt
MCP servers

phonedriver

Lets AI agents operate a real Android phone or iPhone

Open source

  • Open source
  • Licence: AGPL-3.0

In short

phonedriver is an open-source MCP server that lets Claude Code, Codex, Cursor and other MCP clients operate a real Android phone or iPhone by reading the screen as text, tapping and typing. It is for developers automating or testing mobile apps with AI agents.

What you get

  • Screen read as text with addressable elements
  • Tap, type, key press and screenshot actions
  • Batched steps with verification of each action
  • Approval prompt before payments
  • One-command setup for agents on the machine
  • Works with Android phones, iPhones and emulators

The details

phonedriver connects an AI coding agent to a phone. The agent receives the screen as a text snapshot with addressable elements, then taps, types, presses keys and takes screenshots to move through apps. It works with a physical Android phone or iPhone as well as emulators, and it pauses for the user's approval before anything gets paid for.

Setup

A single npx command adds the MCP server to the agents found on the machine and checks the setup, flagging problems to fix. Manual commands are given for Claude Code and Codex, and a short JSON entry covers Cursor. A companion skill command teaches the agent how to use the tools.

How agents work with it

Actions can be grouped into batches, and each result reports whether the screen settled and whether input actually landed, so the agent can notice when typing missed a field and try another approach. The home page shows a recorded run in which an agent orders a pizza for collection through a mobile browser, handling a cookie dialog and a failed tap along the way.

The project is written in Rust, published on GitHub under the AGPL-3.0 licence and documented with guides, benchmarks and comparisons on the site.

Alternatives to phonedriver

All alternatives

Questions

Which phones does phonedriver support?

It works with Android phones and iPhones, and the demo run on the site uses an Android emulator.

Will the agent pay for things on its own?

The tool is designed to ask the user before a payment. In the site's demo, the user explicitly approved the order in the prompt.

How is it installed?

Running npx -y phonedriver init adds the MCP server to the agents on the machine and checks the setup; there are also manual commands for Claude Code, Codex and Cursor.

More like this