</>MCP Agents Market
MCP Server

XcodeBuildMCP

by getsentry6.3kTypeScriptUpdated 2026-08-12

A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.

CursorClaude CodeCodexClaude Desktop

XcodeBuildMCP is a Model Context Protocol server that enables AI agents to build, test, and manage iOS and macOS projects through Xcode integration. Developed by Sentry, it exposes Xcode build tools and simulator operations as MCP-compatible primitives that coding assistants can invoke. The package ships with both an MCP server mode for agent integration and a standalone CLI for direct terminal use. It requires macOS 14.5+, Xcode 16+, and can be installed via Homebrew or npm.

Key Features

Dual-mode package offering both MCP server and CLI interfaces in one installation
Simulator build and test operations for iOS/macOS projects with configurable schemes and destinations
Separate build-for-testing and test execution steps for portable test product workflows
Per-workspace daemon architecture for stateful operations like log capture and debugging
Optional agent skills (MCP Skill and CLI Skill) to prime assistants with usage instructions
Automatic Swift Macro validation skipping to prevent build errors in macro-heavy projects
Built-in upgrade checking and in-place update capability
Privacy-focused runtime error telemetry via Sentry with opt-out support

Use Cases

  • 01Letting AI coding assistants build and run iOS apps in simulators during development
  • 02Automating test execution for macOS projects through conversational agent commands
  • 03Preparing portable test bundles for later execution on different simulator configurations
  • 04Troubleshooting Xcode build issues with agent-driven diagnostic workflows
  • 05Integrating iOS/macOS build automation into AI-powered code review and CI workflows
  • 06Enabling conversational debugging of Swift projects through MCP-connected agents

Related MCP Servers

View more

XcodeBuildMCP — FAQ

What is XcodeBuildMCP?+

XcodeBuildMCP is a Model Context Protocol server that exposes Xcode build and simulator tools to AI coding agents. It allows assistants like Claude Code or Cursor to build, test, and manage iOS and macOS projects through conversational commands.

How do I install XcodeBuildMCP?+

Install globally via Homebrew with 'brew tap getsentry/xcodebuildmcp && brew install xcodebuildmcp', or via npm with 'npm install -g xcodebuildmcp@latest'. You can also run it without installing using 'npx -y xcodebuildmcp@latest mcp'.

Which MCP clients work with XcodeBuildMCP?+

XcodeBuildMCP works with Cursor, Claude Code, and Codex, along with other MCP-compatible clients. Drop-in configuration snippets for popular clients are available at https://xcodebuildmcp.com/docs/clients.

What are the prerequisites for using XcodeBuildMCP?+

You need macOS 14.5 or later, Xcode 16.x or later, and Node.js 18.x or later (unless using the Homebrew installation). Device-based tools also require code signing to be configured in Xcode.

Is XcodeBuildMCP free to use?+

Yes, XcodeBuildMCP is open source and licensed under the MIT License, making it free for both personal and commercial use.

Does XcodeBuildMCP require API keys?+

No API keys are required. XcodeBuildMCP uses local Xcode installations and does not depend on external cloud services for core functionality.

How do I install XcodeBuildMCP?+

Open the source repository on GitHub and follow its README. XcodeBuildMCP is a mcp server — MCP Agents Market links you directly to the official repo.

Is XcodeBuildMCP free?+

XcodeBuildMCP is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches