# XcodeBuildMCP

> MCP Server

This repository provides an MCP server, XcodeBuild MCP, that offers Xcode tools for AI assistants, enabling programmatic interaction with Xcode projects through a standardized interface for agent-driven development workflows.

## Overview

- **Category:** Developer Tools
- **Language:** TypeScript
- **Stars:** 6255
- **Forks:** 0
- **Owner:** cameroncooke
- **GitHub:** https://github.com/cameroncooke/XcodeBuildMCP
- **Created:** 2025-03-09T17:31:18+00:00
- **Updated:** 2025-03-28T23:39:46+00:00
- **Source:** https://model-context-protocol.com/servers/xcode-ai-assistant-build-automation-server

## Setup

## Setup

### Prerequisites

- Node.js (v16 or later)
- npm
- Xcode command-line tools

### Installation

1. Clone the repository
2. Install dependencies:
   ```
   npm install
   ```
3. Build the project:
   ```
   npm run build
   ```
4. Optionally start the server:
   ```
   node build/index.js
   ```

## Tools

## Available Tools

1.  **Build Operations** (Platform-specific build tools for macOS, iOS simulator, and iOS device targets)
2.  **Project Information** (Tools to list schemes and show build settings for Xcode projects and workspaces)
3.  **Clean Operations** (Clean build products using xcodebuild's native clean action)
4.  **Simulator Control** (List, boot, and open iOS simulators)
5.  **App Deployment** (Install and launch apps on iOS simulators)
6.  **Bundle ID Extraction** (Extract bundle identifiers from iOS and macOS app bundles)
7.  **App Launching** (Launch built applications on both simulators and macOS)
