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.
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.
Who Is This For?
- iOS developers:Builds Xcode projects/workspaces and enables error feedback to the LLM in VS Code workflows.




