mirroir-mcp
Let your agent use your real iPhone.
Website ·
Skills ·
Set up with your agent ·
Tools ·
Changelog
Claude, Codex, Cursor or any MCP agent taps, types, swipes and reads your iPhone through macOS iPhone Mirroring, with the apps already signed in on it. Nothing to install on the phone.
**Task:** *"Be my DJ on Spotify. Ask me what I'd like to hear, then build a playlist and play it."*
## Skills
More things to ask your agent, each a [skill](https://github.com/jfarcand/mirroir-skills#personal-assistant) walked on a real iPhone. Anything that sends, posts, saves or calls waits for your yes:
- [Be my DJ](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/spotify/be-my-dj.md): build a Spotify playlist and play it
- [Read today's schedule](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/calendar/check-today.md) or [create an event](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/calendar/create-event.md)
- [Add a reminder](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/reminders/add-reminder.md) or [list today's](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/reminders/list-today.md)
- [Summarize unread mail](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/mail/read-unread.md), [reply to an email](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/mail/reply.md), [find mail from a sender](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/mail/search-sender.md)
- [Summarize unread texts](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/messages/read-unread.md) or [reply to one](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/messages/reply.md)
- [List missed calls](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/phone/missed-calls.md), [write a note](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/notes/create-note.md), [travel time to a place](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/maps/save-directions.md), [the forecast](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/weather/check-forecast.md)
- [Post a story from your latest video](https://github.com/jfarcand/mirroir-skills/blob/main/skills/apps/instagram/story-from-latest-video.md) on Instagram
- [Morning briefing](https://github.com/jfarcand/mirroir-skills/blob/main/skills/workflows/morning-briefing.md): weather, agenda and mail in one message
- [Tell me when someone leaves a place](https://github.com/jfarcand/mirroir-skills/blob/main/skills/workflows/find-my-left-place.md), from Find My
All of them, with games, workflows and testing: [mirroir-skills](https://github.com/jfarcand/mirroir-skills).
## Quick start
You need macOS 15 or later and an iPhone connected through [iPhone Mirroring](https://support.apple.com/en-us/120421). Paste this into your coding agent:
```text
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:
```bash
npx -y mirroir-mcp install # or: brew tap jfarcand/tap && brew install mirroir-mcp
npx -y mirroir-mcp doctor # names anything left to fix
```
Other clients (Claude Desktop, OpenClaw, Hermes Agent, VS Code): [Install](docs/install.md).
## How it works
```text
your agent ──MCP──▶ mirroir ──iPhone Mirroring──▶ your iPhone
│
explore ──▶ SKILL.md ──▶ compile ──▶ replay, no LLM ──▶ CI: pass · fail · DRIFT
```
What your agent does once stays: an exploration becomes a skill, and a skill compiles to a replay that needs no model. The screen is read by local OCR by default, or by your agent's vision model ([how](docs/screen-intelligence.md)).
## The framework
- **[Tools](docs/tools.md).** 45 MCP tools: tap, type, swipe, read the screen, listen, and `run_steps` for a sequence in one call.
- **[Skills](docs/skills-and-ci.md#skills).** Markdown your agent follows; `generate_skill` writes them by exploring an app.
- **[Compiled replay](docs/compiled-skills.md).** `mirroir test` replays a skill with no AI in the loop.
- **[mirroir-run](docs/mirroir-run.md).** One scenario across iPhone, browser and HTTP, with a `DRIFT` verdict.
- **Notes and sharing.** `save_note` keeps one lesson per app for the next session; [`mirroir-mcp serve`](docs/cli.md#serve) shares the phone with agents on other computers over MCP Streamable HTTP.
- **[Live viewer](docs/cli.md#live-viewer).** The phone for clients that can't connect over MCP, from another computer. mirroir speaks the standard VNC protocol (RFB 3.3 to 3.8), so a VNC client, such as a GitHub Actions job through a tunnel, can see and drive the phone (tested with macOS Screen Sharing). A browser page streams it too, so a browser agent such as Claude in Chrome can work from the picture. Input from either becomes the same tool calls as an agent's, under the same permissions, and you can watch any run live.
## More demos

A recipe reel becomes a grocery list.
|

Chess against Chess.com's strongest bot.
|

Reads the ETA in Waze, posts it in Slack.
|

Tests a login screen in Expo Go.
|
Real iPhones, sped up. Play them one at a time in the demo carousel; more on games and listening.
## Safety
- **Read-only by default.** Only the 14 read-only tools are exposed until you allow more in [`permissions.json`](docs/permissions.md); `blockedApps` refuses to open the apps you list, such as Wallet, or tap their icons.
- **Passwords stay yours.** mirroir never answers the Mac's password or Touch ID prompt, and tells agents never to type a password on the phone.
- **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 run `mirroir pause`: no further input reaches the phone.
See [Security](docs/security.md) and [SECURITY.md](SECURITY.md).
## Documentation
| | |
|---|---|
| [Install](docs/install.md) | Every install path and per-client setup |
| [Tools](docs/tools.md) | What each tool does, with its parameters |
| [Skills and CI](docs/skills-and-ci.md) | Skills, `generate_skill`, `mirroir test` |
| [Games](docs/games.md) | Playing games, frame by frame |
| [Security](docs/security.md) and [permissions](docs/permissions.md) | What mirroir can do, and how to limit it |
| [Troubleshooting](docs/troubleshooting.md) | Debug mode and common issues |
Everything else: [docs/](docs/).
## Community
Join the [Discord server](https://discord.gg/u8ug9QCSqF) to ask questions and share skills. Pull requests are welcome: see [CONTRIBUTING.md](CONTRIBUTING.md). Report a vulnerability privately: see [SECURITY.md](SECURITY.md).
## License
Apache 2.0 - Copyright 2026 [Async-IO](https://async-io.live).
---
> **Why "mirroir"?** — It's the old French spelling of *miroir* (mirror). A nod to the author's roots, not a typo.