XcodeBuild MCP Server
XcodeBuildMCP hands Xcode's command-line capabilities to your AI: build projects, run tests, launch and manage simulators, read build errors. During iOS/macOS development the AI can trigger a build and see why it failed, instead of waiting for you to copy the error out of Xcode.
For Apple-platform developers this folds the edit-switch-to-Xcode-copy-error loop into the conversation.
Install / Connect
claude mcp add xcodebuildmcp -- npx -y xcodebuildmcpFollow the official README; env and args vary per server.
Works with these clients
- Claude Desktopnpx
- Claude Codenpx
- Cursornpx
- VS Codenpx
- Windsurfnpx
Derived from the registry manifest (package type and transport) — we have not installed it ourselves. Check the official README before relying on it.
Why use it
Good for: developers using AI to assist iOS/macOS work who want the AI to run builds and tests itself to verify changes.
Before connecting: needs a macOS environment with Xcode installed. It's a local stdio server with a small credential surface — it drives your local Xcode and does not touch remote services.
Similar / alternative servers
io.github.blackaxgit/agent-mcp-hub
One MCP server bridging the Codex, Cursor, OpenCode, Claude, and Antigravity CLI
mcp-server-mysql
A Model Context Protocol server that provides read-only access to MySQL database
chroma-mcp
A Model Context Protocol (MCP) server implementation that provides database capa
io.form/formio-uag
The Universal Agent Gateway (UAG) enables in-process agentic automation using Fo
Frequently Asked Questions
Can it edit my code?
It provides build, test and simulator capabilities. Editing is done by the AI through other tools (like a filesystem server); this one verifies.
Does it require Xcode?
Yes. It essentially wraps xcodebuild and related command-line tools as MCP tools, so without Xcode there are no underlying commands to call.