Skip to main content
Glama

iOSおよびmacOSプロジェクトで作業するAIエージェント向けのツールを提供する、Model Context Protocol (MCP) サーバーおよびCLIです。

CI npm version License: MIT Node.js Xcode 16 macOS MCP Ask DeepWiki AgentAudit Security

インストール

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 --help

MCPクライアントへの接続

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 --yes

CLIは、ステートフルな操作(ログキャプチャ、デバッグなど)のためにワークスペースごとのデーモンを使用し、必要に応じて自動的に起動します。詳細なドキュメントについては、CLI guideを参照してください。

ドキュメント

ライセンス

このプロジェクトはMITライセンスの下でライセンスされています。詳細はLICENSEファイルを参照してください。 サードパーティのライセンス通知については、THIRD_PARTY_LICENSESファイルを参照してください。 npmパッケージの帰属表示については、THIRD_PARTY_PACKAGE_LICENSESファイルを参照してください。

A
license - permissive license
B
quality
A
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
2wRelease cycle
31Releases (12mo)
Commit activity
Issues opened vs closed

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

  • A
    license
    A
    quality
    C
    maintenance
    MCP 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.
    26
    86
    58
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An 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.
    41
    MIT

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

  • MCP server for Appcircle mobile CI/CD platform.

View all MCP Connectors

Latest Blog Posts

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