SuperAPI AI Directory

xcodebuild

Build iOS Xcode workspaces or projects and feed errors back to the LLM.

Open website Compare
PricingOpen sourceGitHub 开源项目 · 85 Stars
GitHub stars85GitHub

Sources: GitHub

About this tool

xcodebuild is a Model Context Protocol (MCP)-based server, primarily intended for build scenarios involving iOS Xcode workspaces or projects. Its core purpose is to execute Xcode builds within AI-assisted development workflows and pass the build-produced error information back to the LLM, thereby enabling AI tools to understand the project's current compilation state and provide assistance accordingly.

Use cases The tool is suitable for developers working on iOS projects in editors such as Visual Studio Code, especially users who want to build seamless AI workflows with the help of extensions such as Cline and Roo Code. Through the MCP protocol, AI extensions can invoke xcodebuild to perform actual build operations and then carry out subsequent processing based on the returned error information.

Main capabilities The xcodebuild MCP Server provides two available tools:

  1. build: Builds an iOS Xcode workspace or project. The parameter folder (string, required) is the full path to the folder where the current iOS Xcode workspace or project is located.
  2. test: Runs tests for an iOS Xcode workspace or project. The parameter folder (string, required) is the full path to the folder where the current iOS Xcode workspace or project is located.

How to use uv is recommended. When using uv, no specific installation step is required, and mcpxcodebuild will be run directly via uvx. mcpxcodebuild can also be installed via pip, and after installation it can be run as a script. To use it in Claude.app, the corresponding configuration needs to be added to the Claude settings.

Applicable scenarios It is suitable for users developing iOS projects in an AI-assisted programming environment, for example when using extensions such as Cline or Roo Code in Visual Studio Code, in scenarios where the AI needs to be aware of and participate in the Xcode build and test process.

Limitations and notes This project is released under the MIT License, allowing free use, modification, and distribution, with the specific terms subject to the LICENSE file in the project repository. Apart from the above information, details such as supported platform versions, specific build configuration options, and pricing are not provided for now.