XcodeBuild MCP Verified

@sentry Claim

Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
sentry
Submitted by
Community
Quality
80
Stars
6K

About XcodeBuild MCP Server

By Sentry. MCP server and CLI that provides tools for AI agents working on iOS and macOS Xcode projects.

XcodeBuild MCP is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by sentry. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 6,040 GitHub stars. Source code is hosted on github.com. Related topics: developer-tools, mcp, mcp-server, model-context-protocol, model-context-protocol-servers.

Setup

{
    "mcpServers": {
        "xcodebuild": {
            "command": "npx",
            "args": [
                "-y",
                "xcodebuildmcp@latest"
            ]
        }
    }
}

XcodeBuild MCP config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "xcodebuild": {
            "command": "npx",
            "args": [
                "-y",
                "xcodebuildmcp@latest"
            ]
        }
    }
}

XcodeBuild MCP tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is XcodeBuild MCP?

XcodeBuildMCP is a Model Context Protocol (MCP) server and CLI that provides tools for AI coding agents working on iOS and macOS projects.

How to use XcodeBuild MCP?

Install via Homebrew (brew tap getsentry/xcodebuildmcp && brew install xcodebuildmcp) or npm (npm install -g xcodebuildmcp@latest). Start the MCP server with xcodebuildmcp mcp for integration with MCP clients like Cursor or Claude Code, or use CLI commands such as xcodebuildmcp tools and xcodebuildmcp simulator build --scheme MyApp directly.

Key features of XcodeBuild MCP

  • MCP server for AI coding agent integration
  • CLI for direct terminal use in iOS/macOS builds
  • Optional agent skills (MCP and CLI) to prime agents
  • Automatic skip of Swift Macro validation to reduce errors
  • Per‑workspace daemon for stateful operations (log capture, debugging)
  • Device tools requiring Xcode code signing configuration

Use cases of XcodeBuild MCP

  • Build and test iOS/macOS projects from within an AI coding agent
  • Automate simulator builds using CLI commands without Xcode GUI
  • Manage build operations and troubleshooting with agent assistance
  • Integrate with MCP‑compatible IDEs for streamlined development

Frequently asked questions

1 What are the system requirements?

macOS 14.5 or later, Xcode 16.x or later, and Node.js 18.x or later (Node.js not required when installing via Homebrew).

2 How can I install XcodeBuildMCP?

Two methods: Homebrew (brew tap getsentry/xcodebuildmcp && brew install xcodebuildmcp) or npm global install (npm install -g xcodebuildmcp@latest). You can also run it on demand with npx -y xcodebuildmcp@latest mcp.

3 How does XcodeBuildMCP handle Swift Macros?

It requests xcodebuild to skip macro validation to avoid errors when building projects that use Swift Macros.

4 Do I need code signing for device builds?

Yes, device tools require code signing to be configured in Xcode. See the official documentation for details.

5 What telemetry does XcodeBuildMCP collect?

It uses Sentry for internal runtime error telemetry only. Opt‑out instructions are available in the Privacy & Telemetry documentation.

Videos

Tutorials, guides, and showcases related to XcodeBuild MCP. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