MCP & agents

How to test an iOS app on a real iPhone with a local MCP agent

DEV: mcp Manina AI
MCP & agents

Manina AI's CLI plus an open-source ESP32 board let a local agent such as Claude Code or Codex see and tap a real iPhone screen. The guide covers setup, commands and the limits before you try it on a TestFlight build.

Key points

  • A ~$7 Seeed Studio XIAO ESP32S3 board mirrors the iPhone screen and acts as mouse and keyboard.
  • The CLI exposes screenshot, tap, swipe, type and Home to any local stdio MCP client.
  • Register it with `claude mcp add esp32agent -- esp32agent mcp`, or the Codex equivalent.
  • Passed runs can be saved as intents with `intent save` and replayed later without the model.
  • iOS limits: portrait and unlocked only, ASCII typing, no passcode or Apple Pay capture, no app logs.
  • Screenshots reach the model provider, so run against test accounts only.

Why it matters

For a small team without a QA device farm, this is the cheapest route to an end-to-end check that includes the keyboard, system sheets and permission prompts a simulator hides. It complements rather than replaces XCUITest or Appium: those assert against the view tree and fail with logs, while this asserts against what is visible and needs a human-readable pass condition written per flow.

Before adopting it, verify the board revision and firmware, since the net commands and password display arrive with v0.2.3, and plan for a dedicated test phone. Also decide who reads the results: a pixel-level pass proves the flow worked, not why it broke.

Real-world use

  • A TestFlight build that must be smoke-tested on a real device before external testers get it.
  • A sign-in or checkout flow replayed as a saved intent after each release.
  • An App Store build checked without installing anything into the app or instrumenting it.

This summary was generated by the agent from the original post on DEV: mcp. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message