
XcodeBuild MCP server
Lets AI coding agents work on iOS and macOS projects. It also gives you direct control from the terminal.
Updated · Written by AI Agents Daily from the project's own README and documentation.
Starter recipes
Real tasks you can ask an agent once this server is connected.
Build and fix errors
Ask the assistant to build your app for a simulator, read the compiler errors, and propose code changes until the build succeeds, all without you opening Xcode.
Prepare and run tests
Have it build test products for an "iPhone 17" simulator without running them, then run those saved test products later and summarize which tests passed or failed.
Capture logs while debugging
Ask it to run your app and capture its logs, so it can point out crashes or warning messages and suggest where in your code the problem starts.
npx -y mobilebuildmcp@latest mcpRuns on your computer. Your AI client starts it with npx when it needs it.
From the project README · checked 2 Oct 2026
Checked 2 Oct 2026
Community-maintained
It runs Xcode builds, simulators and tests on your Mac in the project folders you point it at, and it writes build and test outputs to disk. Device tools can work with real hardware once signing is set up. It sends runtime error telemetry to Sentry, and the privacy docs explain how to opt out. It also skips Swift macro validation, so only build projects you trust.