Unity Build Automation MCP
Provides tools for managing Unity Cloud Build projects, build targets, builds, and logs, enabling starting and canceling builds.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Unity Build Automation MCPshow me the build status for my project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unity Build Automation MCP Server
Unity Cloud Build (Build Automation) の REST API を MCP (Model Context Protocol) サーバーとしてラップし、Claude Code から直接ビルド状況の確認・操作を可能にします。
Architecture
Claude Code <--stdio--> MCP Server (Node.js/TypeScript) <--HTTPS--> Unity Build API
https://build-api.cloud.unity3d.com/api/v1/Related MCP server: UniMCP4CC
Setup
Prerequisites
Node.js (ES2022+)
Unity Build Automation API Key
Install
# npx で直接使う場合(インストール不要)
npx -y unity-build-automation-mcp
# グローバルインストール
npm install -g .
# ローカル開発
npm installEnvironment Variables
Variable | Required | Description |
| Yes | Unity Build Automation API Key |
| Yes | Organization ID |
| No | Default project name or ID |
Claude Code MCP Settings
Claude Code CLI で追加:
claude mcp add unity-build -- npx -y unity-build-automation-mcpまたは ~/.claude.json / .mcp.json に手動で追加:
{
"mcpServers": {
"unity-build": {
"command": "npx",
"args": ["-y", "unity-build-automation-mcp"],
"env": {
"UNITY_BUILD_API_KEY": "<your-api-key>",
"UNITY_BUILD_ORG_ID": "<your-org-id>"
}
}
}
}ローカルリポジトリから直接使う場合:
{
"mcpServers": {
"unity-build": {
"command": "node",
"args": ["<path-to-repo>/dist/index.js"],
"env": {
"UNITY_BUILD_API_KEY": "<your-api-key>",
"UNITY_BUILD_ORG_ID": "<your-org-id>"
}
}
}
}Tools
Read Operations
Tool | Description |
| Organization 内のプロジェクト一覧を取得 |
| プロジェクトのビルドターゲット一覧を取得 |
| ビルド一覧を取得(ステータスでフィルタ可) |
| 特定ビルドの詳細情報を取得 |
| ビルドログの末尾N行を取得 |
Write Operations
Tool | Description |
| 新しいビルドを開始 |
| 実行中のビルドをキャンセル |
Write operations は Claude Code 側で実行前に確認プロンプトが表示されます。
Usage Examples
ビルド状況の確認:
「最新のビルド状況を見せて」
失敗ビルドの調査:
「失敗したビルドのログを確認して」
ビルドの開始:
「Android の develop ブランチでビルドを開始して」
ビルドターゲットの確認:
「MyProject のビルドターゲット一覧を見せて」
Parameters
ほとんどのツールで project パラメータは省略可能です。省略時はデフォルトプロジェクトが使用されます。プロジェクト名(例: MyProject)または UUID のどちらでも指定できます。
Build Status Values
Status | Description |
| キュー待ち |
| ビルダーに送信済み |
| ビルド中 |
| 再開 |
| 成功 |
| 失敗 |
| キャンセル |
| 不明 |
Development
npm run dev # TypeScript watch mode
npm run build # Build
npm start # Run serverProject Structure
src/
index.ts # Entry point, MCP server setup
api.ts # Unity Build API client
config.ts # Configuration / env var handling
types.ts # TypeScript type definitions
format.ts # Output formatting utilities
tools/
list-projects.ts
list-build-targets.ts
list-builds.ts
get-build.ts
get-build-log.ts
start-build.ts
cancel-build.tsLicense
Private
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/akiraKido/Unity-Build-Automation-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server