@iphone-use/mcp
v0.1.3
Published
iPhone Tools for MCP
Readme
iPhone use
Make iPhone accessible to AI agents.
Prerequisites
Xcode (15+)
Apple developer account
iPhone (iOS 17+)
QuickStart
Configure your iPhone
- Enable Developer Mode: open Settings > Privacy & Security > Developer Mode. You can check Enabling Developer Mode on a device for more information.
- Enable Automation: open Settings -> Developer -> Enable UI Automation
Install WDA
- Clone the WebDriverAgent repository and open it in Xcode
- Select the WebDriverAgentRunner scheme
- Select the scheme as Product -> Scheme -> WebDriverAgentRunner (or WebDriverAgentRunner_tvOS for tvOS)
- Select your device in Product -> Destination
- Select Product -> Test to build and install the WDA app
You should now see "Automation Running" on your iPhone screen
Configure MCP Server
Open Xcode, select Window -> Devices and Simulators, select your target device in the side panel, and you will see the "Identifier" of the device. Fill this value into the config below.
Install the iPhoneUSE MCP server with your client.
{
"mcpServers": {
"iPhone-use": {
"command": "npx",
"args": [
"-y",
"@iphone-use/mcp"
],
"env": {
"TARGET_IPHONE_UDID": ... // Replace with the Identifier of the target device
}
}
}
}Credits
We would like to thank the following projects:
xcuitest-driver Source Code
xcuitest-driver Document
