by ShenghaiWang
xcodebuild is an MCP tool designed to streamline the iOS development workflow by building Xcode projects and feeding back errors to Language Model Models (LLMs).
xcodebuild is a Model Context Protocol (MCP) server that facilitates the building of iOS Xcode workspaces/projects. It is designed to integrate seamlessly with code editors like Visual Studio Code, especially when used with extensions such as Cline or Roo Code. Its primary function is to automate the build process for iOS projects and provide error feedback to LLMs, enhancing the development and debugging experience.
xcodebuild can be used by installing it via uv
(recommended) or pip
. Once installed, it can be configured within applications like Claude.app to act as an MCP server.
uv
(recommended): No specific installation is needed. You can directly run mcpxcodebuild
using uvx
.pip
: Install via pip install mcpxcodebuild
. After installation, run as a script using python -m mcpxcodebuild
.Add mcpxcodebuild
to your Claude settings under mcpServers
. Examples are provided for both uvx
and pip
installations.
build
: Builds iOS Xcode workspace/project. Requires the full path of the project folder.test
: Runs tests for iOS Xcode workspace/project. Requires the full path of the project folder.Q: What is MCP? A: MCP stands for Model Context Protocol, which is a protocol that allows models (like LLMs) to interact with external tools and services.
Q: What is the license for xcodebuild? A: xcodebuild is licensed under the MIT License, allowing for free use, modification, and distribution.
A Model Context Protocol server that builds iOS workspace/project that enables seamless workflow working with iOS projects in Visual Studio Code using extensions like Cline or Roo Code.
build
- Build iOS Xcode workspace/project
folder
(string, required): The full path of the current folder that the iOS Xcode workspace/project sitstest
- Run test for iOS Xcode workspace/project
folder
(string, required): The full path of the current folder that the iOS Xcode workspace/project sitsWhen using uv
no specific installation is needed. We will
use uvx
to directly run mcpxcodebuild.
Alternatively you can install mcpxcodebuild
via pip:
pip install mcpxcodebuild
After installation, you can run it as a script using:
python -m mcpxcodebuild
Add to your Claude settings:
"mcpServers": {
"mcpxcodebuild": {
"command": "uvx",
"args": ["mcpxcodebuild"]
}
}
"mcpServers": {
"mcpxcodebuild": {
"command": "python",
"args": ["-m", "mcpxcodebuild"]
}
}
xcodebuild MCP tool is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Please log in to share your review and rating for this MCP.