
XcodeBuildMCP
io.github.cameroncooke由 GitHub 帳號 cameroncooke 發布v1.12.8更新於 Oct 24, 2026
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
概覽
讓助理在代理工作流程中建置、測試並管理 Xcode 專案以及 iOS/macOS 模擬器。
- 可以做什麼
- XcodeBuildMCP 是一個 MCP 伺服器兼 CLI,提供 Xcode 專案管理、模擬器管理和應用程式工具。代理可以為模擬器建置 scheme、準備並執行測試產物、擷取日誌,並透過每個工作區的常駐程式進行除錯。它也附帶選用的代理技能,用來引導助理使用 MCP 工具或 CLI。
- 適用情境
- 當助理需要處理 iOS 或 macOS 專案時使用:建置應用程式、執行模擬器建置與測試,或檢視建置與日誌輸出。它鎖定希望讓代理驅動 Xcode 工作流程、而非手動執行指令的 macOS 開發者。
- 執行需求
- 需要 macOS 14.5 或更新版本、Xcode 16.x 或更新版本;若非透過 Homebrew 安裝,還需要 Node.js 18.x 或更新版本。裝置相關工具需要在 Xcode 中設定程式碼簽署。未宣告任何帳戶、API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 XcodeBuildMCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
[CI] [npm version] [License: MIT] [Node.js] [Xcode 16] [macOS] [MCP] [Ask DeepWiki] [AgentAudit Security] [pkg.pr.new]
Installation
MobileBuildMCP ships as a single package with two modes: a CLI for direct terminal use and an MCP server for AI coding agents. Either install method gives you both.
Option A — Homebrew
Option B — npm (Node.js 18+)
Verify either install:
Connect your MCP client
Drop-in config snippets for Cursor, Claude Code, Codex, can be found in the official docs page MCP Clients. Most clients can also run the MCP server on demand via npx -y mobilebuildmcp@latest mcp without a global install.
Requirements
- macOS 14.5 or later
- Xcode 16.x or later
- Node.js 18.x or later (not required for Homebrew installation)
Skills
MobileBuildMCP now includes two optional agent skills:
-
MCP Skill: Primes the agent with instructions on how to use the MCP server's tools (optional when using the MCP server).
-
CLI Skill: Primes the agent with instructions on how to navigate the CLI (recommended when using the CLI).
To install with a global binary:
Or install directly via npx without a global install:
For further information on installing skills, see Agent Skills.
Notes
- MobileBuildMCP requests xcodebuild to skip macro validation to avoid errors when building projects that use Swift Macros.
- Device tools require code signing to be configured in Xcode. See Device Code Signing.
Privacy
MobileBuildMCP uses Sentry for internal runtime error telemetry only. For details and opt-out instructions, see Privacy & Telemetry.
CLI
MobileBuildMCP provides a unified command-line interface. The mcp subcommand starts the MCP server, while all other commands provide direct terminal access to tools:
Check for updates and upgrade in place:
The CLI uses a per-workspace daemon for stateful operations (log capture, debugging, etc.) that auto-starts when needed. See the CLI guide for full documentation.
Documentation
- Installation: https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/installation.mdx
- Setup: https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/setup.mdx
- MCP clients: https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/clients.mdx
- CLI usage: https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/cli.mdx
- Configuration and options: https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/configuration.mdx
- Tools reference: https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/tools.mdx
- Troubleshooting: https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/troubleshooting.mdx
- Privacy: https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/privacy.mdx
- Skills: https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/skills.mdx
- Contributing: https://github.com/getsentry/xcodebuildmcp.com/blob/main/app/docs/_content/contributing.mdx
Licence
This project is licensed under the MIT License - see the LICENSE file for details. For third-party licensing notices see the THIRD_PARTY_LICENSES file for details. For npm package attributions see the THIRD_PARTY_PACKAGE_LICENSES file for details.
來源:README.md,提交 d13ff0c
工具
0版本歷史
1- v1.12.8最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分