MCP ConfigsMay 11, 2026·2 min read

XcodeBuildMCP — Xcode Build Tools for Agents

XcodeBuildMCP adds an MCP server + CLI so agents can build iOS/macOS projects, list tools, and capture logs. Install via brew or npm, then run init.

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Stage only · 29/100Stage only
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Single
Trust
Trust: Established
Entrypoint
README.md
Universal CLI install command
npx tokrepo install 95ba5976-c0ac-4530-9ede-f3cb418ba38d
Intro

Best for: iOS/macOS teams who want agents to run reproducible builds and diagnose Xcode issues with real logs

Works with: macOS 14.5+, Xcode 16.x, Node.js 18+ (npm path) or Homebrew; MCP-capable clients

Setup time: 10 minutes

Quant Data

  • Requires macOS 14.5+ and Xcode 16.x (repo)
  • Setup time ~10 minutes

How to Use It Well

Treat Xcode builds like a data pipeline: build → capture logs → extract the exact failing command and environment → fix → verify. The MCP toolchain helps the agent stay grounded.

Adoption Checklist

  • Start with one real task and keep the scope narrow
  • Capture a baseline: time-to-first-success and output quality
  • Version your config/skills so teammates stay in sync

Guardrails

Be explicit about code signing and device requirements. Many failures are environment/config related, not code logic.

FAQ

Q: Do I need npm if I use Homebrew? A: No. The repo provides both Homebrew and npm installation options; either gives you the CLI and MCP server.

Q: How do MCP clients run it? A: Most clients can run the MCP server via a command; the repo links to client config snippets and npx -y xcodebuildmcp@latest mcp.

Q: What is a good first task? A: Run a simulator build for a known scheme, then ask the agent to summarize warnings and failing steps from the captured logs.


🙏

Source & Thanks

GitHub: https://github.com/getsentry/XcodeBuildMCP Owner avatar: https://avatars.githubusercontent.com/u/1396951?v=4 License (SPDX): MIT GitHub stars (verified via api.github.com/repos/getsentry/XcodeBuildMCP): 5,480

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets