Xcodebuild MCP Server
Perform iOS and macOS project builds via AI-driven command execution.
Data last scanned yesterday · Reviewed last month
Overview
Xcodebuild MCP Server enables AI agents to interact directly with the xcodebuild CLI, facilitating build operations for iOS and macOS development environments. It functions as both a command-line tool and a server, allowing integration into standard AI coding workflows through configuration files compatible with clients like Cursor and Claude Code. The tool requires macOS 14.5 and Xcode 16 or later. Developers can install it via Homebrew or npm, with optional agent skills available for improved navigation of the CLI and MCP interface.
Our verdict
With a security score of 76/100, this server is considered medium risk. A primary factor is that every installation grants full write access to the host machine without a read-only mode, meaning users should exercise caution when deploying it in environments with sensitive project files. It is best suited for developers working on local Apple-platform projects who prioritize official vendor maintenance and frequent repository activity.
- Maintained by the official Sentry organization
- Active development with commits seven days ago
- Large community support with 6,171 GitHub stars
- Small supply-chain surface with 11 direct dependencies
- Full write access granted upon every installation
- No detected OAuth support for scoped authentication
Setup
{
"mcpServers": {
"xcodebuildmcp": {
"args": [
"-y",
"xcodebuildmcp"
],
"command": "npx"
}
}
}Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.
- No read-only mode — running this grants full read/write access.
- No built-in authentication — anyone with access to this config can invoke every tool it exposes.
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| ChatGPT | ||||
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf |
Frequently asked questions
›What are the system requirements for running XcodeBuildMCP?
You need macOS 14.5 or later, Xcode 16.x or later, and Node.js 18.x or later.
›Can I run the MCP server without a global installation?
Yes, most MCP clients can execute the server on demand using the command npx -y xcodebuildmcp@latest mcp.
›Do I need any special configuration to use device tools?
Yes, device tools require that code signing is properly configured in your Xcode project settings.
›How does this server handle Swift Macros during builds?
XcodeBuildMCP automatically requests xcodebuild to skip macro validation to prevent errors during the build process.
›Does this tool collect any data during use?
The server uses Sentry for internal runtime error telemetry only, and you can find opt-out instructions in the project documentation.
Alternatives
Changelog
- SecurityRelease v2.7.0
2026-07-23
- FixRelease v2.6.2
2026-06-02
- FixRelease v2.6.1
2026-06-02
- FixRelease v2.6.0
2026-06-01
- FixRelease v2.5.2
2026-05-12
- FixRelease v2.5.1
2026-05-08
- BreakingRelease v2.5.0
2026-05-07
- BreakingRelease v2.5.0-beta.1
2026-04-30
- FixRelease v2.3.2
2026-03-31
- FixRelease v2.3.1
2026-03-27
Badge
Maintain this server? Add the live badge to your README.