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.

See this server's health data →

Install / Connect

claude mcp add xcodebuildmcp -- npx -y xcodebuildmcp

Follow 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

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.