mirroir-mcp

Let your agent use your real iPhone: errands across your apps, automations, even games.
Your phone. Your apps. Your agent. Cloud phone services rent you a phone. mirroir drives the one in your pocket, and turns what your agent does once into skills and tests you keep.
Website ·
Demos ·
Set up with your agent ·
Tools ·
Changelog ·
Discord
"Be my DJ": the agent asks for a vibe, builds a Gui Boratto-style playlist in Spotify and starts it. A real iPhone, sped up.
No Developer Mode, no Xcode, nothing installed on the phone. mirroir-mcp drives your iPhone through macOS iPhone Mirroring, with the apps already signed in on it: no connector, no OAuth, no password handed to anyone. It works with Claude, Codex, Cursor and other AI apps that support MCP, through 45 tools.
Quick start
You need macOS 15 or later and an iPhone connected through iPhone Mirroring. Paste this into your coding agent (Claude Code, Codex, Cursor, OpenClaw, …):
Set up mirroir-mcp so you can drive my iPhone: follow https://github.com/jfarcand/mirroir-mcp/blob/main/docs/onboarding.md step by step, and finish by reading back what my iPhone screen shows.
Or install it yourself:
npx -y mirroir-mcp install # or: brew tap jfarcand/tap && brew install mirroir-mcp
npx -y mirroir-mcp doctor # names anything left to fix
OpenClaw, Hermes Agent, Claude Desktop, Cursor, VS Code and the other clients: Install.
How it works
your agent ──MCP──▶ mirroir ──iPhone Mirroring──▶ your iPhone
│
explore ──▶ SKILL.md ──▶ compile ──▶ replay, no LLM ──▶ CI: pass · fail · DRIFT
Your agent drives the phone through mirroir's tools. What it learns stays: an exploration becomes a skill, a skill compiles to a replay that needs no model, and the replay runs in CI.
How it reads the screen
describe_screen is the agent's eyes, and it has two modes. One setting, screenDescriberMode in settings.json, picks between them.
| Local OCR (default) | AI vision |
|---|
| What it reads | Text, with exact tap points (Apple Vision OCR); icons through an on-device YOLO model | Text and icons by name ("Wi-Fi", "Spotify"), including faint labels and on/off states OCR can miss |
| Where it runs | On your Mac, free | Through your agent (embacle by default), about 25k tokens and a few seconds per read |
| Tap points | Exact | Approximate, so check before tapping near the bottom of the screen |
| Setting | "screenDescriberMode": "ocr" | "screenDescriberMode": "vision" |
Start with OCR. Switch to vision when the screen is mostly icons, or its text is too faint for OCR.
The framework