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.
This is a Model Context Protocol (MCP) server designed to build iOS Xcode workspaces/projects, enabling a smooth workflow within Visual Studio Code using extensions like Cline or Roo Code.
It offers two primary tools:
build
: Builds an iOS Xcode workspace/project. Requires the folder
parameter, specifying the full path to the project.test
: Runs tests for an iOS Xcode workspace/project. Also requires the folder
parameter.Installation:
The recommended installation method is using uv
, which requires no specific installation steps. uvx
is used to directly run mcpxcodebuild. Alternatively, you can install via pip using pip install mcpxcodebuild
and run it as a script using python -m mcpxcodebuild
.
Configuration:
The README provides configuration examples for Claude.app, detailing how to set up the MCP server using either uvx
or a pip installation.
License:
The xcodebuild MCP tool is licensed under the MIT License.
ShenghaiWang/xcodebuild
March 2, 2025
March 28, 2025
Python