mcpxcodebuild

by ShenghaiWang
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Enables building and testing iOS applications by providing tools that interact with Xcode projects and workspaces in specified folders.

  • Allows building and testing iOS Xcode workspaces/projects directly through command-line operations, facilitating iOS development workflows in code editors.

xcodebuild MCP 服务器

构建 iOS 工作区/项目的模型上下文协议服务器,可使用 Cline 或 Roo Code 等扩展程序实现在 Visual Studio Code 中与 iOS 项目无缝协作的工作流程。

可用工具

  • build - 构建 iOS Xcode 工作区/项目
    • folder (字符串,必需):iOS Xcode 工作区/项目所在的当前文件夹的完整路径
  • test - 针对 iOS Xcode 工作区/项目运行测试
    • folder (字符串,必需):iOS Xcode 工作区/项目所在的当前文件夹的完整路径

安装

使用 uv(推荐)

使用uv时无需特殊安装。我们将使用uvx直接运行mcpxcodebuild

使用 PIP

或者,您可以通过 pip 安装mcpxcodebuild

pip install mcpxcodebuild

安装后,您可以使用以下命令将其作为脚本运行:

python -m mcpxcodebuild

配置

为 Claude.app 配置

添加到您的 Claude 设置:

"mcpServers": { "mcpxcodebuild": { "command": "uvx", "args": ["mcpxcodebuild"] } }
"mcpServers": { "mcpxcodebuild": { "command": "python", "args": ["-m", "mcpxcodebuild"] } }

执照

xcodebuild MCP 工具遵循 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但需遵守 MIT 许可证的条款和条件。更多详细信息,请参阅项目仓库中的 LICENSE 文件。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

🍎 构建 iOS Xcode 工作区/项目并将错误反馈给 llm。

  1. Available Tools
    1. Installation
      1. Using uv (recommended)
      2. Using PIP
    2. Configuration
      1. Configure for Claude.app
    3. License
      ID: 5ibnbzxmql