XcodeBuildMCP
XcodeBuildMCP 是在 getsentry 组织下维护的 Model Context Protocol 服务和命令行,为智能体提供处理 iOS 和 macOS 项目的工具。它是一个包、两种模式:用于直接在终端使用的命令行(例如 `xcodebuildmcp simulator build --scheme MyApp --project-path ./MyApp.xcodeproj`,用 `xcodebuildmcp tools` 列出工具),以及启动面向 AI 编程智能体的 MCP 服务的 `mcp` 子命令。
可以用 Homebrew(`brew tap getsentry/xcodebuildmcp` 然后 `brew install xcodebuildmcp`)安装,或在 Node.js 18+ 上用 npm 和 npx,README 给出了包括 Cursor 在内的多个客户端的配置。需要 macOS 14.5 或更高版本和 Xcode 16 或更高版本。附带两个可选的智能体技能,分别面向 MCP 服务和命令行。README 里的说明:它会让 xcodebuild 跳过宏验证,使用 Swift Macros 的项目也能构建;真机工具需要在 Xcode 里配置好代码签名。它只用 Sentry 收集运行时错误遥测,关闭方式见隐私文档,采用 MIT 许可证。
功能特性
为什么选择它
权衡点
维护状况检查
- 最近提交
- 2026-09-23
- 近 90 天提交数
- 20
- 近 90 天发布数
- 2
- 最新发布
- v2.7.1 (2026-09-23)
- 未关闭 issue
- 32
- 近期 issue 至少有一条评论的比例
- 13/25
最早的一周在左边,最近 4 周为橙色。数据来源:GitHub 提交统计。
状态规则:GitHub 上已归档 = 已归档;最近提交在 90 天内 = 活跃;91 到 365 天 = 放缓;更久 = 停滞。所有数字来自所示日期的 GitHub API。
讨论最多的未关闭 issue
- #524 Test-products retention is unbounded in practice (100 bundles / 3 days, no config knob) — can fill a disk3 条评论 · 2026-09-03
- #526 [Bug]: Orphaned workspaces are never swept — test-products for deleted project paths persist forever (126 GB past max age)2 条评论 · 2026-09-08
- #525 Allow reusing Xcode.app's per-workspace DerivedData (avoid duplicate builds); static XCODEBUILDMCP_DERIVED_DATA_PATH can't map per workspace2 条评论 · 2026-09-03
- #517 test_sim reports SUCCEEDED with 0 tests when per-call projectPath is ignored2 条评论 · 2026-08-23
- #537 [Bug]: iPhone Duo (foldable) simulator: snapshot_ui works, tap/touch/key input never lands, screenshot cannot target the lit panel1 条评论 · 2026-09-21
issue 标题引自 GitHub。请打开链接确认该问题是否仍适用于你使用的版本。
兼容性
快速开始
使用场景
同类工具
评论
暂无评论,来发表第一条吧