
iphone-cli (iph)
Control a real iPhone on iOS 27+ through its accessibility tree, with no Xcode or WebDriverAgent.
- GitHub stars
- 118
- tools
- 21
- transport
- STDIO
- last updated
- Nov 20, 2026
What it does
- Reads screens with
iph_readandiph_find, and taps, swipes, pinches, scrolls, and types withiph_tap,iph_swipe,iph_pinch,iph_scroll, andiph_type - Launches and lists apps with
iph_launchandiph_apps, presses hardware buttons withiph_button, and sends keys withiph_key - Runs multi-step flows through
iph_batchandiph_script, records the screen withiph_record, and captures logs withiph_syslog - Connects over USB or the same Wi-Fi, with setup checks in
iph_doctorand the phone's Developer Mode required - Designed for testing and automating iPhone apps from an AI agent on macOS or Windows, outside simulators and Android
Tools
21 toolsPublic tool metadata for what this MCP can expose to an agent.
iph_connectVerify and save the selected paired phone's IP.
Verify and save the selected paired phone's IP.
No parameter schema in public metadata yet.
iph_readElements on screen.
Elements on screen.
No parameter schema in public metadata yet.
iph_findElements matching a selector.
Elements matching a selector.
No parameter schema in public metadata yet.
iph_tapTap the middle of an element, or a point.
Tap the middle of an element, or a point.
No parameter schema in public metadata yet.
iph_swipeSwipe.
Swipe.
No parameter schema in public metadata yet.
iph_pinchTwo fingers, spreading or pinching them to zoom in or out.
Two fingers, spreading or pinching them to zoom in or out.
No parameter schema in public metadata yet.
iph_scrollOne step, or until an element shows.
One step, or until an element shows.
No parameter schema in public metadata yet.
iph_typePaste text into the field that has the keyboard (any language, emoji).
Paste text into the field that has the keyboard (any language, emoji).
No parameter schema in public metadata yet.
iph_keySend a key such as return, esc, tab or cmd+a.
Send a key such as return, esc, tab or cmd+a.
No parameter schema in public metadata yet.
iph_buttonPress hardware buttons.
Press hardware buttons.
No parameter schema in public metadata yet.
iph_launchLaunch an app, with optional arguments and environment variables.
Launch an app, with optional arguments and environment variables.
No parameter schema in public metadata yet.
iph_appsList apps.
List apps.
No parameter schema in public metadata yet.
iph_screenshotPNG capture.
PNG capture.
No parameter schema in public metadata yet.
iph_recordRecord the screen to an MP4 file while other commands run.
Record the screen to an MP4 file while other commands run.
No parameter schema in public metadata yet.
iph_batchA JSON array of steps in one call.
A JSON array of steps in one call.
No parameter schema in public metadata yet.
iph_scriptRun JavaScript as given.
Run JavaScript as given.
No parameter schema in public metadata yet.
iph_runRun a saved script.
Run a saved script.
No parameter schema in public metadata yet.
iph_scriptsList saved scripts.
List saved scripts.
No parameter schema in public metadata yet.
iph_doctorPreparation and checks.
Preparation and checks.
No parameter schema in public metadata yet.
iph_dndTurn Do Not Disturb on, put the earlier Focus back, or show the current state.
Turn Do Not Disturb on, put the earlier Focus back, or show the current state.
No parameter schema in public metadata yet.
iph_syslogCapture the phone's log in memory while other commands run.
Capture the phone's log in memory while other commands run.
No parameter schema in public metadata yet.
Readme
iphone-cli (iph)
Let AI agents read and operate any app on a real iPhone — straight from your terminal.
No Xcode. No WebDriverAgent. No app installed on the phone. 100% Rust.
- Direct Apple developer services — connects over USB or Wi-Fi to the same accessibility and HID services Xcode uses, with no signing or test runner
- Accessibility tree, not screenshots — reads structured UI elements cleanly, and runs multi-step flows in one call with a built-in QuickJS engine (
iph script) - Agent-ready — CLI + MCP server (
iph mcp) + safety-first outcomes (done/not_sent/unknown) - Single native binary (macOS & Windows) — no Python, Node.js, or Appium runtime; install one binary and target a real iPhone on iOS 27+
Website · llms.txt · crates.io · 한국어
iphone-cli demo
Details
- Repository
- github.com/hyunseob/iphone-cli
- Website
- hyunseob.github.io/iphone-cli
- Categories
- Mobile Apps, Testing & QA
- Package
iphone-cli- Transport
- STDIO
- Registry
- MCP registry, active
Similar to iphone-cli (iph)
More Mobile Apps
iPhone MCPdamiendrashGive an AI agent eyes and hands on a real iPhone over cable or Wi-Fi: screenshots, UI tree, taps, and app control.
phonedriverhridaya423344 starsLets an AI agent see and control Android phones and iOS simulators through numbered screen snapshots.
iOS Simulatorjoshuayoes2.2K starsGive the iOS Simulator tap, type, swipe, and screenshot control, plus accessibility-tree inspection and app management.
Mobile Mcpmobile-next10.8K starsAutomates iOS and Android simulators, emulators, and real devices through accessibility trees and screenshots.
Mobile Device MCPsrmorete54 starsRemote control of iOS and Android devices: taps, screenshots, UI trees, and app management.
Androidcursortouch939 starsRemote control of an Android device over ADB: tapping, typing, screenshots, and UI reads.