xcodebuild MCP Server logo

xcodebuild MCP Server

by ShenghaiWang

The xcodebuild MCP Server is a Model Context Protocol server designed to build iOS workspace/project. It enables a seamless workflow for working with iOS projects in Visual Studio Code using extensions like Cline or Roo Code.

View on GitHub

Last updated: N/A

What is xcodebuild MCP Server?

The xcodebuild MCP Server is a tool that acts as a bridge between Visual Studio Code and Xcode build system. It allows developers to trigger Xcode builds and tests directly from VS Code using Model Context Protocol, enhancing the development workflow.

How to use xcodebuild MCP Server?

  1. Install using uv (recommended) or pip.
  2. Configure your Claude.app settings to use the server, specifying the command and arguments based on your installation method (uvx or pip).
  3. Use the available tools (build, test) by providing the required folder parameter, which is the full path to your iOS Xcode workspace/project.

Key features of xcodebuild MCP Server

  • Build iOS Xcode workspace/project

  • Run tests for iOS Xcode workspace/project

  • Seamless integration with Visual Studio Code

  • Support for uv and pip installation

  • Configuration examples for Claude.app

Use cases of xcodebuild MCP Server

  • Building iOS apps from Visual Studio Code

  • Running automated tests on iOS projects

  • Integrating Xcode build process into a VS Code-based development environment

  • Using Cline or Roo Code extensions for iOS development

  • Automating iOS build and test workflows

FAQ from xcodebuild MCP Server

What is MCP?

MCP stands for Model Context Protocol. It's a protocol that enables communication between different tools and services.

How do I install mcpxcodebuild?

You can install it using uv (recommended) or pip. Refer to the Installation section in the README for detailed instructions.

How do I configure mcpxcodebuild for Claude.app?

Add the provided JSON configuration to your Claude.app settings, choosing the appropriate configuration based on your installation method (uvx or pip).

What are the available tools?

The available tools are build and test. Each tool requires the folder parameter, which is the path to your iOS project.

What license is mcpxcodebuild under?

mcpxcodebuild is licensed under the MIT License. You are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License.