SuperAPIAI Directory

xcodebuildmcp

github.com · AI coding

MobileBuildMCP (formerly xcodebuildmcp) is a Model Context Protocol (MCP) server and command-line tool for iOS and macOS projects, providing AI coding agents with tools for builds, devices, and other operations. It offers both CLI and MCP server modes in a single package, can be installed via Homebrew or npm, supports MCP clients such as Cursor, Claude Code, and Codex, and can also be launched on demand with npx. It requires macOS 14.5+, Xcode 16.x+, and Node.js 18+ for npm installation. The project is licensed under MIT.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsiOS · macOS · Linux

About this tool

MobileBuildMCP (repository name xcodebuildmcp) is a Model Context Protocol (MCP) server and CLI tool for iOS and macOS projects, intended to enable AI coding agents to invoke build and related tools when working with Apple platform projects.

Purpose and Form This tool is released as a single package and provides two usage modes: a CLI for direct use in the terminal, and an MCP server for AI coding agents to connect to. Whichever installation method is used, both modes are obtained together.

Installation Methods Two installation options are provided: Option A is Homebrew; Option B is npm (requires Node.js 18+). After installation, it can be verified via a command. The MCP Clients page of the official documentation provides configuration snippets for clients such as Cursor, Claude Code, and Codex; most clients can also run the MCP server on demand via npx -y mobilebuildmcp@latest mcp without a global installation.

Runtime Requirements Requires macOS 14.5 or later and Xcode 16.x or later; npm installation also requires Node.js 18.x or later (Homebrew installation does not require Node.js).

Agent Skills The tool includes two optional agent skills: the MCP Skill explains to agents how to use the MCP server's tools (optional when using the MCP server); the CLI Skill explains to agents how to operate the CLI (recommended when using the CLI). Skills can be installed via the global binary, or installed directly via npx without a global installation; see the Agent Skills documentation for specific installation instructions.

CLI Capabilities MobileBuildMCP provides a unified command-line interface: the mcp subcommand starts the MCP server, while the remaining commands access the various tools directly in the terminal. The CLI uses a per-workspace daemon to handle stateful operations (such as log capture and debugging), and this daemon starts automatically when needed. The CLI also supports checking for updates and upgrading in place.

Known Behavior and Limitations MobileBuildMCP requests that xcodebuild skip macro validation to avoid errors when building projects that use Swift Macros. Device-related tools require code signing to be configured in Xcode; see the Device Code Signing documentation for details. The tool uses Sentry solely for internal runtime error telemetry; see the Privacy & Telemetry documentation for details and how to opt out.

Documentation and License The official documentation covers pages such as installation, setup, MCP clients, CLI usage, configuration and options, tool reference, troubleshooting, privacy, skills, and contributing. The project is licensed under MIT; third-party license and npm package attribution information can be found in the THIRD_PARTY_LICENSES and THIRD_PARTY_PACKAGE_LICENSES files, respectively.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools