Xcodebuild MCP Server
iOS and macOS project development tools for AI coding agents.
Data last scanned yesterday · Reviewed yesterday
Overview
Xcodebuild MCP Server provides a bridge between AI agents and the Xcode build environment on macOS. It enables automation for iOS and macOS projects by offering both a CLI and an MCP server mode, allowing agents to interface directly with xcodebuild tasks.
Our verdict
With a security score of 53/100, this project is classified as high risk. The security architecture remains unverified, as it has not yet undergone editorial or authentication method reviews. Users should exercise caution, as the tool is community-maintained rather than vendor-backed, and its integration with system-level build tools necessitates careful deployment in sensitive development environments.
- Supports active development with daily commits
- Small supply-chain footprint with 11 direct dependencies
- Licensed under the permissive MIT license
- Large community backing with over 6,000 GitHub stars
- Not maintained by the official vendor
- Read-only and authentication modes remain unreviewed
- Lacks external editorial security validation
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.
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.