YU

youichi-uda/unity-mcp-pro-plugin

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

82 stars 7 forks 品質 76 トレンド 18MIT

147 MCP(モデルコンテキストプロトコル)によるUnityゲーム開発のためのAIツール。 Claude、Cursor、AIアシスタントをUnityエディタに接続します.

概要

AIアシスタント(クロード、カーソル、ウィンドサーフィン、VSコードコピロット)をWebSocket経由でUnityエディタに接続するUnityエディタプラグイン。 — シーン管理、GameObject、スクリプト、プレハブ、物理、照明、アニメーション、マテリアル、地形、粒子、オーディオ、UI、ビルドパイプライン、入力シミュレーション、スクリーンショット、テスト、2D、タイムライン、スプライン、ECS、ネットコード、XRなど。 - — すべてのAI操作は、UnityのUndoシステム(Ctrl + Z)を通過します - — ハートビート、自動再接続、ポートスキャン(6605〜6609) - - - - 文字列の自動変換をVector3、色、量、等 - - - - 接続状態を失わずにスクリプトのリコンピレーションを存続させる - — MCP サーバーと IDE の統合を構成するための組み込みエディタウィンドウ — Unity 2022、2023 および Unity 6 (Built-in, URP, HDRP) をサポート このリポジトリをダウンロードし、プロジェクトのパッケージ/com.unity-mcp-pro/ディレクトリにコピーします。 このプラグインはUnity MCP Proのことです。 AIアシスタントで利用するには、MCPサーバーが必要です。 1.(上記参照) 2.

概要(AI 翻訳)

AIアシスタント(クロード、カーソル、ウィンドサーフィン、VSコードコピロット)をWebSocket経由でUnityエディタに接続するUnityエディタプラグイン。

  • シーン管理、GameObject、スクリプト、プレハブ、物理、照明、アニメーション、素材、地形、粒子、オーディオ、UI、ビルドパイプライン、入力シミュレーション、スクリーンショット、テスト、2D、タイムライン、スプライン、ECS、ネットコード、XRなど。

##特徴

-Full Undo/Redo — すべてのAI操作はUnityのUndoシステム(Ctrl+Z)を通過します

  • 生産グレードのWebSocket — ハートビート、指数関数的なバックオフと自動接続、ポートスキャン(6605〜6609) -スマートタイプパース — 文字列をVector3、色、量子などの自動変換。
  • ドメインリロードセーフ — 接続状態を失うことなくスクリプトのリコンピレーションを存続させる
  • サーバー設定ウィンドウ — MCPサーバーとIDEの統合を構成する組み込みエディタウィンドウ
  • Unity 2021.3+ — Unity 2022, 2023, Unity 6 (Built-in, URP, HDRP) に対応

#50 ツールカテゴリ

| カテゴリー | # | カテゴリ | # | # | お問い合わせ | プロジェクト | 7 | アニメーション | 7 | | シーン | 6 | アニメーション拡張 | 5 | | ゲームオブジェクト | 11 | UI(キャンバス) | 6 | | スクリプト | 6 | 音声 | 5 |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Unity MCP Pro — Plugin

Unity editor plugin that connects AI assistants (Claude, Cursor, Windsurf, VS Code Copilot) to the Unity editor via WebSocket.

280+ tools across 50 categories — scene management, GameObjects, scripts, prefabs, physics, lighting, animation, materials, terrain, particles, audio, UI, build pipeline, input simulation, screenshots, testing, 2D, timeline, splines, ECS, netcode, XR, and more.

Features

  • Full Undo/Redo — Every AI operation goes through Unity’s Undo system (Ctrl+Z)
  • Production-grade WebSocket — Heartbeat, auto-reconnect with exponential backoff, port scanning (6605–6609)
  • Smart Type Parsing — Automatic conversion of strings to Vector3, Color, Quaternion, etc.
  • Domain Reload Safe — Survives script recompilation without losing connection state
  • Server Setup Window — Built-in editor window for configuring MCP server and IDE integration
  • Unity 2021.3+ — Supports Unity 2022, 2023, and Unity 6 (Built-in, URP, HDRP)

50 Tool Categories

Category # Category #
Project 7 Animation 7
Scene 6 Animation Extended 5
GameObject 11 UI (Canvas) 6
Script 6 Audio 5
Editor 5 Particle 5
Prefab 6 Navigation 5
Material & Shader 6 Terrain 4
Physics 6 Build Pipeline 5
Lighting 5 Batch Operations 6
Analysis & Profiling 10 Package Manager 6
Input Simulation 8 Debug 5
Runtime Extended 7 Screenshot & Visual 4
Testing & QA 6 2D Tools 6
Controller 4 Timeline 5
Environment 6 Spline 5
Optimization 7 Shader Graph 5
Camera / Cinemachine 6 Visual Scripting 5
Post-Processing 5 Profiler 4
AI Tools 4 Benchmark 4
Game Systems 5 Playthrough 4
Import Settings 5 Watch / Monitor 3
Multi-Scene 4 Undo History 3
Scene View Camera 4 Addressables 5
Custom Editor 4 Localization 4
Rigging 4 ECS / DOTS 4
Netcode 4 XR / VR 4

Installation

Option 1: Unity Package Manager (Git URL)

  1. Open Unity → Window → Package Manager
  2. Click + → Add package from git URL…
  3. Enter:
    https://github.com/youichi-uda/unity-mcp-pro-plugin.git
    

Option 2: Clone to your project

cd YourUnityProject/Packages
git clone https://github.com/youichi-uda/unity-mcp-pro-plugin.git com.unity-mcp-pro

Option 3: Download and copy

Download this repository and copy it into your project’s Packages/com.unity-mcp-pro/ directory.

Setup

This plugin is the Unity-side component of Unity MCP Pro. To use it with AI assistants, you also need the MCP server.

  1. Install this plugin (see above)
  2. Get the MCP server — Available at unity-mcp.abyo.net
  3. Build the MCP server:
    cd server && npm install && npm run build
    
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "unity-mcp-pro": { "command": "node", "args": ["/path/to/server/build/index.js"] } } }