Server profile

XcodeBuildMCP MCP Server

XcodeBuildMCP provides an MCP server and CLI for AI agents working on iOS and macOS projects. One package supports direct terminal tools, simulator builds, and stateful operations such as debugging and log capture.

Server facts

XcodeBuildMCP MCP Server

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
6,486
Last commit
Data as of

Tags

  • Agent Cli
  • Build Tools
  • Ios Development
  • Macos Development
  • Xcode

Overview

XcodeBuildMCP packages an MCP server and a command-line interface for agent workflows on iOS and macOS projects. Both modes come from the same installation, so users can either connect an AI coding client or invoke operations directly in a terminal. The README demonstrates a simulator build command and describes a per-workspace daemon for stateful CLI work such as debugging and log capture. That daemon starts when needed. Optional agent skills provide instructions for using the MCP tools or navigating the CLI, with the CLI skill recommended for direct command-line use.

Installation is available through Homebrew or npm, and most clients can start the MCP mode on demand through npx. The documented requirements are macOS 14.5 or newer and Xcode 16.x or newer. Node.js 18.x or newer is required for the npm route but not for the Homebrew installation. Device tools additionally need code signing configured in Xcode. The project notes that builds request skipped macro validation to avoid errors with Swift Macros, which is a behavior worth understanding when evaluating a build workflow. Runtime error telemetry uses Sentry, with details and opt-out instructions linked separately. The supplied README points to external documentation for the full tool inventory, client-specific configuration, and advanced settings rather than enumerating individual MCP tool names.

Install & configure

Requirements

  • macOS 14.5 or newer
  • Xcode 16.x or newer
  • Node.js 18.x or newer for the npm/npx method
  • Xcode code signing for device tools
Documented launch / install command
npx -y xcodebuildmcp@latest mcp

The mcp subcommand starts the server. The init subcommand installs agent skills rather than starting the server. Homebrew provides an alternative installation without Node.js.

Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Desktop configuration
{
  "mcpServers": {
    "XcodeBuildMCP": {
      "command": "npx",
      "args": [
        "-y",
        "xcodebuildmcp@latest",
        "mcp"
      ],
      "env": {}
    }
  }
}

Read the Claude Desktop setup guide

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.

Cursor configuration
{
  "mcpServers": {
    "XcodeBuildMCP": {
      "command": "npx",
      "args": [
        "-y",
        "xcodebuildmcp@latest",
        "mcp"
      ],
      "env": {}
    }
  }
}

Read the Cursor setup guide

Config file · Workspace: .vscode/mcp.json

For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.

VS Code configuration
{
  "servers": {
    "XcodeBuildMCP": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xcodebuildmcp@latest",
        "mcp"
      ],
      "env": {}
    }
  }
}

Read the VS Code setup guide

Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json

Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.

Windsurf configuration
{
  "mcpServers": {
    "XcodeBuildMCP": {
      "command": "npx",
      "args": [
        "-y",
        "xcodebuildmcp@latest",
        "mcp"
      ],
      "env": {}
    }
  }
}

Read the Windsurf setup guide

Config file · Project scope: .mcp.json at the repository root

The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Code configuration
{
  "mcpServers": {
    "XcodeBuildMCP": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xcodebuildmcp@latest",
        "mcp"
      ],
      "env": {}
    }
  }
}

Read the Claude Code setup guide

Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.

Tools

No individual tool names were confirmed in the source material. Check the repository for its current tool list.

Names, permissions, and defaults can change. Check the current upstream documentation before granting access.

Use cases

  • Connect an AI coding agent to iOS and macOS development tools.
  • Build an Xcode project for a simulator from the CLI.
  • Use stateful debugging and log capture through a workspace daemon.
  • Install agent guidance for MCP or direct CLI workflows.

Strengths

  • One package provides both MCP and direct terminal modes.
  • Homebrew installation does not require Node.js.
  • Automatically starts a workspace daemon for stateful CLI operations.

Limitations

  • Requires macOS 14.5 or newer and Xcode 16.x or newer.
  • Device tools need Xcode code signing configured.
  • Runtime error telemetry is present; opt-out details are linked separately.

Frequently asked questions

No. The README uses init to install agent skills. The mcp subcommand starts the MCP server.

No. Node.js 18.x or newer is required for the npm method, but the Homebrew installation does not require it.

The README requires macOS 14.5 or later and Xcode 16.x or later.

Configure Xcode code signing before using the device tools.

The README says Sentry is used for internal runtime error telemetry and links to privacy and opt-out information.

Independent listing, not an affiliation or security review. Grant the least access needed and verify the upstream instructions before running code.

Related MCP servers

BlenderMCP

Games & 3D

BlenderMCP links AI assistants to Blender for scene inspection, object and material changes, and Python execution. Optional asset integrations add Poly Haven downloads, Sketchfab models, and generated 3D assets.

MCP Advisor

Developer Tools

MCP Advisor helps assistants discover MCP servers from natural-language requests and obtain installation guidance. It combines registry providers with offline search and offers optional local Meilisearch integration.

Serena

Developer Tools

Serena gives coding agents symbol-aware retrieval, editing, refactoring, and debugging capabilities through MCP. It uses language servers or a JetBrains plugin to bring IDE-style code understanding to existing AI clients.

Context7

Developer Tools

Context7 retrieves current library documentation and code examples for AI coding assistants. It supports MCP tools or a CLI-and-skills workflow, with library IDs and version-aware requests helping narrow the documentation context.

FastAPI-MCP

Developer Tools

FastAPI-MCP exposes existing FastAPI endpoints as MCP tools while retaining schemas, endpoint documentation, and dependency-based authentication. It is a native extension for developers adding agent access to a FastAPI service.

GitMCP

Developer Tools

GitMCP turns public GitHub repositories and GitHub Pages projects into documentation sources for AI assistants. It offers repository-specific endpoints or a dynamic server for retrieving docs, searching code, and following referenced content.

DevDocs by CyberAGI

Developer Tools

Crawl technical documentation into organized Markdown, JSON, and MCP-accessible content for development assistants. The public DevDocs repository is marked as not publicly maintained.

JetBrains MCP Proxy Server

Developer Tools

This legacy Node-based proxy connects MCP clients to a JetBrains IDE plugin. The repository is deprecated: IntelliJ-based IDEs include the core functionality from version 2025.2 onward.