ai newsDi., 1. Dez.

Claude Code steuert iPhone über mirroir-mcp

Der kostenlose MCP-Server mirroir-mcp nutzt Apples iPhone Mirroring auf dem Mac, damit Claude Code den iPhone-Bildschirm sehen sowie tippen, scrollen und Eingaben vornehmen kann. Die Einrichtung besteht aus wenigen Prüfungen, einem eingefügten Prompt und drei Berechtigungen in den macOS-Einstellungen. Standardmäßig ist der Zugriff auf das iPhone nur eingeschränkt möglich.

dev.toMontag 11:39 · 30.11.DE3 Min. Lesezeit
Bild: dev.to

Setup takes five minutes of checks, one pasted prompt, and three permissions in macOS settings. After that Claude Code sees your iPhone screen, taps, scrolls and types for you. The tool is mirroir-mcp, a free MCP server that works through Apple's iPhone Mirroring on a Mac.

By default it can only read the screen. Everything else you switch on yourself.

A Mac running Claude Code that controls your iPhone through the iPhone Mirroring window. Claude sees the phone screen in that window and acts like a person with a finger.

It does not enter passwords and does not confirm Face ID or Touch ID. Wallet and banking apps can be blocked with a list.

It does not work on Windows or Linux. In European Union countries Apple does not offer iPhone Mirroring, so it will not work there either.

Paste this into Claude Code on the Mac, unchanged:

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. Enter fullscreen mode Exit fullscreen mode Claude checks the macOS version, iPhone Mirroring and Node.js. If the Mac is too old it stops there. Then it runs two commands: the first connects the server, the second installs the skill.

claude mcp add --transport stdio mirroir -- npx -y mirroir-mcp Enter fullscreen mode Exit fullscreen mode npx -y mirroir-mcp skill --install Enter fullscreen mode Exit fullscreen mode Step 2: run the check and grant three permissions Claude runs:

npx -y mirroir-mcp doctor Enter fullscreen mode Exit fullscreen mode It will likely ask you for three things:

Tell Claude "done" and it repeats the check. If it asks you to restart Claude Code so the new tool shows up, do that and ask it to continue.

Claude calls the describe_screen tool and tells you which app is open. At this point it can only look, not touch. If the check passed but it sees nothing, fully quit Terminal or the editor and reopen it. The two permissions only apply after a restart.

{ "allow": [ "tap", "swipe", "type_text", "press_key", "launch_app" ], "blockedApps": [ "Wallet", "PayPal", "Venmo" ] } Enter fullscreen mode Exit fullscreen mode allow is the list of actions Claude may take. Delete anything you do not want. blockedApps lists apps it must never touch, so add your own banking apps. You can ask Claude to write the file, but read the block list yourself.

Watch the iPhone Mirroring window while it works:

Open Calendar and create a new event called "Dentist" next Tuesday at 2pm. Enter fullscreen mode Exit fullscreen mode Before it sends, buys, deletes or changes a setting, Claude asks for confirmation. No "yes", no action.

That last one is useful if you build iOS apps: Claude clicks through the real UI and reports what it sees.

npx -y mirroir-mcp install Enter fullscreen mode Exit fullscreen mode npx -y mirroir-mcp doctor Enter fullscreen mode Exit fullscreen mode Or through Homebrew:

brew tap jfarcand/tap && brew install mirroir-mcp Enter fullscreen mode Exit fullscreen mode You still turn on the permissions from step 2 by hand.

Payments, passwords and Face ID stay with you. Treat it as a tool for routine, not for banking.

The full walkthrough is on our blog: Claude Code on iPhone with mirroir-mcp.

Do the pre-check and paste the Step 1 prompt now. Stop after Step 3, with the read-only setup, and ask Claude to describe your home screen. Only after that, write the permissions file with one task in mind, such as moving a calendar event, and keep blockedApps filled before you allow a single tap.

This article was written with the help of AI and fact-checked by the AI SKILLS team.

Originaltitel: Let Claude Code drive your iPhone with mirroir-mcpQuelle: dev.to (dev.to). Original öffnen