MCP server and CLI (now published as MobileBuildMCP by Sentry, formerly XcodeBuildMCP) for working on iOS and macOS projects. Agents can build and run on simulators, devices and macOS, launch apps, capture logs and run tests. Requires macOS 14.5+ and Xcode 16+.
Also available as
Connect
- 1Add the server to Codex
codex mcp add xcodebuildmcp -- npx -y mobilebuildmcp@latest mcp
Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.
Tools 7
build_run_simbuild_run_devicebuild_run_macoslaunch_app_simlaunch_app_devicelaunch_mac_applist_schemesThings to ask
- “Build and run my app on the iPhone 17 simulator”
- “List the schemes in this Xcode project”
- “Run the unit tests and summarize failures”
- “Launch the macOS app and capture logs”