What It Is
The Phones Inc MCP server gives an AI agent (Claude, Cursor, Codex or any client that speaks the Model Context Protocol) the whole Phones Inc API as tools: list your phones, start a session, look at the screen, tap, type, swipe, open apps, move files and media, build and run workflows, read 2FA codes and rent verification numbers.- One phone per call. Each tool takes one
phoneId. - Every action shows its effect.
tap,type,swipe,keyandapp_openanswer the screen once it has settled, as compact text rows, so the agent rarely needs a separate look. - Cheap looks.
observewithview: "text"sends only the text on screen as rows[id, text, centreX, centreY, width, height](a few hundred tokens). The default also sends a JPEG scaled to 768 pixels on its longer side. Images come back as image content, never as links. - Tap by meaning.
taptakes{"text": "Sign in"}, a detected element’s label, an id from an earlier look, or pixels. A miss answers the closest candidates. - Waits that wait.
session_startreturns once the phone’s network is ready;wait_forwaits for text to appear or disappear, or for the screen to stop changing. - Coordinates are screen pixels, the same as Touch takes, whatever size the image was sent at. Regions are
[x0, y0, x1, y1]fractions of the screen.
Authentication
Use an API key (from app.phones.inc) in theAuthorization header, exactly as for the API:
X-Phonesinc-Organization when it reaches several organizations. A missing or wrong credential is answered 401.
Set Up
Claude Code
Claude Desktop
Add the server toclaude_desktop_config.json (Settings → Developer → Edit Config) through the stdio command:
Cursor
In~/.cursor/mcp.json (or .cursor/mcp.json in a project):
Codex
In~/.codex/config.toml, with the key in the PHONES_API_KEY environment variable:
Other clients
Any client that speaks Streamable HTTP connects tohttps://mcp.phones.inc/mcp with the Authorization header. A client that only starts local commands uses the stdio command.
The Stdio Command
npx phonesinc mcp runs the same server on stdin/stdout. It is part of the phonesinc npm package (the same package as the API client, version 2.4.0 or later). It has no tools of its own: it forwards every request to https://mcp.phones.inc/mcp with your key.
A Typical Run
phones_list: pick an online phone.session_startwith itsphoneId: returns when the phone is online (network: "ready").observewithview: "text": read the screen.tap{"text": "Search"},typethe query,keyenter: each answers the new screen.wait_for{"text": "Results"}while it loads.session_end.
commit instead of tap: it takes an idempotencyKey, and the same key never taps twice.
Resources and Prompts
Errors
A refusal is a tool error (isError: true) whose text is the API’s error:
target_not_found and stale_screen for taps. Where a value had to be one of a list, the error names the allowed values.