- How you use it
- Your agent calls its tools
- What it can do
- installs software · writes files · network · runs shell
- What's inside
The option
| Option | 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_simis 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,simctland 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 buildas 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, andMOBILEBUILDMCP_SENTRY_DISABLED=trueas 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_simandsnapshot_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
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.