
iPhone Mirror
io.github.nickatnight96Published by GitHub account nickatnight96v1.0.1Updated Oct 24, 2026
Drive a real iPhone via macOS iPhone Mirroring; Xcode build/test automation for sims and devices.
Overview
A macOS-only MCP server that lets an assistant drive a paired iPhone through iPhone Mirroring, and build, test and launch Xcode apps on simulators and devices.
- What you can do
- Check session health and launch or restart the mirroring session, with a doctor check for permissions and input delivery. See the screen through screenshots, annotated screenshots, OCR reading, text and image finding, and screen recording. Wait for text or screen changes and scroll to elements. Send input with taps, double taps, long presses, swipes, drags, typing, pasted text, key presses, shake and batched actions. Navigate with home, app switcher, Spotlight, app launch and URL opening, and handle notifications. Build, test and collect Xcode results, and install, launch, inspect and uninstall apps on real devices and simulators.
- When to use it
- Use it when you want an assistant to operate a real iPhone from a Mac without jailbreaking or installing anything on the phone, for example to inspect what an app shows, run a tap-and-assert loop, or automate Xcode build, test and install workflows across simulators and devices.
- Requirements
- macOS 15 or later with iPhone Mirroring, paired to an iOS 18 or later iPhone that is nearby, locked and signed in to the same Apple Account. Xcode for the Xcode, device and simulator tools. Accessibility and Screen Recording permissions granted to the app that launches the server. Runs as a local process over stdio; the installer builds a release binary.
Installation
In SourceWeft
- Open iPhone Mirror in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
iphone-mirror-mcp
[CI] [License: MIT] [Platform: macOS 15+] [Swift 6] [Listed on mcpservers.org] [Clones] [Views]
Let any LLM drive a real iPhone.
An MCP server that controls a physical iPhone through the built-in macOS iPhone Mirroring app, and automates Xcode development testing — build, test, install, and launch on simulators and devices, then operate the app on the mirrored screen with taps, swipes, typing, and OCR.
No jailbreak. Nothing installed on the phone. No XCUITest target.
63 tools. Works with Claude, GPT, Gemini, local models — anything that speaks MCP over stdio.
Quick start
The installer checks your machine, builds a release binary, verifies permissions end to end, and prints the exact config for your client.
Then, for Claude Code:
Or for any other MCP client:
Ask your model:
Take a screenshot of my iPhone and tell me what app is open.
Or grab the .mcpb bundle from the
latest release
if your client installs MCP bundles and you would rather skip the toolchain
(see the caveats — it is
ad-hoc signed but not notarized).
→ Full getting-started guide · per-client config
Requirements
- macOS 15+ with iPhone Mirroring, paired to an iOS 18+ iPhone (nearby, locked, same Apple Account)
- Xcode — for the
xcode_*,device_*, andsim_*tools - Accessibility and Screen Recording permission, granted to the app that launches the server (your terminal, or the desktop app hosting your client) — details
Check everything at once:
It tests all four permissions, captures a real frame, and confirms macOS is actually delivering synthetic input — rather than just reading permission flags. Run it before you suspect anything else.
What it can do
→ Complete tool reference — all 63, with parameters, generated from the server's own catalog so it cannot drift.
Coordinate contract
Every x/y is a pixel position in the most recent screenshot, origin
top-left. At input time the window bounds are re-queried and the pixel maps
proportionally into the current bounds — so a window that moved or was resized
between screenshot and tap still receives the tap in the right place.
Documentation
Known limitations
Tested, not guessed — the full list explains why.
- Pinch and rotate cannot be synthesized. Trackpad gestures do not travel the CGEvent pipeline; an event tap sees nothing during a physical pinch, so there is nothing to reproduce.
- One phone at a time — device switching has no scriptable menu.
- The session pauses whenever the phone is unlocked or picked up. Apple's design; resuming needs it locked again.
- No accessibility tree — OCR and template matching are the element model. Face ID, Control Center, and hardware buttons are unreachable, and DRM content captures black.
Security
This server can see and control whatever iPhone the Mac is paired with while mirroring is active. Treat it like handing your unlocked phone to the model. Run it only from clients you trust.
The phone locks the session the moment it is picked up or unlocked physically,
which is a real kill switch. paste_text briefly places text on the Mac
clipboard and restores what was there; read_clipboard reads it.
See SECURITY.md for the trust model and how to report a vulnerability.
Contributing
Issues and pull requests welcome — see CONTRIBUTING.md.
License
Source: README.md at commit 5a67652
Tools
0Version history
1- v1.0.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
