New advertisers: 50% off your first month with code FIRSTMONTHSee slots
damiendrash avatar

iPhone MCP

damiendrash/iphone-mcp

Give an AI agent eyes and hands on a real iPhone over cable or Wi-Fi: screenshots, UI tree, taps, and app control.

tools
19
transport
STDIO
env vars
6
last updated
Nov 19, 2026
View on GitHub

What it does

  • Sees the screen with iphone_screenshot (scaled to iOS points) and iphone_ui_tree, and waits on iphone_wait_for instead of fixed delays
  • Acts with iphone_tap, iphone_tap_text, iphone_swipe, iphone_pinch, and iphone_type, plus Home and volume buttons through iphone_press_button
  • Launches and closes apps with iphone_launch_app and iphone_close_app, opens URLs and deep links with iphone_open_url, and keeps the screen awake while connected
  • Requires Developer Mode and UI Automation on the phone, a WebDriverAgent build signed with your own Apple ID, and Xcode on macOS (Linux and Windows run without it)
  • Designed for UI testing, app checks, and reading screen content on a physical device from an MCP client

Tools

19 tools

Public tool metadata for what this MCP can expose to an agent.

iphone_start_agentStart / stop WebDriverAgent (cable or Wi-Fi)

Start / stop WebDriverAgent (cable or Wi-Fi)

No parameter schema in public metadata yet.

iphone_stop_agentStart / stop WebDriverAgent (cable or Wi-Fi)

Start / stop WebDriverAgent (cable or Wi-Fi)

No parameter schema in public metadata yet.

iphone_statusConnection, screen size, lock state, keep-awake, foreground app

Connection, screen size, lock state, keep-awake, foreground app

No parameter schema in public metadata yet.

iphone_screenshotScreenshot scaled to iOS points – image pixels = tap coordinates

Screenshot scaled to iOS points – image pixels = tap coordinates

No parameter schema in public metadata yet.

iphone_ui_treeVisible elements with text and center point

Visible elements with text and center point

No parameter schema in public metadata yet.

iphone_wait_forWait until a text appears (or disappears) – no guessing of delays

Wait until a text appears (or disappears) – no guessing of delays

No parameter schema in public metadata yet.

iphone_tapTap, double-tap or long-press at coordinates

Tap, double-tap or long-press at coordinates

No parameter schema in public metadata yet.

iphone_tap_textTap the element showing a given text

Tap the element showing a given text

No parameter schema in public metadata yet.

iphone_swipeSwipe / scroll in any direction

Swipe / scroll in any direction

No parameter schema in public metadata yet.

iphone_scrollSwipe / scroll in any direction

Swipe / scroll in any direction

No parameter schema in public metadata yet.

iphone_pinchTwo-finger pinch to zoom in or out

Two-finger pinch to zoom in or out

No parameter schema in public metadata yet.

iphone_typeType into the focused field, optionally press Return

Type into the focused field, optionally press Return

No parameter schema in public metadata yet.

iphone_press_buttonHome, volume up, volume down

Home, volume up, volume down

No parameter schema in public metadata yet.

iphone_lockLock, or wake/unlock (without passcode)

Lock, or wake/unlock (without passcode)

No parameter schema in public metadata yet.

iphone_keep_awakeTurn the no-auto-lock behaviour on or off

Turn the no-auto-lock behaviour on or off

No parameter schema in public metadata yet.

iphone_list_appsList, launch (name or bundle ID), terminate apps

List, launch (name or bundle ID), terminate apps

No parameter schema in public metadata yet.

iphone_launch_appList, launch (name or bundle ID), terminate apps

List, launch (name or bundle ID), terminate apps

No parameter schema in public metadata yet.

iphone_close_appList, launch (name or bundle ID), terminate apps

List, launch (name or bundle ID), terminate apps

No parameter schema in public metadata yet.

iphone_open_urlOpen a URL or deep link

Open a URL or deep link

No parameter schema in public metadata yet.

Configuration

IPHONE_MCP_UDID

UDID of the iPhone to use when several are connected

IPHONE_MCP_MODE

Connection mode: auto (default), usb or wifi

IPHONE_MCP_WDA_URL

Fixed WebDriverAgent URL, e.g. http://192.168.1.42:8100

IPHONE_MCP_KEEP_AWAKE

Keep the screen from auto-locking while connected (1 = default, 0 = off)

IPHONE_MCP_AUTO_RECOVER

Restart WebDriverAgent and retry once after a crash or lost connection (1 = default, 0 = off)

IPHONE_MCP_STOP_ON_EXIT

Stop WebDriverAgent when the last iphone-mcp server exits (1 = default, 0 = keep running)

Readme

Details

Repository
github.com/damiendrash/iphone-mcp
Website
github.com/DamienDrash/iphone-mcp
Categories
Mobile Apps, Testing & QA
Package
iphone-mcp
Transport
STDIO
Registry
MCP registry, active

Similar to iPhone MCP

More Mobile Apps