AI NewsDev toolsAnnouncement

phonedriver lets AI agents drive phones but holds the pay button

phonedriver is an open MCP server. It lets Claude Code, Codex and Cursor drive Android phones and iPhones. It holds each tap on a payment button for the user to approve.

AI News

Editorial3 min read

LinkedInX
GitHub repository card for hridaya423/phonedriver, showing the project name and description.

Image: GitHub

Why it mattersA team that tests a mobile app with an agent has no safe way to stop the agent spending money. phonedriver asks the user before any Pay or Buy tap, in a prompt the model cannot see.

An agent that can drive a phone can also buy things on it. phonedriver is a new open-source MCP server for coding agents. It lets them read and tap a real Android phone or iPhone. It holds each tap on a payment button for the user to decide. The repository is at github.com/hridaya423/phonedriver. The author created it on 8 November. It has 402 stars and 39 forks. It is written in Rust under AGPL-3.0.

The project is one author's work. The README lists Claude Code, Codex and Cursor as supported clients. The tool runs as a Model Context Protocol server and as a plain CLI for scripts.

How the pay guard works

phonedriver watches for seven kinds of button before each tap. The list is Pay, Buy now, Buy with GPay, Place order, Start subscription, Transfer, and Delete account. The README says what happens next. "phonedriver holds the tap and asks you in Claude Code's own prompt. The model never sees that question and can't answer it." The user picks Allow, Allow for this session, or Decline. The guard runs in the tool, not in the model. A prompt injection cannot reach the user's prompt to answer it.

The demo video on the repository shows Claude Code driving a real Android phone. The agent opens the Domino's site and picks a large pepperoni pizza at the Leicester Square branch. It then taps through the order to the checkout screen. The run lasted 6.5 minutes at 15x speed. At the Pay button the guard stopped, and nothing was ordered.

What phonedriver says about speed and tokens

The README reports its own figures from nine test tasks on 10 November. phonedriver says it used 658 thousand tokens to finish those nine jobs. The README says the open-source mobile-mcp server used 4.6 million tokens on the same jobs. That is 6.9 times fewer tokens, by its own count. The README also tests reading the phone screen against plain adb on Android. phonedriver reads the screen in 13 milliseconds. adb takes 2,164 milliseconds. Screenshots run 32 times faster. Typing 100 characters runs 23 times faster. These are phonedriver's own tests of one task set, not an independent benchmark.

Devices and how a team would use it

The README lists its supported setups. Android works through adb over USB, on emulators and real phones. iOS works in the iOS Simulator on a Mac with Xcode. Real iPhones or iPads need a Mac with Xcode and a development certificate. A Windows user can reach a real iPhone through Apple Devices, Sideloadly and a free Apple ID. Neither path needs jailbreaking.

A team building a mobile app can ask a coding agent to run end-to-end tests. The agent reads screens as text and taps. A support team can hand an agent a user's bug report. The agent walks the same path in a staging build. The payment guard is the part that makes either safe to leave unattended. A stuck agent can still press hundreds of buttons. The ones that cost money stop at a human.

Traction and limits

402 stars in 19 days for a solo project, pushed daily, is a real signal. It is small next to tools that have run for years. The licence is AGPL-3.0. A company that builds a commercial product on top must release source for the derivative. The benchmarks are the author's own. The method covers one set of nine tasks on one phone. A buyer should repeat the test on their own workload before trusting the figures.

Source

SourceGitHub

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project