iPhone-use
A Mac app that mirrors a real iPhone over USB and lets you, or an AI agent through MCP, control it with a mouse, keyboard and Bluetooth input. No jailbreak or iPhone app needed. Not notarised, and most guides are in Chinese.
View on GitHub ↗- Stars
- ★ 36
- Last commit
- 30 Nov 2026
- Maintenance
- Active
- Licence
- MIT
- Category
- MCP Servers
- GitHub
- YueChen-C/
iPhone-use
Overview
iPhone Use shows your iPhone's screen on your Mac over USB and sends input back, either as Bluetooth LE mouse and keyboard events (with AssistiveTouch turned on) or, experimentally, through a native USB touch path. The same app runs a local HTTP API and an MCP server, so an agent can list devices, take screenshots, read the accessibility tree, find text by OCR, and tap, swipe and type. Several iPhones can be connected at once, each with its own window.
The project is independent of Apple. The README says to use it only on devices you own or are authorised to control, to confirm sensitive actions such as sending messages, making payments or deleting data, and to review what device data goes to third-party AI services.
iPhone-use is licensed under the MIT licence.
Features
- Multi-device USB mirroring in a native macOS workbench, with a live viewer page at http://127.0.0.1:7390/viewer.
- Two input paths per device: Bluetooth LE HID (the default before iOS 26) or experimental USB touch (the default from iOS 26). USB failures do not silently fall back.
- MCP tools including list_devices, set_input_backend, screenshot, get_ax_tree, ocr_screen, tap_text, home, power, volume_up and volume_down, with tap, swipe and typing tools, and an act call that runs ordered steps and stops on the first failure.
- A native accessibility tree read over USB, with no runner or WebDriverAgent on the phone. The docs say only iOS 15.4 and 26.5 have been exercised on physical devices.
- ocr_screen and tap_text for finding and tapping text on screen, plus Chinese text entry by sending pinyin keystrokes to the phone's input method (the docs say to check the candidates before confirming).
- A Codex skill, $iphone-use, and recovery scripts that restart the app if it stops.
- An optional quiet background mode that keeps the HTTP and MCP service running after the windows close.
Requirements
- macOS 14 or later, on Apple Silicon or Intel.
- An iPhone connected with a USB data cable, unlocked and trusted, with camera and Bluetooth permissions granted on the Mac.
- For Bluetooth input: AssistiveTouch and pairing. For experimental USB touch: iOS 17 or later, a compatible Apple Silicon Mac, Developer Mode and a compatible developer disk image.
- The released build is not notarised, so macOS will ask you to confirm it in Privacy & Security.
Install
Download iPhoneUse-v1.0.3-macOS-universal.zip from the Releases page, unzip it and move iPhoneUse.app to Applications. (The README also describes running from source with Swift.)
Connect your iPhone, tap Trust, and choose an input backend in the workbench.
Keep the app running and register the MCP server with codex mcp add iphone-use -- /Applications/iPhoneUse.app/Contents/MacOS/iphone-use mcp.
Example
Keep the app running and ask your agent: "List the connected iPhones, take a screenshot, then open Settings and read the iOS version." The agent can use list_devices, screenshot and tap_text in turn. The user guide covers calibration, multiple devices and the HTTP API, but it is in Chinese.
Works with
Listed in
- github.com/YueChen-C/iPhone-use
- github.com/YueChen-C/iPhone-use/blob/main/README.en.md
- github.com/YueChen-C/iPhone-use/releases
Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.
More in this category
Mobile MCP
Drives native mobile apps on simulators, emulators and real devices over MCP, for iOS and Android alike.
MobileBuildMCP
Sentry's MCP server and CLI for building, testing, running and debugging iOS and macOS projects from an agent. Formerly XcodeBuildMCP.
agent-device
Lets coding agents see and drive apps on iOS simulators and real devices (Android too) through accessibility snapshots, taps, typing and screenshots. Comes as a CLI, MCP server and Node API.
SwiftAgents