by getsentry
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
# Add to your Claude Code skills
git clone https://github.com/getsentry/XcodeBuildMCPA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
XcodeBuildMCP ships as a single package with two modes: a CLI for direct terminal use and an MCP server for AI coding agents. Both installation methods give you both modes.
brew tap getsentry/xcodebuildmcp
brew install xcodebuildmcp
<details>
<summary>Cursor</summary>
<br />
No comments yet. Be the first to share your thoughts!
Use the CLI:
xcodebuildmcp --help
MCP client config:
"XcodeBuildMCP": {
"command": "xcodebuildmcp",
"args": ["mcp"]
}
Upgrade later with brew update && brew upgrade xcodebuildmcp.
For CLI use, install globally:
npm install -g xcodebuildmcp@latest
xcodebuildmcp --help
For MCP server only, no global install needed — add directly to your client config:
"XcodeBuildMCP": {
"command": "npx",
"args": ["-y", "xcodebuildmcp@latest", "mcp"]
}
To pin a specific version, replace @latest with an exact version (e.g. xcodebuildmcp@latest).
The examples below use npx (Option B). If you installed via Homebrew, replace the command with "command": "xcodebuildmcp", "args": ["mcp"] instead.
Recommended (project-scoped): add .cursor/mcp.json in your workspace root:
{
"mcpServers": {
"XcodeBuildMCP": {
"command": "npx",
"args": ["-y", "xcodebuildmcp@latest", "mcp"]
}
}
}
For global Cursor config (~/.cursor/mcp.json), use this variant so startup is aligned with the active workspace:
{
"mcpServers": {
"XcodeBuildMCP": {
...