xcodebuild

xcodebuild

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

76
Stars
9
Forks
0
Releases

Overview

xcodebuild MCP Server is a Model Context Protocol server that builds iOS Xcode workspaces or projects and provides structured feedback to the language model. It enables a seamless workflow for iOS projects in Visual Studio Code, supporting extensions like Cline or Roo Code. The server exposes two commands via its MCP interface: build and test. The build command requires a folder parameter that is the full path to the directory containing the Xcode workspace or project. The test command runs tests for the current iOS workspace/project using the specified folder. Installation options include using uv (recommended) with uvx to directly run mcpxcodebuild, or installing via pip (pip install mcpxcodebuild) and running via python -m mcpxcodebuild. Configuration for Claude.app is provided, with settings for both uvx and pip installations. The tool is MIT licensed and designed to integrate into AI-assisted development workflows to automate building and testing of iOS projects from within code editors.

Details

Owner
ShenghaiWang
Language
Python
License
MIT License
Updated
2025-12-07

Features

Build iOS Xcode workspace/project

Builds the current iOS Xcode workspace or project; requires the full folder path to locate the workspace/project.

Run tests for iOS Xcode workspace/project

Runs tests for the current iOS workspace or project; requires the full folder path to locate tests.

Audience

iOS developersBuilds Xcode projects/workspaces and enables error feedback to the LLM in VS Code workflows.

Tags

iOSXcodebuildtestsMCP serverVS CodeClineRoo CodeuvpipClaude