mirroir-mcp
Lets your AI agent use your real iPhone through macOS iPhone Mirroring: tap, swipe, type, read the screen and replay tests.
280 stars on GitHubby jfarcandLicense Apache-2.0Updated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add mirroir -- npx -y mirroir-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Open Calendar and create a new event called Dentist next Tuesday at 2pm.
Open my Expo Go app, test the login screen and screenshot each step.
What it is
mirroir-mcp drives a stock iPhone through the iPhone Mirroring window on your Mac, so nothing is installed on the phone. The agent can open apps, tap, type and read the screen with OCR. It can also write skills from what it explored and replay them later without an AI.
What it can do
- Tap, swipe and type on the iPhone
- Screen reading with OCR
generate_skill: explore an app and write a SKILL.mdmirroir test: replay compiled skills without an LLM- Screenshots and recording
- 39 tools in total
When to use
- βΊWhen you want an agent to test an iPhone app without Xcode or Developer Mode
- βΊWhen you want to turn an agent's run into a repeatable test for CI
- βΊWhen you want an agent to do a task in an app on your phone, such as reading an ETA and posting it
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
mobile-automationLets your agent control an Android or iOS phone, emulator or simulator to open apps, tap, type, take screenshots and check what is on screen.appium-skillHelps your agent create automation scripts for Android and iOS mobile apps. Allows testing on real devices or emulators.mobile-appHas your agent render a mobile app screen inside an iPhone frame. It's useful for visualizing how an app looks on a phone. It helps create user interfaces for mobile apps.Frequently asked questions
Do I need Developer Mode or Xcode?
No. The readme says no Developer Mode, Xcode, WebDriverAgent or jailbreak is needed.
Is it safe to give an agent my phone?
It is fail-closed. Without a config file only the 12 read-only tools are exposed, and you can block apps such as Wallet or Banking in permissions.json.
Does it ever enter passwords?
No. It never presses a sheet that asks for a password or Touch ID, and it tells agents to ask you before sending, buying or deleting.
What does it send over the network?
The only default network call is a once-a-day version check against npm, which you can turn off. What the agent reads from the screen goes to whichever model your client uses.
Does it work with Android?
No. The readme says Android and the iOS Simulator are not supported.
How do I stop it?
Close iPhone Mirroring to stop all input instantly.
If it does not work
- βΊRun npx -y mirroir-mcp doctor to see what is left to fix.
- βΊCheck that iPhone Mirroring is connected and that Screen Recording and Accessibility are allowed.
- βΊIf a tool is missing, allow it in permissions.json because only read-only tools are shown by default.
5 new skills a week. 1 minute to read.