xcodebuild

MCP tool for building Xcode iOS workspace/project and feeding back error to LLMs.

Installation

Installing for Claude Desktop

Option 1: One-Command Installation

npx mcpbar@latest install ShenghaiWang/xcodebuild -c claude

This command will automatically install and configure the xcodebuild MCP server for your selected client.

Option 2: Manual Configuration

Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

After opening your configuration file, copy and paste this configuration:

View JSON configuration
{
  "mcpServers": {
    "xcodebuild": {
      "command": "uvx",
      "args": [
        "mcpxcodebuild"
      ],
      "env": {}
    }
  }
}

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.

mcpxcodebuild MCP server

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:

Using uvx
"mcpServers": {
  "mcpxcodebuild": {
    "command": "uvx",
    "args": ["mcpxcodebuild"]
  }
}
Using pip installation
"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.

Share:
Details:
  • Stars


    66
  • Forks


    4
  • Last commit


    3 months ago
  • Repository age


    4 months
  • License


    MIT
View Repository

Auto-fetched from GitHub .

MCP servers similar to xcodebuild:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


xcodebuild: MCP Server – MCP.Bar