FormingMCP serverclaude-codecodexcursorclaude-desktoppublished fresh until

iOS Simulator: how do I let my coding agent build, run and tap my app?

Summary MobileBuildMCP (called XcodeBuildMCP until v2.7.1, September 2026) is an open-source (MIT) MCP server and CLI from Sentry that lets Claude Code, Codex or Cursor build an Xcode project, launch it in the iOS Simulator, read logs, take screenshots and tap or swipe through the UI. macOS with Xcode 16+ only.

Not for connecting Apple's Xcode MCP; see xcode-26-3-apple-mcp-for-claude-code

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
AMCP server · v2.7.1+wwfix.1MobileBuildMCP (formerly XcodeBuildMCP)
How you use itYour agent calls its tools
What it can doinstalls software · writes files · network · runs shell
What's inside
AMCP server · v2.7.1+wwfix.1MobileBuildMCP (formerly XcodeBuildMCP)
How you use it
Your agent calls its tools
What it can do
installs software · writes files · network · runs shell
What's inside

What this thread does

What it is

MobileBuildMCP (getsentry/MobileBuildMCP, MIT) gives a coding agent the Xcode loop it usually can't run itself. Its MCP tools are grouped into workflows:

  • Build and run: list schemes, build for a simulator, a device or macOS, install and launch the app with logs captured (build_run_sim is the one agents use most)
  • Test: run XCTest suites on a simulator, device or macOS, and read coverage reports
  • UI automation: capture a semantic runtime UI snapshot (snapshot_ui), tap, swipe, long-press, type text, take screenshots and record video
  • Simulator control: boot, erase, set location, appearance and status bar
  • Debugging: attach LLDB to a running simulator app, set breakpoints, read the stack and variables
  • Swift packages and new project scaffolding

The same package is also a CLI (mobilebuildmcp simulator build ...), and it ships two optional agent skills that teach the agent how to use the MCP tools or the CLI.

The project was called XcodeBuildMCP until it was renamed in v2.7.1 (23 September 2026). Older posts, tutorials and releases up to v2.7.0 (including the older xcodebuildmcp npm package and Homebrew formula) use that name; v2.7.1 and later use mobilebuildmcp.

When to use it

Use it when an agent writes Swift or SwiftUI code and you want it to compile, run and check the app itself instead of you pasting build errors back. Typical asks: "build and run the app, then check the settings screen in dark mode" or "reproduce this crash and tell me where it happens". It works with any MCP client, so the same setup serves Claude Code, Codex and Cursor. Claude Code's desktop app now also has its own iOS Simulator panel; some developers report it handles multi-touch gestures better, while they keep MobileBuildMCP for builds, logs and debugging.

Caveats

  • macOS only: macOS 14.5+, Xcode 16+ and Node.js 18+ (Node.js is not required for Homebrew installation). Xcode is free, but running on a physical device needs code signing set up in Xcode.
  • Builds are heavy: people report hot, loud laptops on older Apple Silicon Macs during long agent sessions.
  • It runs xcodebuild, simctl and LLDB on your machine and writes build artifacts. Try it on a project in git.
  • Telemetry is on by default: crash reports about the server's own faults go to Sentry (paths are redacted; tool inputs, outputs and source code are not sent). The install steps below turn it off with MOBILEBUILDMCP_SENTRY_DISABLED=true.
  • The 2.7.0 release changed build results to schema version 3 and made builds follow the scheme's configuration instead of always Debug. Check any scripts that parse its JSON output.

Found via @camsoft2000 (Cameron Cooke, the tool's author, 24 July 2026).

Sources

Primary sources, read on 18 October 2026: the MobileBuildMCP repository (README and releases via the GitHub API) and its Privacy and Telemetry page.

  • Confirms: MIT licence, a single package that is both a CLI and an MCP server, macOS 14.5+, Xcode 16+ and Node 18+ (Node is not required for Homebrew installation), device tools needing code signing, the two optional skills, mobilebuildmcp simulator build as a CLI form, Sentry error telemetry limited to the server's own faults with home paths redacted, no tool inputs, outputs or source code sent, and MOBILEBUILDMCP_SENTRY_DISABLED=true as the opt-out. The releases list shows v2.7.0 on 23 July 2026 and v2.7.1 on 23 September 2026.
  • Not confirmed here: the per-tool names such as build_run_sim and snapshot_ui, the rename history before v2.7.1, the 2.7.0 schema v3 change, and the user reports about heat and multi-touch.

Started from a post by @camsoft2000, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in claude code

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# iOS Simulator: how do I let my coding agent build, run and tap my app?
Summary: MobileBuildMCP (called XcodeBuildMCP until v2.7.1, September 2026) is an open-source (MIT) MCP server and CLI from Sentry that lets Claude Code, Codex or Cursor build an Xcode project, launch it in the iOS Simulator, read logs, take screenshots and tap or swipe through the UI. macOS with Xcode 16+ only.

## Options
- A · MobileBuildMCP (formerly XcodeBuildMCP) · early, no verdict yet · installs software · writes files · network · runs shell
Copy for agent
get the whatworks thread ios-app-build-run-simulator-agent and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread ios-app-build-run-simulator-agent

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · MobileBuildMCP (formerly XcodeBuildMCP)

MCP server and CLI for iOS and macOS projects: build, run and test on simulators, devices and macOS, capture logs, drive the Simulator UI (tap, swipe, type, screenshot, accessibility tree) and debug with LLDB. macOS 14.5+, Xcode 16+, Node 18+.

Format
MCP server
Source
github:getsentry/MobileBuildMCP
Pinned
v2.7.1+wwfix.1 · d13ff0c707b0
Content hash
d13ff0c707b06817
Audit
scan passed
Can do
installs software · writes files · network · runs shell
Works with
claude-code · codex · cursor · claude-desktop
Check
Server is registered for this project, pinned to 2.7.1; The registered server starts over stdio and answers an MCP tools/list (24 tools); Xcode command-line build tools are installed; At least one iPhone simulator is available; Node.js 18 or newer
Author
@cameroncooke
Kudos
0
Are you @cameroncooke? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package mobilebuildmcp before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package mobilebuildmcp
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp