mcpxcodebuild

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Enables building and testing iOS applications by providing tools that interact with Xcode projects and workspaces in specified folders.

  • Allows building and testing iOS Xcode workspaces/projects directly through command-line operations, facilitating iOS development workflows in code editors.

xcodebuild MCP Server

A Model Context Protocol server that builds iOS workspace/project that enables seamless workflow working with iOS projects in Visual Studio Code using extensions like Cline or Roo Code.

Available Tools

  • build - Build iOS Xcode workspace/project
    • folder (string, required): The full path of the current folder that the iOS Xcode workspace/project sits
  • test - Run test for iOS Xcode workspace/project
    • folder (string, required): The full path of the current folder that the iOS Xcode workspace/project sits

Installation

When using uv no specific installation is needed. We will use uvx to directly run mcpxcodebuild.

Using PIP

Alternatively you can install mcpxcodebuild via pip:

pip install mcpxcodebuild

After installation, you can run it as a script using:

python -m mcpxcodebuild

Configuration

Configure for Claude.app

Add to your Claude settings:

"mcpServers": { "mcpxcodebuild": { "command": "uvx", "args": ["mcpxcodebuild"] } }
"mcpServers": { "mcpxcodebuild": { "command": "python", "args": ["-m", "mcpxcodebuild"] } }

License

xcodebuild MCP tool is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

🍎 Build iOS Xcode workspace/project and feed back errors to llm.

  1. Available Tools
    1. Installation
      1. Using uv (recommended)
        1. Using PIP
        2. Configuration
          1. Configure for Claude.app
          2. License