AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Dev Tooling/
XcodeBuildMCP
XcodeBuildMCP logo

XcodeBuildMCP

Active·★ 6.5k·MIT·Updated 2026-10-22

XcodeBuildMCP is a Model Context Protocol server and CLI, maintained under the getsentry organisation, that gives agents tools for working on iOS and macOS projects. It ships as one package with two modes: a CLI for direct terminal use (for example `xcodebuildmcp simulator build --scheme MyApp --project-path ./MyApp.xcodeproj`, `xcodebuildmcp tools` to list tools) and an `mcp` subcommand that starts the MCP server for AI coding agents.

Install with Homebrew (`brew tap getsentry/xcodebuildmcp` then `brew install xcodebuildmcp`) or with npm and npx on Node.js 18+, and the README gives configuration for several clients including Cursor. It requires macOS 14.5 or later and Xcode 16 or later. Two optional agent skills are included, one for the MCP server and one for the CLI. Notes in the README: it asks xcodebuild to skip macro validation so projects using Swift Macros build, and device tools need code signing configured in Xcode. It uses Sentry for runtime error telemetry only, with opt-out instructions in its privacy document, and is MIT licensed.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-17.

License
MIT
Latest release
v2.7.1 · 2026-09-23
Last commit
2026-10-17
Contributors
50
Forks
325
Open issues and PRs
30
First published
2025-03-09

Source: GitHub, npm and PyPI public APIs.

#Xcode#iOS Development#macOS Development#CLI Tools#AI Agents#MCP Server#Build Automation#Development Workflow
$ Install
$ brew tap getsentry/xcodebuildmcp && brew install xcodebuildmcp
↗ Visit site★ GitHub
01

Features

01Provides a CLI for direct terminal interaction.
02Functions as an MCP server for AI coding agents.
03Offers a unified command-line interface for various tools.
04Supports Xcode project build and simulation operations.
05Includes optional agent skills to enhance AI interaction.
02

Why choose it

+One package gives both a terminal CLI and an MCP server for building and testing iOS and macOS projects.
+Installs with Homebrew or npx, with configuration examples for several MCP clients including Cursor.
+Ships optional agent skills for both the MCP server and the CLI.
+Handles Swift Macros projects by asking xcodebuild to skip macro validation.
03

Trade-offs

!It requires macOS 14.5+ and Xcode 16+, so it is useless on Linux or Windows.
!Device tools need code signing configured in Xcode before they work.
!It sends runtime error telemetry to Sentry by default, which you can opt out of using the privacy document.
04

Maintenance check

ActiveChecked: 2026-10-20
Last commit
2026-09-23
Commits, last 90 days
20
Releases, last 90 days
2
Latest release
v2.7.1 (2026-09-23)
Open issues
32
Recent issues with at least one comment
13/25
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 2, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #524 Test-products retention is unbounded in practice (100 bundles / 3 days, no config knob) — can fill a disk3 comments · 2026-09-03
  • #526 [Bug]: Orphaned workspaces are never swept — test-products for deleted project paths persist forever (126 GB past max age)2 comments · 2026-09-08
  • #525 Allow reusing Xcode.app's per-workspace DerivedData (avoid duplicate builds); static XCODEBUILDMCP_DERIVED_DATA_PATH can't map per workspace2 comments · 2026-09-03
  • #517 test_sim reports SUCCEEDED with 0 tests when per-call projectPath is ignored2 comments · 2026-08-23
  • #537 [Bug]: iPhone Duo (foldable) simulator: snapshot_ui works, tap/touch/key input never lands, screenshot cannot target the lit panel1 comments · 2026-09-21

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

05

Compatibility

macOS
OS
Verified via docs
Xcode
IDE
Verified via docs
Node.js
Runtime
Verified via docs
Model Context Protocol
Protocol
Verified via docs
Homebrew
Package Manager
Verified via docs
npm
Package Manager
Verified via docs
06

Quick start

1
$ brew tap getsentry/xcodebuildmcp
2
$ brew install xcodebuildmcp
07

Use cases

↳Enabling AI coding agents to understand and interact with iOS/macOS development environments.
↳Providing developers with a powerful command-line interface for Xcode project tasks.
↳Integrating with popular AI IDEs and clients like Cursor, VS Code, and Claude Code.
↳Automating build, simulation, and other operations for iOS and macOS projects.
08

Alternatives

⚡Top VS:
VSWax★805→VSagent-toolkit★192→VSCopilotKit★38.2k→VSagents-towards-production★21.7k→
Wax logo
Wax★ 805
🍯 Memory layer for on-device AI Agents. Replace complex RAG pipelines with a serverless, single-file memory layer.
VSCompare→
agent-toolkit logo
agent-toolkit★ 192
Collection of resources to help AI agents build better with Sanity.
VSCompare→
CopilotKit logo
CopilotKit★ 38.2k
React UI + elegant infrastructure for AI Copilots, AI chatbots, and in-app AI agents. The Agentic Frontend.
VSCompare→
agents-towards-production logo
agents-towards-production★ 21.7k
This repository delivers end-to-end, code-first tutorials covering every layer of production-grade GenAI agents, guiding you from spark to scale with proven patterns and reusable blueprints for real-world launches.
VSCompare→
mcp logo
mcp★ 983
MCP server for the Cloudflare API
VSCompare→
ai-agents-from-scratch logo
ai-agents-from-scratch★ 4.9k
Demystify AI agents by building them yourself. Local LLMs, no black boxes, real understanding of function calling, memory, and ReAct patterns.
VSCompare→
mcp-for-argocd logo
mcp-for-argocd★ 594
An implementation of Model Context Protocol (MCP) server for Argo CD.
VSCompare→
coolify-mcp logo
coolify-mcp★ 616
MCP server for Coolify — 42 optimized tools for managing self-hosted PaaS through AI assistants
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start07Use cases08Alternatives
getsentry /
MobileBuildMCP
↗

Sentry's MCP server and CLI for building and testing iOS and macOS apps

6.5k325MIT
Last commit1d ago
StatusActive
CategoryDev Tooling
Contributors50
Latest releasev2.7.1
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.