Mirroir MCP logo

Mirroir MCP

Controls an iPhone through macOS iPhone Mirroring with screen inspection, taps, swipes, text entry, and navigation tools.

Install Mirroir MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mirroir-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mirroir-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y mirroir-mcp

npm error code EBADPLATFORM npm error notsup Unsupported platform for mirroir-mcp@0.45.0: wanted {"os":"darwin"} (current: {"os":"linux"}) npm error notsup Valid os: darwin npm error notsup Actual os: linux npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-11-10T15_15_51_743Z-debug-0.log

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

mirroir-mcp connects an AI agent to a real iPhone through macOS iPhone Mirroring, exposing screen inspection and interaction tools for iOS apps. Its observe-reason-act workflow combines Apple Vision OCR with actions such as tapping, swiping, typing, scrolling, and system navigation. Reach for it when an agent needs to explore, test, or demonstrate an iPhone app from a Mac, including scripted game smoke tests. It requires macOS 15 or later, an iPhone connected through iPhone Mirroring, and macOS Screen Recording and Accessibility permissions.

Use cases

  • Test an iOS login flow on a connected iPhone
  • Explore app screens and follow text-labelled controls
  • Record a mobile app walkthrough for replay
  • Run scripted game smoke tests through iPhone Mirroring

Key features

  • Apple Vision OCR with tap coordinates
  • Optional YOLO CoreML icon detection
  • Tap, swipe, type, scroll, and system navigation
  • Touch, pinch, rotation, and keyboard-assisted gestures
  • App reset, network toggling, and action timing
  • Recorded and compiled interaction workflows

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

19/19 checks healthy over the last 60d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · mirroir-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars335Stargazers on the source repository.
npm downloads6.2kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Directory activity14 viewsConfig copies, upvotes, and views on AllMCPs.

How Mirroir MCP works

What mirroir-mcp does

mirroir-mcp gives MCP-compatible AI agents control of an iPhone displayed through macOS iPhone Mirroring. Agents can inspect the visible screen, identify text and tap coordinates, then interact with the device using taps, swipes, text entry, and other gestures. This fits mobile app exploration, QA smoke tests, tutorial walkthroughs, and scripted demonstrations where the agent must work with a live device rather than an API.

The server also covers common iPhone and app lifecycle operations. It can navigate back, open the Home screen or App Switcher, invoke Spotlight, scroll until a target is visible, reset an app through the App Switcher, change network connectivity through Settings, and measure how long an action takes to reveal a target. Multiple window automation endpoints can be selected with target-management tools.

How it works

Interactions follow an observation loop. describe_screen captures the current state and returns detected text with coordinates that can be used for taps. Apple Vision OCR is the default local recognition backend. An optional YOLO CoreML model placed in ~/.mirroir-mcp/models/ adds detection for non-text elements such as icons, toggles, and other controls. The model can be used automatically, alongside Vision, or as a selected backend.

The agent chooses the next action from the screen description, and tools such as tap, type_text, and swipe perform it through the mirrored iPhone. Additional gesture support includes held touches, pinch, rotation, and keyboard-assisted controls for applications that accept mouse and keyboard input.

An APP.md file can provide app structure, tabs, expected obstacles, permissions, and items to skip. That information is used as context during exploration and can guide generated skills. Skill workflows can be recorded, compiled for replay, and tested against the live screen.

Setup and configuration

The supported host is macOS 15 or later with an iPhone connected through iPhone Mirroring. Install with the project installer, npx -y mirroir-mcp install, or Homebrew:

bash
brew tap jfarcand/tap && brew install mirroir-mcp

The server can also be built from a cloned repository with ./mirroir.sh. Standard MCP clients launch it over stdio with npx -y mirroir-mcp. Setup examples are provided for Claude Code, GitHub Copilot in VS Code, Cursor, and OpenAI Codex.

The first screenshot request triggers macOS prompts for Screen Recording and Accessibility access. Both permissions must be granted for screen capture and interaction.

Tools and capabilities

  • Inspect screens with OCR and optional CoreML icon detection.
  • Tap controls, enter text, swipe, scroll, and perform system navigation.
  • Hold, move, and release touch input for supported game interactions.
  • Use pinch and rotation gestures in compatible interfaces.
  • Switch between multiple automation targets.
  • Reset apps, toggle network connectivity, and measure action timing.
  • Record steps, save compiled replays, and calibrate component definitions.

Limitations and notes

The connection depends on macOS iPhone Mirroring and cannot be used as a device-independent mobile automation API. macOS windows have experimental support. Mirroring exposes a single pointer touch to apps, so touch-only games cannot receive two independent fingers; twin-stick and twitch gameplay are outside the intended scope. Game-oriented use is better suited to smoke tests, tutorials, and scripted demos than real-time play.

Vision-based scene analysis can be substantially more expensive than text-only screen descriptions because screenshots are sent for visual interpretation. An optional capture region and scale setting can reduce image size when a screenshot is necessary. App-specific instructions in APP.md can improve exploration by describing expected structure and obstacles.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mirroir MCP

mirroir-mcp is an MCP server that connects AI agents to a real iPhone through macOS iPhone Mirroring. Its main tools inspect screens with OCR, tap controls, swipe, enter text, scroll, navigate system UI, reset apps, and perform gestures for mobile app testing and exploration.

Install it with `npx -y mirroir-mcp install`, the shell installer, or Homebrew. Homebrew uses `brew tap jfarcand/tap && brew install mirroir-mcp`. You then configure the server as a stdio MCP process and grant macOS Screen Recording and Accessibility permissions when prompted.

Yes, mirroir-mcp works with Cursor through a project-level `.cursor/mcp.json` file. Configure the server with command `npx` and argument `-y mirroir-mcp`, then use it while the iPhone is connected through macOS iPhone Mirroring.

mirroir-mcp requires macOS 15 or later and an iPhone connected through iPhone Mirroring. macOS must also allow Screen Recording and Accessibility access so the server can capture and control the mirrored device.

Yes, but it is intended for game QA smoke tests, tutorial walkthroughs, and scripted demos rather than real-time play. It supports held touches, movement, pinch, rotation, and some keyboard-assisted controls, while single-pointer mirroring limits true multi-touch and twitch gameplay.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMirroir MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mirroir-mcp?style=directory)](https://allmcps.com/mcp/mirroir-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/mirroir-mcp"><img src="https://allmcps.com/api/badge/mirroir-mcp?style=directory" alt="Mirroir MCP on AllMCPs" /></a>