# getsentry/xcodebuildmcp

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/getsentry-xcodebuildmcp).**

4,367 stars · 206 forks · TypeScript · mit

## Links

- GitHub: https://github.com/getsentry/XcodeBuildMCP
- Homepage: https://www.xcodebuildmcp.com
- awesome-repositories: https://awesome-repositories.com/repository/getsentry-xcodebuildmcp.md

## Topics

`mcp` `mcp-server` `model-context-protocol` `model-context-protocol-servers` `tag-production` `xcode` `xcodebuild`

## Description

XcodeBuildMCP is a Model Context Protocol server and development tool bridge that provides AI agents with the ability to control xcodebuild, manage simulators, and automate the compilation and execution of Apple platform applications. It functions as a persistent daemon that proxies native IDE build and debug capabilities to external clients and agents.

The project distinguishes itself by using the Model Context Protocol to expose build and device management tools through a standardized interface. It implements specialized skill priming and instruction configuration to ensure AI agents can interact with Apple development tools without needing to rediscover project conventions.

The system covers a broad range of automation capabilities, including multi-platform project compilation, Swift package management, and the lifecycle control of iOS simulators. It supports physical hardware deployment via USB or Wi-Fi, remote debugging through LLDB command execution, and automated UI testing via gesture simulation and accessibility analysis.

Observability is handled through real-time progress streaming using newline-delimited JSON, code coverage analysis, and the capture of device runtime logs.

## Tags

### Artificial Intelligence & ML

