Description

XcodeBuildMCP is a Model Context Protocol server that provides tools for building, running, and debugging iOS and macOS applications through Xcode. Developed by Cameron Cooke, it offers a comprehensive suite of tools for project discovery, simulator management, app deployment, and UI automation testing. The implementation supports both workspace and project-based builds, includes incremental build optimization through xcodemake integration, and features Sentry error reporting for reliability. It's particularly valuable for AI assistants helping with iOS/macOS development workflows, allowing them to build, test, and debug applications without requiring users to manually execute complex xcodebuild commands.

Installation

npx -y xcodebuildmcp
npm install xcodebuildmcp
git clone https://github.com/getsentry/xcodebuildmcp

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "xcodebuild": {
      "command": "npx",
      "args": [
        "-y",
        "xcodebuildmcp"
      ]
    }
  }
}