# xcodebuild

> MCP Server

The xcodebuild MCP server builds iOS projects, enabling seamless workflows in Visual Studio Code with extensions like Cline or Roo Code. It supports building and testing iOS Xcode workspaces or projects.

## Overview

- **Category:** Developer Tools
- **Language:** Python
- **Stars:** 84
- **Forks:** 1
- **Owner:** ShenghaiWang
- **GitHub:** https://github.com/ShenghaiWang/xcodebuild
- **Created:** 2025-03-02T07:07:58+00:00
- **Updated:** 2025-03-28T05:34:33+00:00
- **Source:** https://model-context-protocol.com/servers/ios-xcode-build-tool-for-llms

## Setup

## Setup

### Using uv (recommended)

When using [`uv`](https://docs.astral.sh/uv/) no specific installation is needed; use [`uvx`](https://docs.astral.sh/uv/guides/tools/) 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
```

### Configure for Claude.app

Add to your Claude settings:

<details>
<summary>Using uvx</summary>

```json
"mcpServers": {
  "mcpxcodebuild": {
    "command": "uvx",
    "args": ["mcpxcodebuild"]
  }
}
```
</details>

<details>
<summary>Using pip installation</summary>

```json
"mcpServers": {
  "mcpxcodebuild": {
    "command": "python",
    "args": ["-m", "mcpxcodebuild"]
  }
}
```
</details>

## Tools

## Available Tools

		1. `build` - Build iOS Xcode workspace/project.
		2. `test` - Run test for iOS Xcode workspace/project.
