FREE RESOURCE · FROM THE "PHONE" REEL

Let Claude Code control your iPhone with mirroir-mcp

By ·

mirroir-mcp is a free, open-source (Apache-2.0) MCP server by Jeanfrancois Arcand (jfarcand on GitHub). It lets Claude Code, Codex, Cursor or another MCP app use a real iPhone through Apple's iPhone Mirroring on your Mac. Nothing is installed on the phone: no jailbreak, no Xcode, no Developer Mode.

Repo: github.com/jfarcand/mirroir-mcp ↗

In short

  • mirroir-mcp is a free, open-source (Apache-2.0) MCP server that lets Claude Code, Codex or any MCP client drive a real iPhone.
  • It works through Apple's iPhone Mirroring on a Mac with macOS 15 or later: no jailbreak, no Xcode, no Developer Mode, nothing installed on the phone.
  • It reads the screen and can tap, swipe and type; install with one command, npx -y mirroir-mcp install.
  • Only its 14 read-only tools are on until you allow more in ~/.mirroir-mcp/permissions.json, and blockedApps keeps it out of apps like Wallet or your bank.

What you need

  • A Mac on macOS 15 (Sequoia) or later, with Apple silicon or an Apple T2 chip
  • An iPhone on iOS 18 or later, signed in to the same Apple Account (two-factor on) and already working in iPhone Mirroring. Apple does not offer iPhone Mirroring in the EU (Apple's guide ↗)
  • Claude Code on a Pro, Max, Ultra, Team, Enterprise or Console account (the free Claude plan does not include it), or another MCP client (Claude Code setup ↗)
  • Node.js, for the npx install (or use Homebrew)

Install mirroir-mcp (5 minutes)

terminal · install
npx -y mirroir-mcp install
or with Homebrew
brew tap jfarcand/tap && brew install mirroir-mcp
terminal · check
npx -y mirroir-mcp doctor
terminal · add it to Claude Code
claude mcp add --transport stdio mirroir -- npx -y mirroir-mcp

Run the install line (or the Homebrew one), then npx -y mirroir-mcp doctor, then add it to Claude Code with the last line. It names anything left to fix. Turn on Screen Recording and Accessibility for the app that runs it (your terminal or editor) in System Settings > Privacy & Security, then quit and reopen that app so Screen Recording takes effect.

Or let Claude Code do the setup

Paste this into Claude Code:

prompt
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. Do not allow any tool that changes the phone yet.

Lock it down first

With no config file it is fail-closed: only its 14 read-only tools are exposed, so it can look at the screen but not touch it. Create ~/.mirroir-mcp/permissions.json and allow only what you need (the server reads it when it starts, so reconnect it in Claude Code afterwards):

~/.mirroir-mcp/permissions.json
{
  "allow": ["tap", "swipe", "type_text", "press_key", "launch_app"],
  "deny": [],
  "blockedApps": ["Wallet", "Your Bank App"]
}

Prompts to try

Guided setup

prompt
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. Do not allow any tool that changes the phone yet.

Safe permissions file

prompt
Create ~/.mirroir-mcp/permissions.json that allows only tap, swipe, type_text, press_key and launch_app, and blocks Wallet and my banking apps (list: Wallet, <your bank app>). Show me the file before saving it.

First errand

prompt
Open Calendar on my iPhone and create an event called "Dentist" next Tuesday at 2pm. Screenshot the event when it is saved, and stop if any screen asks for a password.

Test your own app

prompt
Open my app <name> on the iPhone, go through the sign-up screen with test@example.com, and screenshot every step. Report anything that looks broken.

The steps, in order

  1. Check your Mac runs macOS 15 or later and iPhone Mirroring already shows your iPhone
  2. Run npx -y mirroir-mcp install (or brew tap jfarcand/tap && brew install mirroir-mcp)
  3. Run npx -y mirroir-mcp doctor and fix anything it names
  4. Add it to Claude Code with claude mcp add --transport stdio mirroir -- npx -y mirroir-mcp
  5. Turn on Screen Recording and Accessibility for your terminal or editor (System Settings, Privacy & Security), then reopen it
  6. Start read-only: ask Claude Code to describe what your iPhone screen shows
  7. Allow only the tools you need in ~/.mirroir-mcp/permissions.json and list Wallet and your bank apps under blockedApps
  8. Ask for a first errand: create a Calendar event

The honest catches

  • Mac only, macOS 15+, iOS 18+, and iPhone Mirroring must already work. It is not available in the EU.
  • Screenshots and screen text it hands back to Claude go to the model you use, like anything else in the chat. Do not point it at private chats you would not paste into Claude.
  • It never presses password or Touch ID sheets, so some flows still need you.
  • Kill switch: quit iPhone Mirroring, lock the Mac or quit the MCP client, and input stops at once.

Sources checked

Checked on 26 November 2026 against the mirroir-mcp repository, Apple's support page and Anthropic's Claude Code docs. The tool ships new releases often, so its README is the final word.

  • mirroir-mcp: Apache-2.0, by jfarcand (copyright Async-IO), 42 MCP tools; latest release v0.51.0 on 23 Nov 2026. Source ↗
  • Works through macOS iPhone Mirroring, macOS 15+; no Developer Mode, Xcode or jailbreak; works with Claude, Codex, Cursor and other MCP apps. Source ↗
  • Install: npx -y mirroir-mcp install, or brew tap jfarcand/tap && brew install mirroir-mcp; doctor command. Source ↗
  • Fail-closed: 14 read-only tools without a config; mutating tools need permissions.json; blockedApps keeps it out of Wallet/Banking; limits of blockedApps. Source ↗
  • Never presses password or Touch ID sheets; kill switch: quit iPhone Mirroring, lock the Mac or quit the MCP client. Source ↗
  • Claude Code registration command and the Screen Recording / Accessibility grants (reopen the app after Screen Recording). Source ↗
  • iPhone Mirroring needs macOS 15+ on Apple silicon or T2, iOS 18+, the same Apple Account with two-factor, and is unavailable in the EU. Source ↗
  • Claude Code needs a Pro, Max, Ultra, Team, Enterprise or Console account; the free plan does not include it. Source ↗
  • `claude mcp add --transport stdio <name> -- <command>` adds a local MCP server. Source ↗

About the video: the reel that sent you here uses an AI clone of Hammad Yousuf's voice.

Keep going