MCP

XcodeBuildMCP

An MCP server that gives AI agents direct access to Xcode build, test, and diagnostic workflows.

iOS/macOS 4.5k stars Updated today
View on GitHub

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

  1. Using XcodeBuildMCP, fix this build error and rebuild until it compiles
  2. Run my unit tests and tell me which ones failed and why
  3. 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)

Related Tools

Explore More