- [Apple Platform Agent Bridges](https://awesome-repositories.com/f/artificial-intelligence-ml/developer-ai-assistance/apple-platform-agent-bridges.md) — Controls xcodebuild, simulators, and physical devices from AI coding agents through a standardized protocol interface.
- [Model Context Protocol Servers](https://awesome-repositories.com/f/artificial-intelligence-ml/model-context-protocol-servers.md) — Implements a Model Context Protocol server that exposes xcodebuild and device management tools to AI agents.
- [AI Agent Skills](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-skills.md) — Injects pre-written instructions into AI agents so they know how to use the MCP server or CLI. ([source](https://cdn.jsdelivr.net/gh/getsentry/xcodebuildmcp@main/README.md))
- [MCP Servers](https://awesome-repositories.com/f/artificial-intelligence-ml/mcp-servers.md) — Ships an MCP server implementation that exposes xcodebuild and simulator tools to AI agents. ([source](https://cdn.jsdelivr.net/gh/getsentry/xcodebuildmcp@main/README.md))
- [Tool Invocation Handlers](https://awesome-repositories.com/f/artificial-intelligence-ml/mcp-tool-connectors/tool-invocation-handlers.md) — Invokes registered build and device management tools via the MCP protocol with structured responses. ([source](https://www.xcodebuildmcp.com/docs/mcp-protocol-support))

### Development Tools & Productivity

- [CLI and MCP Interfaces](https://awesome-repositories.com/f/development-tools-productivity/command-line-interfaces/dual-interface-implementations/cli-and-mcp-interfaces.md) — Exposes every build, test, and debug tool both as an MCP server and as a direct CLI. ([source](https://www.xcodebuildmcp.com/docs))
- [Single-Command App Deployments](https://awesome-repositories.com/f/development-tools-productivity/adb-device-managers/adb-command-line-app-controls/single-command-app-deployments.md) — Compiles, installs, launches an app, and streams logs in a single tool call for agent workflows. ([source](https://www.xcodebuildmcp.com/docs))
- [Build Output Streams](https://awesome-repositories.com/f/development-tools-productivity/build-output-visualizations/build-output-streams.md) — Provides real-time streaming of build output logs and attachments as the build progresses. ([source](https://www.xcodebuildmcp.com/docs/architecture))
- [Apple Platform CLI Builds](https://awesome-repositories.com/f/development-tools-productivity/command-line-development-environments/apple-platform-cli-builds.md) — Compiles, tests, and deploys Xcode projects and Swift packages to simulators and physical devices from the command line.
- [Development Daemon State Management](https://awesome-repositories.com/f/development-tools-productivity/development-daemon-state-management.md) — Auto-starts a background daemon that maintains development workspace state for logging and debugging. ([source](https://www.xcodebuildmcp.com/docs/cli))
- [NDJSON Build Event Streams](https://awesome-repositories.com/f/development-tools-productivity/workflow-automation-tools/build-task-automation/build-pipeline-integrations/build-event-streaming/ndjson-build-event-streams.md) — Emits real-time NDJSON progress events during builds and tests for machine consumption. ([source](https://www.xcodebuildmcp.com/docs/cli))
- [LLDB Remote Debugging Bridges](https://awesome-repositories.com/f/development-tools-productivity/application-debugging/remote-debugging/lldb-remote-debugging-bridges.md) — Attaches the debugger to running apps, sets breakpoints, inspects state, and executes raw LLDB commands.
- [Breakpoint Debugging](https://awesome-repositories.com/f/development-tools-productivity/interactive-debug-consoles/breakpoint-debugging.md) — Attaches the debugger, sets breakpoints, inspects stack frames, and runs raw LLDB commands against a running app. ([source](https://www.xcodebuildmcp.com/docs))
- [LLDB Agent Debugging Bridges](https://awesome-repositories.com/f/development-tools-productivity/interactive-debug-consoles/breakpoint-debugging/lldb-agent-debugging-bridges.md) — Attaches to running apps, sets breakpoints, and inspects state through LLDB commands for AI agent consumption.
- [JSON Output Formatting Options](https://awesome-repositories.com/f/development-tools-productivity/json-output-formatting-options.md) — Returns a tagged-union JSON envelope with schema, error status, and domain data for CI pipelines. ([source](https://www.xcodebuildmcp.com/docs/output-formats))

### Data & Databases

- [Tool Result Envelopes](https://awesome-repositories.com/f/data-databases/data-processing-pipelines/data-serialization/json-schema/structured-json-generation/tool-result-envelopes.md) — Wraps every tool result in a consistent JSON envelope with error status, data schema, and optional follow-up steps. ([source](https://www.xcodebuildmcp.com/docs/mcp-protocol-support))
- [Newline-Delimited JSON Streams](https://awesome-repositories.com/f/data-databases/streaming-parsers/json/newline-delimited-json-streams.md) — Writes one JSON object per line as the tool runs for live machine-readable progress. ([source](https://www.xcodebuildmcp.com/docs/output-formats))

### DevOps & Infrastructure

- [Xcode Build Automation](https://awesome-repositories.com/f/devops-infrastructure/build-automation-tools/xcode-build-automation.md) — Automates compilation and execution of Xcode projects on iOS simulators from the command line. ([source](https://cdn.jsdelivr.net/gh/getsentry/xcodebuildmcp@main/README.md))
- [Background Daemon Managers](https://awesome-repositories.com/f/devops-infrastructure/background-daemon-managers.md) — Auto-starts and manages a background daemon for stateful operations like log capture and debugging. ([source](https://xcodebuildmcp.com/docs/cli))
- [Per-Workspace Daemons](https://awesome-repositories.com/f/devops-infrastructure/background-daemon-managers/per-workspace-daemons.md) — Auto-starts a per-workspace background daemon for stateful operations like log capture and debugging.
- [Autonomous Fix Loops](https://awesome-repositories.com/f/devops-infrastructure/cicd-pipeline-automation/core-build-engines/build-tooling/build-pipeline-extensions/build-error-handling/autonomous-fix-loops.md) — Automatically fixes build errors by reading diagnostics, making edits, and rebuilding until successful. ([source](https://www.xcodebuildmcp.com/docs/demos))

### Mobile Development

- [Physical Device Deployments](https://awesome-repositories.com/f/mobile-development/physical-device-deployments.md) — Builds, installs, and launches applications on physical iOS devices over USB or Wi-Fi. ([source](https://xcodebuildmcp.com/docs/device-signing))
- [Simulator Management](https://awesome-repositories.com/f/mobile-development/simulator-management.md) — Controls the lifecycle and state of iOS simulators for automated application verification. ([source](https://www.xcodebuildmcp.com/docs/cli))

### Networking & Communication

- [Integrated Launch and Monitoring](https://awesome-repositories.com/f/networking-communication/remote-application-launches/integrated-launch-and-monitoring.md) — Combines app compilation, installation, and startup with log streaming in a single operation. ([source](https://xcodebuildmcp.com/docs/cli))

### Operating Systems & Systems Programming

- [Apple Device Simulator and Hardware Management](https://awesome-repositories.com/f/operating-systems-systems-programming/device-state-simulation/iot-device-simulation/apple-device-simulator-and-hardware-management.md) — Boots, installs, launches, logs, and records video on iOS simulators and physical Apple devices over USB or Wi-Fi.
- [iOS Simulator Lifecycle Controllers](https://awesome-repositories.com/f/operating-systems-systems-programming/ios-device-management/ios-simulator-lifecycle-controllers.md) — Boots, installs, launches, and captures logs and video from iOS simulators programmatically.

### Programming Languages & Runtimes

- [Apple Platform](https://awesome-repositories.com/f/programming-languages-runtimes/build-and-test-toolchains/apple-platform.md) — Compiles, tests, and launches Xcode projects and Swift packages on simulators and devices from the command line.
- [Multi-Target Build and Test](https://awesome-repositories.com/f/programming-languages-runtimes/build-and-test-toolchains/multi-target-build-and-test.md) — Compiles, tests, and cleans targets across simulators, physical devices, and macOS platforms. ([source](https://www.xcodebuildmcp.com/docs))
- [Workspace Project Discovery](https://awesome-repositories.com/f/programming-languages-runtimes/build-and-test-toolchains/workspace-project-discovery.md) — Automatically discovers Xcode projects, workspaces, and Swift packages for structured builds. ([source](https://www.xcodebuildmcp.com/docs))

### Software Engineering & Architecture

- [Long-Running Task Output Streams](https://awesome-repositories.com/f/software-engineering-architecture/client-server-architecture/long-running-task-protocols/long-running-task-output-streams.md) — Streams progress and subprocess output continuously during long-running build and test tasks. ([source](https://xcodebuildmcp.com/docs/cli))
- [Test Suite Progress Streams](https://awesome-repositories.com/f/software-engineering-architecture/execution-streaming/code-execution-progress-streams/test-suite-progress-streams.md) — Executes XCTest suites on a simulator and streams test results and progress in real time. ([source](https://xcodebuildmcp.com/docs/cli))
- [Swift Package Testing](https://awesome-repositories.com/f/software-engineering-architecture/modular-package-systems/swift-package-testing.md) — Builds and tests Swift packages with background process management through a per-workspace daemon. ([source](https://www.xcodebuildmcp.com/docs))
- [YAML Configuration Files](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management/configuration-management/configuration-formats-and-schemas/yaml-configuration-files.md) — Reads structured, repo-scoped settings from a YAML file at the workspace root to control session behavior. ([source](https://www.xcodebuildmcp.com/docs/configuration))

### Testing & Quality Assurance

- [UI Automation](https://awesome-repositories.com/f/testing-quality-assurance/automation-interaction-tools/ui-automation.md) — Performs taps, swipes, and typing by targeting semantic element references instead of pixel positions. ([source](https://www.xcodebuildmcp.com/docs))
- [Simulator Video Recorders](https://awesome-repositories.com/f/testing-quality-assurance/automation-interaction-tools/ui-automation/automation-flow-recorders/simulator-video-recorders.md) — Captures a video of simulator activity to a file, useful for bug reports or recording automated UI flows. ([source](https://xcodebuildmcp.com/docs/cli))
- [Test Result Reporters](https://awesome-repositories.com/f/testing-quality-assurance/general-testing-utilities/test-reporters/test-result-reporters.md) — Returns individual test case results with suite, name, status, and duration in structured output. ([source](https://www.xcodebuildmcp.com/docs/output-formats))
- [Code Coverage Reportings](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/test-execution-orchestration/code-coverage-reportings.md) — Produces per-target summaries and function-level uncovered-line reports from xcresult bundles. ([source](https://www.xcodebuildmcp.com/docs))

### User Interface & Experience

- [Build Output Streamers](https://awesome-repositories.com/f/user-interface-experience/standard-output-renderers/text-stream-parsers/build-output-streamers.md) — Streams human-readable build progress and results to the terminal with file artifacts. ([source](https://www.xcodebuildmcp.com/docs/output-formats))
