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.

已驗證STDIO僅桌面瀏覽器自動化開發者工具

概覽

AI 產生的概覽

透過 macOS 的 iPhone 鏡像操控未越獄的 iPhone,讓助理讀取螢幕、點擊、輸入與滑動,並能在不依賴大型語言模型的情況下重播已錄製的流程。

可以做什麼
  • 讀取鏡像中的 iPhone 螢幕並檢視各 App 顯示的內容
  • 透過鏡像在手機上點擊、輸入、滑動與拖曳
  • 錄製操作過程並據此產生可重複使用的技能檔案
  • 在命令列重播編譯好的技能,全程不呼叫 AI
  • 以同一份情境同時驅動手機、瀏覽器與 HTTP 端點,並給出漂移判定
  • 在預算內逐格遊玩回合制或點擊類遊戲
適用情境
適合需要讓助理操作真實 iPhone 上的 App Store 應用程式、又不想開啟開發者模式、安裝 Xcode 或越獄的情況;也適合把第一次探索性操作變成可在 CI 中穩定重播、不耗 token 的測試。
執行需求
macOS 15 或更新版本,並透過 iPhone 鏡像連接 iPhone;可用 npx 或 Homebrew 安裝;需授予 macOS 螢幕錄製與輔助使用權限;需要相容的 MCP 用戶端。不需開發者模式、Xcode、越獄或手機端代理程式。
安裝前請注意
這等於把手機交給 AI 操作:一旦開放工具權限,就可能點擊、輸入、傳送、購買、刪除或變更設定。預設只開放 12 個唯讀工具,其餘須在 permissions.json 中允許;可用 blockedApps 阻止助理進入錢包、銀行等敏感 App。它不會按下密碼或 Touch ID 提示,但助理讀到的螢幕內容會傳送給用戶端所用的大型語言模型。除非關閉 updateCheck,否則每天會向 npm 進行一次版本檢查。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mirroir Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[mirroir-mcp]

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, …):

text
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.

Or install it yourself:

bash
npx -y mirroir-mcp install    # or: brew tap jfarcand/tap && brew install mirroir-mcpnpx -y mirroir-mcp doctor     # names anything left to fix

OpenClaw, Claude Desktop, Cursor, VS Code and the other clients: Install.

Then ask for something:

Open Calendar, create a new event called "Dentist" next Tuesday at 2pm.
Open my Expo Go app, tap "LoginDemo", test the login screen with[email protected] / password123. Screenshot after each step.
Start recording, open Instagram, scroll the feed and open my profile, stop recording.

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_skill explores 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-run is 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-run has 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.

    [The console and a real iPhone side by side during a full chess game: each move is logged as it is played, ending in checkmate against the Maximum bot on Chess.com]

    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

mirroirphone-harnessmobile-mcpAppium
Physical iPhone, no Developer Mode or signingYes — stock phone via iPhone MirroringYes — stock phone via iPhone MirroringUSB-connected, trusted device (see its README)No — WebDriverAgent via Xcode, Developer Mode
App Store apps you can't buildYesYesYesYes, on a provisioned device
Your own iPhone from any MCP clientYesNo — its MCP server is cloud-only; local phones use its CLIYesThrough the separate appium-mcp
Replay without an LLMYes — compiled skills, mirroir testPython scripts you write; no recorder or compiled replayNo — the agent drives every runYes — test code
Distinct drift verdictYes — DRIFT, exit 65NoNoNo — pass / fail
One scenario across iPhone + web + HTTPYes — mirroir-runNoNoVia your own test code
AndroidNo — an emulator window can be driven only as a generic macOS windowYesYesYes
iOS SimulatorNoNoYesYes
Hosted cloud phonesNoYes — Phone Harness CloudYes — Mobile Next CloudVia third-party device clouds

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. blockedApps keeps 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: false turns 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

InstallEvery install path, per-client setup, updating, uninstalling
OnboardingSetup written for the agent: prerequisites, install, doctor, and a read-only proof
Tools ReferenceAll 39 tools, parameters, and input workflows
How mirroir sees the screenThe observe, reason, act loop; OCR, icon detection, AI vision
Skills, exploration and CIAPP.md, skills, generate_skill, mirroir test, compiled replay, AI diagnosis, patterns
mirroir-runReplay across iPhone, web, HTTP and subprocesses; GitHub Actions; Maestro import
GamesShell and scene, the scene: step, game controls
CLI ToolsRecorder, doctor, keyboard layout
ConfigurationAll settings: screen intelligence, input timing, exploration, AI providers
FAQSecurity, focus stealing, keyboard layouts, embacle/vision mode
SecurityThreat model, kill switch, and recommendations
PermissionsFail-closed permission model and config file
Known LimitationsFocus stealing, keyboard layout gaps, autocorrect
Patterns & SkillsElement patterns, screen recipes, APP.md app descriptions, and the detection pipeline
Exploring a New AppStep-by-step playbook for onboarding a new app — APP.md, permissions, components, exploration goal
YOLO Icon DetectionRecommended YOLO models, CoreML setup, and configuration
Compiled SkillsZero-OCR skill replay
TestingFakeMirroring, integration tests, and CI strategy
Web and iOS in one scenarioHow mirroir-run hands iOS blocks to mirroir-mcp, and how cross_surface compares a browser with a phone
Cross-surface replaymirroir-run scenario grammar, .mirroir/ plan, SAMPLE.md, judge profiles, CI
TroubleshootingDebug mode and common issues
ContributingHow to add tools, commands, and tests
Skills MarketplaceSkill format, plugin discovery, and authoring

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
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:軟體包安裝失敗。

版本歷史

8
  1. v0.45.0最新Nov 6, 2026
  2. v0.44.0Nov 5, 2026
  3. v0.43.0Nov 4, 2026
  4. v0.42.0Oct 30, 2026
  5. v0.41.0Oct 29, 2026
  6. v0.40.1Oct 5, 2026
  7. v0.40.0Oct 4, 2026
  8. v0.39.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分