Skip to main content
MCP server CX Codex

mirroir-mcp — Claude Code MCP server: what it does, how to install

mirroir-mcp — an MCP server that lets an AI agent drive a real iPhone through macOS iPhone Mirroring: read the screen, tap, swipe, type. Useful for testing mobile apps.

Apache-2.0 ★ 400 updated 2026-10-23

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mirroir-mcp -- npx -y mirroir-mcp
Open on GitHub

What mirroir-mcp does

mirroir-mcp connects an agent to a real iPhone through macOS iPhone Mirroring. Each step runs as a loop. describe_screen returns the text on screen with tap coordinates, the model picks the next move, and tap, type_text or swipe carries it out. Then the agent looks again.

The server ships 38 tools. Besides the core ones there are press_back, press_home, spotlight, scroll_to (scrolls until a given text appears), reset_app (closes an app completely via the app switcher) and set_network. You can also write an APP.md file describing your app. The server reads it before exploring and uses it to set the screen type, auto-dismiss known popups and skip elements you list.

You need macOS 15+ and an iPhone connected through iPhone Mirroring. The first screenshot triggers macOS prompts for Screen Recording and Accessibility, and you grant both. Real-time games are out: iPhone Mirroring exposes a single pointer, so twin-stick controls will not work. Menus, shops and win screens can be driven like any other app UI.

What it helps with

  • run a login flow in an iOS app on a real iPhone and capture a screenshot after each step
  • ask an agent to send a message in Messages or add a Calendar event
  • walk through a game's menu and shop screens as a smoke test
  • scroll a long screen until a given text shows up
  • record completed steps for later replay

Example prompts for the agent

  • Using mirroir, open Expo Go on my iPhone, go into LoginDemo and try the login screen with a wrong password. Screenshot every step.
  • Call describe_screen and tell me what is on the iPhone right now.
  • Scroll Settings on the iPhone until General is visible, then open it.

How to install mirroir-mcp

Platform CLI

claude mcp add mirroir-mcp -- npx -y mirroir-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mirroir-mcp

How do I install mirroir-mcp in Claude Code?

Run claude mcp add mirroir-mcp -- npx -y mirroir-mcp. On the first screenshot macOS asks for screen recording and accessibility access.

What does mirroir-mcp do?

It lets an AI agent operate a real iPhone through macOS iPhone Mirroring. The agent reads on-screen text with coordinates, taps, swipes, types and scrolls to a target element.

What does mirroir-mcp need to run?

macOS 15+ and an iPhone connected via iPhone Mirroring. You also grant Screen Recording and Accessibility permissions when macOS asks on the first screenshot.

Similar MCP servers

All MCP servers for Mobile →

Project sponsors

Companies that keep this analytics open