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.
Discover more MCP servers with similar functionality and use cases
by zed-industries
Provides real-time collaborative editing powered by Rust, enabling developers to edit code instantly across machines with a responsive, GPU-accelerated UI.
by cline
Provides autonomous coding assistance directly in the IDE, enabling file creation, editing, terminal command execution, browser interactions, and tool extension with user approval at each step.
by continuedev
Provides continuous AI assistance across IDEs, terminals, and CI pipelines, offering agents, chat, inline editing, and autocomplete to accelerate software development.
by github
Enables AI agents, assistants, and chatbots to interact with GitHub via natural‑language commands, providing read‑write access to repositories, issues, pull requests, workflows, security data and team activity.
by block
Automates engineering tasks by installing, executing, editing, and testing code using any large language model, providing end‑to‑end project building, debugging, workflow orchestration, and external API interaction.
by RooCodeInc
An autonomous coding agent that lives inside VS Code, capable of generating, refactoring, debugging code, managing files, running terminal commands, controlling a browser, and adapting its behavior through custom modes and instructions.
by lastmile-ai
A lightweight, composable framework for building AI agents using Model Context Protocol and simple workflow patterns.
by firebase
Provides a command‑line interface to manage, test, and deploy Firebase projects, covering hosting, databases, authentication, cloud functions, extensions, and CI/CD workflows.
by gptme
Empowers large language models to act as personal AI assistants directly inside the terminal, providing capabilities such as code execution, file manipulation, web browsing, vision, and interactive tool usage.