XcodeBuildMCP
MCP server by getsentry Verified · xcodebuildmcp.com
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Install XcodeBuildMCP
Built from the published package, never by AI.
claude mcp add xcodebuildmcp -- npx -y xcodebuildmcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"xcodebuildmcp": {
"args": [
"-y",
"xcodebuildmcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"xcodebuildmcp": {
"args": [
"-y",
"xcodebuildmcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"xcodebuildmcp": {
"args": [
"-y",
"xcodebuildmcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add xcodebuildmcp -- npx -y xcodebuildmcp{
"mcpServers": {
"xcodebuildmcp": {
"args": [
"-y",
"xcodebuildmcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add xcodebuildmcp npx -y xcodebuildmcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the xcodebuildmcp block.
About
XcodeBuildMCP is listed as a Model Context Protocol server and CLI, published as the mobilebuildmcp package. The source repository is named MobileBuildMCP. It gives agents tools for working on iOS and macOS projects, including building for simulators and preparing and running portable test products. The mcp subcommand starts the MCP server for clients.
It can be installed with Homebrew or npm and needs macOS 14.5 or later and Xcode 16.x or later. It uses a per-workspace daemon for stateful operations such as log capture and debugging. It is intended for developers who want an AI assistant or terminal to drive Xcode builds and tests. Runtime error telemetry is sent to Sentry.
Written from the project's README and checked against it.
Tools it gives your assistant
mcpStarts the MCP server for MCP clients.toolsLists the available tools.simulator buildBuilds a project for a simulator, optionally preparing test products.simulator testRuns previously prepared test products on a simulator.upgradeChecks for updates and upgrades the package in place.initInstalls the optional MCP and CLI agent skills.
What you need
- macOS 14.5 or later
- Xcode 16.x or later
- Node.js 18.x or later (not needed for Homebrew)
| Setting | Needed | What it is |
|---|---|---|
INCREMENTAL_Environment variable | Optional | Enable experimental xcodemake incremental builds (true/false or 1/0). Default: false |
XCODEBUILDMCP_Environment variable | Optional | Comma-separated list of workflows to load at startup (e.g., 'simulator,device,project-discovery'). |
XCODEBUILDMCP_Environment variable | Optional | Disable Sentry error reporting (preferred flag). Default: false |
XCODEBUILDMCP_Environment variable | Optional | Enable verbose debug logging from the server. Default: false |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Build my MyApp scheme for the iPhone 17 simulator.
- Prepare test products for MyApp, then run them on iPhone 17.
- Check whether a newer mobilebuildmcp version is available.
Good to know
- Device tools require code signing to be configured in Xcode.
- Runs on macOS with Xcode installed.
- xcodebuild is asked to skip macro validation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to XcodeBuildMCP
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Official MCP server for Qase Test Management that lets AI assistants manage test cases, runs, suites and defects. Connect to the hosted server with a Qase login or run it locally with an API token. Built for QA teams that use Qase.
Compare with GitDiagram, mockserver or draw.io
XcodeBuildMCP: common questions
Is XcodeBuildMCP the same as MobileBuildMCP?
The listing name is XcodeBuildMCP, but the source repository and npm package are named MobileBuildMCP. The source describes one package with both a CLI and an MCP server.
Does it send data anywhere?
The source says it uses Sentry for internal runtime error telemetry only. It links to a privacy page with opt-out instructions.
Do device builds need extra setup?
Yes. The source says device tools require code signing to be configured in Xcode.
How do I install XcodeBuildMCP?
In Claude Code run claude mcp add xcodebuildmcp -- npx -y xcodebuildmcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is XcodeBuildMCP the official server?
XcodeBuildMCP is published by xcodebuildmcp.com from its verified domain in the official MCP Registry.
Is XcodeBuildMCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is XcodeBuildMCP safe to use?
It scores 100 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to XcodeBuildMCP?
Similar MCP servers: GitDiagram, mockserver, draw.io, Repowise.
Does XcodeBuildMCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
