Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

XcodeBuildMCP 🔌 MCP server Open source

Build, run, test and debug iOS and macOS apps from AI agents, maintained by Sentry

Developer tool MCP servers · Open source ★ 6.5k · +27 this week · MIT · updated 2026-10-02

8.4editor score
Visit XcodeBuildMCP ↗
GitHub stars
6.5k
Stars this week
+27
Forks
321
Licence
MIT
Last push
2026-10-02
Maintainer
getsentry
Installclaude mcp add XcodeBuildMCP -- npx -y xcodebuildmcp@latest mcp

Third-party MCP servers run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Built on the open MCP standard, so it works in every app that supports MCP.

About XcodeBuildMCP

What it does

XcodeBuildMCP lets coding agents build, run, test and debug iOS and macOS projects. It is now maintained by Sentry. It wraps xcodebuild, the simulator tools, LLDB and Swift Package Manager in structured tools, so the agent can fix its own build errors, launch the app and check the result without you copying logs by hand. The same package works as an MCP server and as a CLI (xcodebuildmcp simulator build ...). The CLI suits agents that work better with shell commands and --help than with a long list of tools. Two optional Agent Skills explain the MCP tools or the CLI to the agent.

Tools it gives your agent

  • Simulator (default): build, install, launch and one-step build-and-run on a booted simulator, with logs saved
  • Device and macOS: build, test and deploy to physical Apple devices and Mac apps
  • Project discovery: list schemes, workspaces, build settings and bundle IDs
  • Debugging and UI automation: attach LLDB and set breakpoints; tap, swipe and take screenshots in the simulator
  • Extras: Swift packages, code coverage, simulator management, project scaffolding and a bridge to Xcode's own MCP server

To keep the tool list short, only the simulator workflow is on by default. You can turn on more workflows in the config.

Works with

This is a local stdio server and needs macOS 14.5+, Xcode 16+ and Node 18+ (Node is not needed if you install with Homebrew). The docs give ready configs for Claude Code, Cursor, Codex CLI, Claude Desktop, VS Code, Kiro, Windsurf, OpenCode, Trae and the agents built into Xcode.

How to connect

claude mcp add XcodeBuildMCP -- npx -y xcodebuildmcp@latest mcp
brew tap getsentry/xcodebuildmcp
brew install xcodebuildmcp

Cost and limits

It is free and MIT-licensed. It only runs on a Mac with Xcode installed. The device tools need code signing set up in Xcode first. Codex users may need to raise tool_timeout_sec for long builds.

Safety notes

The server runs real builds, installs and simulator resets on your machine. It also asks xcodebuild to skip Swift macro validation. Sentry error telemetry is on by default. It covers only the server's own crashes, not your code or tool inputs, and you can turn it off with XCODEBUILDMCP_SENTRY_DISABLED=true.

ios macos xcode swift simulator debugging

Pros

  • Covers simulator, device, macOS, SwiftPM, LLDB and UI automation
  • Workflow groups keep the tool list lean; also ships a CLI and Agent Skills
  • Ready-made configs for most major agents

Cons

  • macOS with Xcode 16+ only
  • Error telemetry to Sentry is on by default (opt-out)

GitHub MCP Server 🔌 MCP serverFree

GitHub's official MCP server: issues, pull requests, code, Actions and security alerts

★ 33k · +132 this week

MCP Reference Servers 🔌 MCP serverFree

The official reference MCP servers: fetch, filesystem, git, memory and more

★ 91k · +362 this week

Unity MCP 🔌 MCP serverOpen source

Lets AI agents drive the Unity Editor: scenes, C# scripts, assets, tests and builds

★ 15k · +173 this week

8.0 Visit ↗

MATLAB MCP Server 🔌 MCP serverFree

Official MathWorks server to run, test and lint MATLAB code from AI agents (needs a MATLAB licence)

★ 1.6k · +30 this week

7.8 Visit ↗

More from getsentry

Popular searches