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
:
安装后,您可以使用以下命令将其作为脚本运行:
配置
为 Claude.app 配置
添加到您的 Claude 设置:
执照
xcodebuild MCP 工具遵循 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但需遵守 MIT 许可证的条款和条件。更多详细信息,请参阅项目仓库中的 LICENSE 文件。
local-only server
The server can only run on the client's local machine because it depends on local resources.
🍎 构建 iOS Xcode 工作区/项目并将错误反馈给 llm。
Related Resources
Related MCP Servers
- -securityAlicense-qualityEnable Claude (or any other LLM) to interactively debug your code (set breakpoints and evaluate expressions in stack frame). It's language-agnostic, assuming debugger console support and valid launch.json for debugging in VSCode.Last updated -427MIT License
- -securityAlicense-qualityConnects to Xcode's build system to extract, parse, and display errors and warnings from your Swift projects, helping AI assistants quickly identify code issues without manually searching through build logs.Last updated -5MIT License
- -securityFlicense-qualityAllows LLMs to integrate with Linear's issue tracking system, enabling them to create, update, search, and comment on issues through the Linear API.Last updated -237
- AsecurityAlicenseAqualityProvides programmatic access to Xcode functionality, enabling AI assistants to create, build, test, and manage iOS/macOS projects directly.Last updated -2782MIT License
Appeared in Searches
- Desktop Automation Tools with Ultrawide Monitor Support (3840x1080p)
- A development environment for creating apps on Apple's platforms
- Information about Java programming language or related topics
- Testing and Debugging with Xcode Simulators for iOS, visionOS, iPadOS, and macOS
- Information about Xcode - Apple's IDE for macOS and iOS development