MCP SERVER · PHYSICAL AI
Give Claude, Codex, or Cursor Physical Hands on a Stock iPhone
Siri and Apple Shortcuts hit a sandbox wall the moment an app lacks an API. Here is how to bridge MCP coding agents to a real iPhone with 6.8ms local vision and fail-closed safety locks.
Direct Answer (TL;DR)
Run iphone-mcp mcp from tapveo/core and register it in Claude Desktop, Claude Code, Codex, or Cursor. Your AI agent gets deterministic tools (screenshot, tap, swipe, type, key, home_screen) backed by a $6 ESP32-S3 flashed at tapveo.com/flash—zero jailbreak, zero Mac required, and 100% local LAN privacy.
Why Siri, Shortcuts, and browser agents hit a wall
Most personal workflows live inside mobile apps that expose no public API. Even Apple Shortcuts cannot tap arbitrary UI buttons inside another app, and browser-use agents only see desktop web pages.
Meanwhile, naive "screenshot-to-cloud-VLM" phone agents take 1–5 seconds per tap because every cursor correction burns cloud tokens. Tapveo splits the stack cleanly:
- AI Brain (MCP Client): Decides what to do next from a screenshot and calls high-level actions like
tap(x, y)ortype("..."). - Local Optical Reflex (6.8ms Rust CV): Tracks the iOS AssistiveTouch ring cursor locally over AirPlay with
~0.1–1.3ptprecision and 0 LLM tokens spent on cursor alignment. - Physical Hands ($6 ESP32-S3): Executes real USB HID (up to 71Hz) or BLE HID clicks, drags, and keystrokes.
Exact MCP Configuration (Claude Desktop & Cursor)
First, flash your Seeed Studio XIAO ESP32-S3 in 20 seconds at /flash and build the Rust host (cargo build --release). Then add iphone-mcp to your MCP client:
{
"mcpServers": {
"iphone-mcp": {
"command": "/path/to/core/host/target/release/iphone-mcp",
"args": ["mcp"],
"env": {
"RUST_LOG": "info"
}
}
}
}
Once connected, your agent has access to 12 native MCP tools: status, screen_info, screenshot, tap, long_press, swipe, type, key, home_screen, pointer_home, scroll, and move_to.
Fail-Closed Safety Guardrails (Built for Real Hardware)
Giving an AI agent access to a physical phone raises an obvious question: what stops it from misclicking a sensitive button or running unsupervised? Tapveo is engineered fail-closed:
- 100% Local Execution: AirPlay frames, Rust CV, and HID packets stay strictly inside your local LAN.
- HMAC-SHA256 Auth: Wired TCP control (
port 7777) authenticates every session against a 64-hex secret stored in ESP32 NVS. - Foreground Verification & Red-Zone Pause: Workflows verify the expected foreground screen before live input and pause for human confirmation before irreversible actions.
- Instant Emergency Hold: Issuing
holdimmediately freezes all physical HID output until a human clears it.
Comparison: Physical iPhone AI Harnesses
| Approach | OS Host | Loop Latency | Safety & Privacy | Setup |
|---|---|---|---|---|
| Tapveo (MCP + $6 ESP32-S3) | Linux, Windows, macOS | 6.8ms CV / 71Hz HID (0 tokens) | 100% local LAN, HMAC-SHA256, foreground guard, hold |
20s Web Flasher + Rust MCP |
| macOS iPhone Mirroring Harnesses | macOS 15+ only | VLM-bound (~1–5s/turn) | Local host, depends on script | Mac + iOS 18+ |
| Pure Cloud VLM Clickers | Varies | 1–5s per cloud model turn | Screenshots sent to cloud APIs | API keys + heavy token burn |
| DIY Basic ESP32 Scripts | Varies | Open-loop / slow polling | Often unauthenticated serial/TCP | Manual Arduino/PlatformIO |
Frequently Asked Questions
Why not just use Apple Shortcuts or Siri for iPhone automation?
Apple Shortcuts cannot click arbitrary UI buttons inside apps that lack shortcut intents, and background triggers often pause for unlock prompts. Tapveo works visually and physically on stock iOS.
How fast is Tapveo compared to pure cloud VLM phone agents?
Cloud VLM agents spend 1–5s per turn. Tapveo tracks the cursor locally in 6.8ms and drives USB HID up to 71Hz with 0 LLM tokens consumed during movement.
How does Tapveo prevent accidental clicks on sensitive screens?
Everything stays on your local LAN with HMAC-SHA256 auth, foreground verification guards, human-in-the-loop pause points, and an instant hold emergency freeze.
Can I test the 71Hz closed-loop speed myself?
Yes—try the live Tapveo Arena (/bench) on your phone right now to see how your reflexes compare to the $6 ESP32-S3.
Connect your AI agent to a real iPhone today.
Apache-2.0 open core, 20-second browser flasher, and zero proprietary lock-in.