XcodeBuildMCP
iOSおよびmacOSプロジェクトで作業するAIエージェント向けのツールを提供する、Model Context Protocol (MCP) サーバーおよびCLIです。
インストール
XcodeBuildMCPは、直接ターミナルで使用するためのCLIと、AIコーディングエージェント用のMCPサーバーという2つのモードを備えた単一のパッケージとして提供されます。どちらのインストール方法でも両方の機能が利用可能です。
オプション A — Homebrew
brew tap getsentry/xcodebuildmcp
brew install xcodebuildmcpオプション B — npm (Node.js 18+)
npm install -g xcodebuildmcp@latestインストールを確認する:
xcodebuildmcp --helpMCPクライアントへの接続
Cursor、Claude Code、Codexなどの設定スニペットは、公式ドキュメントページMCP Clientsで確認できます。ほとんどのクライアントは、グローバルインストールなしで npx -y xcodebuildmcp@latest mcp を使用して、オンデマンドでMCPサーバーを実行することも可能です。
Related MCP server: MCP Xcode Server
要件
macOS 14.5以降
Xcode 16.x以降
Node.js 18.x以降 (Homebrewインストールの場合は不要)
スキル
XcodeBuildMCPには、現在2つのオプションの「エージェントスキル」が含まれています。
MCPスキル: MCPサーバーのツールの使用方法に関する指示をエージェントに与えます(MCPサーバー使用時はオプション)。
CLIスキル: CLIの操作方法に関する指示をエージェントに与えます(CLI使用時は推奨)。
グローバルバイナリとしてインストールする場合:
xcodebuildmcp initまたは、グローバルインストールなしでnpx経由で直接インストールする場合:
npx -y xcodebuildmcp@latest initスキルのインストールの詳細については、Agent Skillsを参照してください。
注意事項
XcodeBuildMCPは、Swiftマクロを使用するプロジェクトのビルド時にエラーを回避するため、
xcodebuildに対してマクロ検証をスキップするよう要求します。デバイスツールを使用するには、Xcodeでコード署名が設定されている必要があります。Device Code Signingを参照してください。
プライバシー
XcodeBuildMCPは、内部の実行時エラーテレメトリにのみSentryを使用します。詳細およびオプトアウトの手順については、Privacy & Telemetryを参照してください。
CLI
XcodeBuildMCPは統合されたコマンドラインインターフェースを提供します。mcpサブコマンドはMCPサーバーを起動し、その他のすべてのコマンドはツールへの直接的なターミナルアクセスを提供します:
# Install globally
npm install -g xcodebuildmcp@latest
# Start the MCP server (for MCP clients)
xcodebuildmcp mcp
# List available tools
xcodebuildmcp tools
# Build for simulator
xcodebuildmcp simulator build --scheme MyApp --project-path ./MyApp.xcodeprojアップデートを確認し、その場でアップグレードする:
xcodebuildmcp upgrade --check
xcodebuildmcp upgrade --yesCLIは、ステートフルな操作(ログキャプチャ、デバッグなど)のためにワークスペースごとのデーモンを使用し、必要に応じて自動的に起動します。詳細なドキュメントについては、CLI guideを参照してください。
ドキュメント
MCPクライアント: https://xcodebuildmcp.com/docs/clients
CLIの使用方法: https://xcodebuildmcp.com/docs/cli
ツールリファレンス: https://xcodebuildmcp.com/docs/tools
トラブルシューティング: https://xcodebuildmcp.com/docs/troubleshooting
ライセンス
このプロジェクトはMITライセンスの下でライセンスされています。詳細はLICENSEファイルを参照してください。 サードパーティのライセンス通知については、THIRD_PARTY_LICENSESファイルを参照してください。 npmパッケージの帰属表示については、THIRD_PARTY_PACKAGE_LICENSESファイルを参照してください。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for Xcode build automation and log parsing that opens Xcode projects, triggers builds directly in Xcode, and parses build logs to extract errors and warnings.Last updated268657Apache 2.0
- Alicense-qualityDmaintenanceAn MCP server that provides tools for programmatically interacting with Xcode projects, enabling users to manage targets, schemes, and files. It supports essential development tasks including building, testing, and cleaning projects through the Xcode command-line tools.Last updated14MIT
- Alicense-qualityDmaintenanceAn MCP server that enables AI assistants to parse Xcode and Swift build outputs into structured, token-efficient formats like JSON or TOON. It provides tools for executing build commands and extracting detailed diagnostic information such as errors, warnings, and test failures.Last updated8MIT
- Alicense-qualityBmaintenanceMCP server and CLI for iOS development — build, test, automate, and diagnose from any AI agent or terminal.Last updated1MIT
Related MCP Connectors
MCP server for Appcircle mobile CI/CD platform.
NuGet MCP — .NET package registry
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/getsentry/XcodeBuildMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server