
Mirroir Mcp
io.github.jfarcand由 GitHub 账号 jfarcand 发布v0.45.0更新于 Nov 6, 2026
Drive a stock iPhone via iPhone Mirroring: no Developer Mode, Xcode or WDA. LLM-free skill replay.
概览
通过 macOS 的 iPhone 镜像操控未越狱的 iPhone,让助手读取屏幕、点击、输入和滑动,并能不依赖大模型回放已录制的流程。
- 可以做什么
- 读取镜像中的 iPhone 屏幕并查看各应用显示的内容
- 通过镜像在手机上点击、输入、滑动和拖拽
- 录制操作过程并据此生成可复用的技能文件
- 在命令行中回放编译好的技能,全程不调用 AI
- 用同一份场景同时驱动手机、浏览器和 HTTP 接口,并给出漂移判定
- 按帧在预算内玩回合制或点击类游戏
- 适用场景
- 适合需要让助手操作真实 iPhone 上的 App Store 应用、又不想开启开发者模式、安装 Xcode 或越狱的场景;也适合把首次探索性操作变成可在 CI 中确定性、零 token 回放的测试。
- 运行要求
- macOS 15 或更高版本,并通过 iPhone 镜像连接 iPhone;可用 npx 或 Homebrew 安装;需授予 macOS 屏幕录制与辅助功能权限;需要兼容的 MCP 客户端。无需开发者模式、Xcode、越狱或手机端代理。
安装
在 SourceWeft 中
- 打开 控制台中的 Mirroir Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mirroir-mcp
[npm version] [Build] [License] [macOS 15+] [Discord]
Let your agent use your real iPhone, then replay what it did without an LLM.
[An agent reads the commute time in Waze on a real iPhone, then posts it in a Slack channel]
A real run on a real iPhone, sped up: the agent reads the ETA in Waze, then posts it in Slack.
No Developer Mode, no Xcode, no WebDriverAgent, no jailbreak. mirroir-mcp works through macOS iPhone Mirroring, so it reaches any app on your phone, including App Store apps you could never build. It works from any MCP client, with 39 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, …):
Or install it yourself:
OpenClaw, Claude Desktop, Cursor, VS Code and the other clients: Install.
Then ask for something:
Why mirroir
-
Nothing to install on the phone. The iPhone stays stock: no signing, no provisioning profile, no on-device agent. If iPhone Mirroring shows it, mirroir can drive it.
-
Your Mac stays yours. Taps, typing and swipes reach the mirror without bringing it to the front, so you can keep working. Drags and two-finger gestures bring it forward for a moment, then hand your app back.
-
Explore once, replay without an LLM.
generate_skillexplores an app and writes SKILL.md files. A compiled skill replays from the CLI with no AI in the loop (mirroir test), so CI runs are deterministic and cost no tokens. -
One test across phone, web and backend.
mirroir-runis our companion test runner, a separate binary. One YAML scenario can drive the iPhone, a browser, HTTP endpoints and subprocesses, then compare what the page and the phone showed. See Web and iOS in one scenario. -
Drift fails loudly.
mirroir-runhas a third verdict beside pass and fail:DRIFT, exit code 65, when every assertion held but the output moved past its baseline. Your CI lane decides whether drift blocks a merge. -
It plays games, too. A
scene:step plays a turn-based or tap-driven game, frame by frame, under a hard budget. See Games.A real game on a real iPhone: the model reads the board, Stockfish picks the moves, mirroir plays them against Chess.com's strongest bot. The opening runs at 2.5×, the middle game at 45×, the finish at 2×.
How it compares
phone-harness is the closest tool here: it also drives a stock iPhone through iPhone Mirroring, and it adds Android and hosted phones, which mirroir doesn't have. mobile-mcp and Appium cover Android and simulators too. mirroir goes further after the agent's first run: that run becomes a replay that needs no LLM, and a test that tells you when the output moves.
Safety
Giving an AI access to your phone demands defense in depth, so mirroir-mcp is fail-closed.
- Read-only until you say otherwise. Without a config file, only the 12 read-only tools are exposed. Every tool that changes something stays hidden from the client until you allow it in
permissions.json. - Sensitive apps can be blocked.
blockedAppskeeps the AI out of apps like Wallet or Banking, even when other tools are allowed. - Passwords stay yours. mirroir never presses a sheet that asks for a password or Touch ID, and it tells agents to ask you before sending, buying, deleting or changing a setting.
- No root, no daemon, no telemetry. It runs as your user with Screen Recording and Accessibility. The one network call it makes by default is a once-a-day version check against npm (
updateCheck: falseturns it off). What your agent reads from the screen goes to whichever model your client uses. - Kill switch. Close iPhone Mirroring to stop all input instantly.
See Security for the full threat model.
Documentation
Community
Join the Discord server to ask questions, share skills, and discuss ideas. Contributions are welcome: see CONTRIBUTING.md. By submitting a patch, you agree to the Contributor License Agreement; your Git commit metadata serves as your electronic signature.
Why "mirroir"? — It's the old French spelling of miroir (mirror). A nod to the author's roots, not a typo.
来源:README.md,提交 81c01b6
工具
0版本历史
8- v0.45.0最新Nov 6, 2026
- v0.44.0Nov 5, 2026
- v0.43.0Nov 4, 2026
- v0.42.0Oct 30, 2026
- v0.41.0Oct 29, 2026
- v0.40.1Oct 5, 2026
- v0.40.0Oct 4, 2026
- v0.39.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分