Build, test, and inspect Apple apps through MCP with XcodeBuildMCP
Connect coding agents to Xcode build, test, simulator, and project-inspection tools through XcodeBuildMCP's MCP server or CLI.
Prerequisites
Xcode 16 or later, Node.js 18 or later for npm install, MCP-compatible client
Installation
Use the upstream install or setup path that matches your environment:
- brew tap getsentry/xcodebuildmcp
- brew install xcodebuildmcp
- npm install -g xcodebuildmcp@latest
- npx -y xcodebuildmcp@latest init
Requirements and caveats from upstream:
[![Node....
-
Option B — npm (Node.js 18+)
- Node.js 18.x or later (not required for Homebrew installation)
Basic usage or getting-started notes:
-
XcodeBuildMCP ships as a single package with two modes: a CLI for direct terminal use and an MCP server for AI coding agents. Either install method gives you both.
-
Option A — Homebrew
-
bash
-
Extracted from upstream docs: https://raw.githubusercontent.com/getsentry/XcodeBuildMCP/HEAD/README.md