Skip to content
FunCoding

iphone-mirroir-mcp

Listed in the official MCP Registry

Control a real iPhone through macOS iPhone Mirroring: screenshot, tap, swipe, type.

Star
450
Category
Cloud & ops
Version
v0.4.1
License
Apache-2.0
Last commit
Dec 1, 2026

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 readsText, with exact tap points (Apple Vision OCR); icons through an on-device YOLO modelText and icons by name ("Wi-Fi", "Spotify"), including faint labels and on/off states OCR can miss
Where it runsOn your Mac, freeThrough your agent (embacle by default), about 25k tokens and a few seconds per read
Tap pointsExactApproximate, 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

InstallEvery install path and per-client setup
ToolsWhat each tool does, with its parameters
Skills and CISkills, generate_skill, mirroir test
GamesPlaying games, frame by frame
Security and permissionsWhat mirroir can do, and how to limit it
TroubleshootingDebug 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.

Similar MCP servers

Netdata

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

NEnetdata/netdata82k100 new stars in the last 7 days

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

JAJanDeDobbeleer/oh-my-posh24k24 new stars in the last 7 days

Coder

Manage Coder workspaces, templates, and cloud development environments

COcoder/coder18k54 new stars in the last 7 days

docker-android

Android in docker solution with noVNC supported, video recording, mcp server and AI-agent

BUbudtmo/docker-android16k29 new stars in the last 7 days

Featured

Windows-MCP

Control Windows apps, navigate files, interact with UI, and run QA tests.

CUCursorTouch/Windows-MCP12k288 new stars in the last 7 days

pal-mcp-server

The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.

BEBeehiveInnovations/pal-mcp-server12k22 new stars in the last 7 days