jfarcand/mirroir-mcp

Let your agent use your real iPhone: errands across your apps, automations, even games. Works from any MCP client through macOS iPhone Mirroring. No Developer Mode, no Xcode, no jailbreak.

What it solves

AI agents often can only read text or browse the web, but many real-world tasks live inside mobile apps. mirroir-mcp lets an AI agent operate a real, stock iPhone just like a person would — opening apps, tapping, typing, swiping, even playing games — without needing Developer Mode, Xcode, a jailbreak, or any special software on the phone. It works through Apple's iPhone Mirroring, so it can reach any app you have installed, including App Store apps you could never build yourself.

How it works

mirroir-mcp is a Model Context Protocol (MCP) server that connects to your existing coding agent or MCP client (Claude Code, Codex, Cursor, VS Code, etc.). It exposes 42 tools that the agent can call to interact with the mirrored iPhone screen. The agent reads the screen using OCR, icon detection, and AI vision, then decides what to do next. Tools include taps, typing, swipes, gestures like pinch and rotate, listening to audio, and more. Everything is fail-closed: without a permissions file, only read-only tools are exposed; any action that changes something on the phone requires explicit permission. The audio never leaves your Mac—it is transcribed locally. mirroir also supports 'skills' that capture a repeated workflow as a set of steps, which can be replayed later without an LLM, making tests deterministic and cost-free.

Who it's for

  • Developers and power users who want to automate tasks on their personal iPhone using AI agents.
  • Teams building end-to-end test automation that spans mobile, web, and backend, using the companion mirroir-run tool.
  • Anyone who wants to create AI-driven 'errands' across apps—like reading a commute time in Waze and posting it to Slack—without connecting APIs or writing special integrations.

Highlights

  • Works with a completely stock iPhone via macOS iPhone Mirroring; no Developer Mode, signing, or on-device agent.
  • Compatible with any MCP client, including Claude Desktop, Cursor, VS Code, and OpenClaw, with 42 ready-to-use tools.
  • “Listen” tool turns iPhone audio (reel narration, voice messages) into text, transcribed locally on the Mac.
  • Fail-closed security model: read-only by default, blocked apps, no password prompts, and a kill switch.
  • Skills and compiled replay allow a successful run to become a deterministic test that runs without an LLM in CI.
  • Cross-surface testing with mirroir-run can drive iPhone, web, HTTP endpoints, and subprocesses in one YAML scenario, and detect drift with a distinct exit code.

Related

  • Project
  • Project
  • Project
  • Project