MCP
XcodeBuildMCP
An MCP server that gives AI agents direct access to Xcode build, test, and diagnostic workflows.
When to Use
You're tired of copy-pasting Xcode build logs into chat. This lets the agent trigger builds and read compiler errors on its own.
Use Cases
- Using XcodeBuildMCP, fix this build error and rebuild until it compiles
- Run my unit tests and tell me which ones failed and why
- I'm migrating to Swift 6. Fix each concurrency error and rebuild after every change
Installation
Claude Code
claude mcp add XcodeBuildMCP -- npx -y xcodebuildmcp@latest mcp
Cursor / Claude Desktop
{"mcpServers": {"XcodeBuildMCP": {"command": "npx", "args": ["-y", "xcodebuildmcp@latest", "mcp"]}}}
Homebrew
brew tap getsentry/xcodebuildmcp && brew install xcodebuildmcp
Prerequisites
- macOS 14.5+
- Xcode 16+
- Node.js 18+ (for npx)