iPhone MCP for VS Code
io.github.damiendrash/iphone-mcp
See and control a real iPhone over USB or Wi-Fi: screenshots, UI tree, taps, swipes, typing, apps.
client:VS Code
transport:stdio
runtime:pypi
Install iPhone MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "iphone-mcp-udid",
"description": "IPHONE_MCP_UDID",
"password": true
},
{
"type": "promptString",
"id": "iphone-mcp-mode",
"description": "IPHONE_MCP_MODE",
"password": true
},
{
"type": "promptString",
"id": "iphone-mcp-wda-url",
"description": "IPHONE_MCP_WDA_URL",
"password": true
},
{
"type": "promptString",
"id": "iphone-mcp-keep-awake",
"description": "IPHONE_MCP_KEEP_AWAKE",
"password": true
},
{
"type": "promptString",
"id": "iphone-mcp-auto-recover",
"description": "IPHONE_MCP_AUTO_RECOVER",
"password": true
},
{
"type": "promptString",
"id": "iphone-mcp-stop-on-exit",
"description": "IPHONE_MCP_STOP_ON_EXIT",
"password": true
}
],
"servers": {
"iphone-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"iphone-mcp"
],
"env": {
"IPHONE_MCP_UDID": "${input:iphone-mcp-udid}",
"IPHONE_MCP_MODE": "${input:iphone-mcp-mode}",
"IPHONE_MCP_WDA_URL": "${input:iphone-mcp-wda-url}",
"IPHONE_MCP_KEEP_AWAKE": "${input:iphone-mcp-keep-awake}",
"IPHONE_MCP_AUTO_RECOVER": "${input:iphone-mcp-auto-recover}",
"IPHONE_MCP_STOP_ON_EXIT": "${input:iphone-mcp-stop-on-exit}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs