A Model Context Protocol (MCP) server that provides Xcode-related tools for integration with AI assistants and other MCP clients.
Easiest way to install XcodeBuildMCP is to use Smithery to install it from the registry. Copy and paste one of the following commands into your terminal.
npx -y @smithery/cli@latest install cameroncooke/xcodebuildmcp --client client-nameImportant
Due to a Smithery limitation the AXe library isn't bundled with Smithery installs, instead to ensure UI-automation tools work please install AXe and ensure it's globally available by issuing brew install cameroncooke/axe/axe, see AXe for more details.
Cursor
npx -y @smithery/cli@latest install cameroncooke/xcodebuildmcp --client cursorCodex CLI
npx -y @smithery/cli@latest install cameroncooke/xcodebuildmcp --client codexClaude Code
npx -y @smithery/cli@latest install cameroncooke/xcodebuildmcp --client claude-codeClaude Desktop
npx -y @smithery/cli@latest install cameroncooke/xcodebuildmcp --client claudeVS Code
npx -y @smithery/cli@latest install cameroncooke/xcodebuildmcp --client vscodeWindsurf
npx -y @smithery/cli@latest install cameroncooke/xcodebuildmcp --client windsurfFor other clients see: Smithery XcodeBuildMCP, for other installation options including manual installation see Getting Started
- macOS 14.5 or later
- Xcode 16.x or later
- Node.js 18.x or later
- XcodeBuildMCP requests xcodebuild to skip macro validation to avoid errors when building projects that use Swift Macros.
- Device tools require code signing to be configured in Xcode. See docs/DEVICE_CODE_SIGNING.md.
XcodeBuildMCP uses Sentry for error telemetry. For more information or to opt out of error telemetry see docs/PRIVACY.md.
- Getting started: docs/GETTING_STARTED.md
- Configuration and options: docs/CONFIGURATION.md
- Tools reference: docs/TOOLS.md
- Troubleshooting: docs/TROUBLESHOOTING.md
- Privacy: docs/PRIVACY.md
- Contributing: docs/dev/CONTRIBUTING.md
This project is licensed under the MIT License - see the LICENSE file for details.
