XcodeBuild MCP

XcodeBuild MCP

開発者
Sentry
claudecursorvscodecodexgeneric
FreeOpen Source

このサーバーについて

Sentry による MCP サーバーで、AI エージェントに iOS/macOS ビルドツールを提供します。Xcode プロジェクトのビルド、テスト実行、シミュレータ管理をサポートし、コーディングエージェントが Apple 開発環境を操作できるようにします。

インストール

npx -y @getsentry/xcodebuild-mcp
公式 README インストールガイド(英語原文)

XcodeBuildMCP 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

bash
brew tap getsentry/xcodebuildmcp
brew install xcodebuildmcp

Option B — npm (Node.js 18+)

bash
npm install -g xcodebuildmcp@latest

Verify either install:

bash
xcodebuildmcp --help

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 xcodebuildmcp@latest mcp without a global install.

よくある質問

XcodeBuild MCP は何ができますか?

AI エージェントが macOS 上で Xcode プロジェクトを操作できます:プロジェクトのビルドとコンパイルエラーの取得、テストスイートの実行と結果確認、iOS シミュレータの管理(起動/停止/リセット)、デバイスログの取得。Apple プラットフォーム開発の全工程を AI が支援します。

XcodeBuild MCP には macOS が必要ですか?

はい、macOS 上で動作し、Xcode と Command Line Tools のインストールが必要です。MCP サーバーは xcodebuild コマンドラインツールを介して Xcode と対話するため、Apple 開発環境でのみ動作します。

XcodeBuild MCP は無料ですか?

完全無料・オープンソース(MIT ライセンス)で、Sentry が公式メンテナンスしています。API キー不要でローカル実行され、すべてのビルド操作はあなたのマシン上で実行されます。