Skip to content

About

Let your agent use your real iPhone: errands across your apps, automations, even games. Works from any MCP client through macOS iPhone Mirroring. No Developer Mode, no Xcode, no jailbreak.

Topics

Resources

Contributing

Security policy

Stars

447 stars

Watchers

0 watching

Forks

Latest commit

 

History

887 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mirroir-mcp

mirroir-mcp

npm version Build License macOS 15+ Rust 1.99+ Discord jfarcand/mirroir-mcp MCP server

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

The Claude app and a real iPhone side by side: the agent asks what to play, builds a five-track Gui Boratto-style playlist in Spotify, then starts it

"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

  • Tools. 45 MCP tools: tap, type, swipe, read the screen, listen, launch, and run_steps to repeat a sequence in one call.
  • Skills. generate_skill explores an app and writes SKILL.md files your agent follows.
  • Compiled replay. mirroir test replays 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_note keeps one lesson per app for the next session; mirroir-mcp serve shares the phone over HTTP.

More demos

The Claude app and a real iPhone side by side: the agent opens a saved Instagram recipe reel, listens to it, then writes an eleven-item grocery list in Reminders

A saved recipe reel becomes a grocery list: the agent listens to the video and reads its frames. Sped up.

The console and a real iPhone side by side during a full chess game: each move is logged as it is played, ending in checkmate against the Maximum bot on Chess.com

Chess against Chess.com's strongest bot: the model reads the board, Stockfish picks, mirroir plays. See Games. Sped up.

An agent reads the commute time in Waze on a real iPhone, then posts it in a Slack channel
Reads the ETA in Waze, posts it in Slack.
An agent tests a login screen in Expo Go on a real iPhone
Tests a login screen in Expo Go.

Why mirroir

  • 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. listen turns 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.

Safety

  • Read-only by default. Only the 14 read-only tools are exposed until you allow more in permissions.json; blockedApps keeps 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: false turns it off).
  • Kill switch. Quit iPhone Mirroring, lock the Mac or quit the MCP client: input stops at once.

See Security and SECURITY.md.

Documentation

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/.

Community

Join the Discord server to ask questions and share skills. Pull requests are welcome: see CONTRIBUTING.md. Report a vulnerability privately: see SECURITY.md.

License

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.

About

Let your agent use your real iPhone: errands across your apps, automations, even games. Works from any MCP client through macOS iPhone Mirroring. No Developer Mode, no Xcode, no jailbreak.

Topics

Resources

Contributing

Security policy

Stars

447 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages