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.
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 fixOpenClaw, Hermes Agent, Claude Desktop, Cursor, VS Code and the other clients: Install.
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.
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.
- Tools. 45 MCP tools: tap, type, swipe, read the screen, listen, launch, and
run_stepsto repeat a sequence in one call. - Skills.
generate_skillexplores an app and writes SKILL.md files your agent follows. - Compiled replay.
mirroir testreplays a skill from the CLI with no AI in the loop: deterministic, no tokens. - App knowledge. APP.md files and screen recipes describe an app's screens once, for every agent.
- mirroir-run. One YAML scenario drives the iPhone, a browser, HTTP and subprocesses, with a third verdict beside pass and fail:
DRIFT(exit 65), when the output moved past its baseline. - Notes and sharing.
save_notekeeps one lesson per app for the next session;mirroir-mcp serveshares the phone over HTTP.
A saved recipe reel becomes a grocery list: the agent listens to the video and reads its frames. Sped up.
Chess against Chess.com's strongest bot: the model reads the board, Stockfish picks, mirroir plays. See Games. Sped up.
![]() Reads the ETA in Waze, posts it in Slack. |
![]() Tests a login screen in Expo Go. |
- Nothing to install on the phone. The iPhone stays stock: no signing, no provisioning profile, no on-device agent.
- Your Mac stays yours. Through macOS 26, taps, typing and swipes reach the mirror without bringing it to the front, so you can keep working; on later macOS they bring it forward.
- It hears the phone, too.
listenturns what the phone plays, a reel's narration or a voice message, into text. macOS transcribes it on the Mac: the audio never leaves it. Needs macOS 26.
- Read-only by default. Only the 14 read-only tools are exposed until you allow more in
permissions.json;blockedAppskeeps agents out of apps like Wallet. - Passwords stay yours. mirroir never presses a password or Touch ID sheet.
- No telemetry. The only default network call is a daily version check (
updateCheck: falseturns it off). - Kill switch. Quit iPhone Mirroring, lock the Mac or quit the MCP client: input stops at once.
See Security and SECURITY.md.
| Install | Every install path and per-client setup |
| Tools | What each tool does, with its parameters |
| Skills and CI | Skills, generate_skill, mirroir test |
| Games | Playing games, frame by frame |
| Security and permissions | What mirroir can do, and how to limit it |
| Troubleshooting | Debug mode and common issues |
Everything else: docs/.
Join the Discord server to ask questions and share skills. Pull requests are welcome: see CONTRIBUTING.md. Report a vulnerability privately: see SECURITY.md.
Apache 2.0 - Copyright 2026 Async-IO.
Why "mirroir"? — It's the old French spelling of miroir (mirror). A nod to the author's roots, not a typo.




