OlympHill
xcodebuild logo

xcodebuild用于构建 Xcode iOS 工作区/项目并将错误反馈给 LLM 的 MCP 工具。

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

xcodebuild 是一个 Model Context Protocol ( MCP ) 服务器,它使用户能够方便地使用 Visual Studio Code 中的扩展如 Cline 或 Roo Code,工作与 iOS 项目。它允许用户通过指定项目文件夹的全路径来构建和测试 iOS Xcode 项目。该工具可以使用 uv 运行,也可以通过 pip 安装。为了使用该工具与特定命令和参数一起使用,需要在 Claude 设置中进行 配置。xcodebuild MCP 工具的授权情况遵守 MIT 许可,允许免费使用、修改和分发。它旨在将错误反馈给大型语言模型 (LLMs)。

主要功能

  • 构建 iOS Xcode 工作区/项目
  • 为 iOS Xcode 工作区/项目运行测试
  • MCP 服务器以与 LLM 集成
  • 支持使用 uv 运行
  • 支持通过 pip 安装

价格

模型
Free
评分
暂无评价

使用场景

在 Visual Studio Code 中使用 iOS 进程开发

使用 Visual Studio Code 扩展,如 Cline 或 Roo Code,利用 xcodebuild 来构建和测试 iOS Xcode 工作区和项目。

用于 LLM 的错误处理

配置 xcodebuild 以将错误反馈给大型语言模型 (LLMs),从而提高开发工作流程。

优点 & 缺点

优点

  • 能够让 iOS 项目在 Visual Studio Code 中有一个无缝的工作流程
  • 支持构建和测试 iOS Xcode 项目和工作区
  • 遵守 MIT 许可,允许免费使用和修改

缺点

  • 关于错误处理和向 LLM 反馈的信息有限
  • 需要为使用 Claude.app 或其他 LLM 配置

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

Is there any cost or licensing restriction for using xcodebuild?

xcodebuild is released under the MIT License, so it is free to use, modify, and distribute with no cost or licensing fees.

Asked by Ximenez Alvarado · Mar 12, 2026

Does xcodebuild support building both workspaces and individual projects?

Yes, the tool provides two commands: `build` and `test`, each requiring the full path to the folder containing either a workspace or a project. It will compile or run tests accordingly.

Asked by Omar Haddad · Jan 30, 2026

What is required to integrate xcodebuild with an LLM like Claude?

Add a configuration entry in Claude’s settings: for uv use `mcpServers:{mcpxcodebuild:{command:uvx,args:[mcpxcodebuild]}}`; for pip use `mcpServers:{mcpxcodebuild:{command:python,args:[m mcpxcodebuild]}}`. This registers the server so the LLM can invoke build or test commands.

Asked by Vincenzo Greco · Jan 24, 2026

How do I install and run xcodebuild for my project?

You can install it with uv (recommended) or pip. With uv, run `uvx mcp-xcodebuild`. With pip, install via `pip install mcpxcodebuild` and execute `python m mcpxcodebuild`. After installation, call the tool from your workspace path.

Asked by Yaw Owusu · Jan 18, 2026

提问

服务配缩器 的替代品