
quazaai/unitymcpintegration
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
quazaai/unitymcpintegrationは、https://github.com/quazaai/unitymcpintegration.からインポートされたMCPサーバー候補です。
概要
quazaai/unitymcpintegrationは、https://github.com/quazaai/unitymcpintegration.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
このパッケージはModel Context Protocol(MCP)とUnityエディターのシームレスな統合を提供し、AIアシスタントがリアルタイムでUnityプロジェクトを理解し、操作できるようにします。この統合により、AIアシスタントはシーン階層やプロジェクト設定の情報にアクセスし、Unity Editorのコンテキスト内で直接コードを実行できます。
📚 特徴
- プロジェクトファイルを直接閲覧・操作
- Unityプロジェクトのリアルタイム情報にアクセスできる
- シーンの階層構造とゲームオブジェクトを理解する
- Unityエディタで直接C#コードを実行
- ログとエラーの監視
- エディターのプレイモードの制御
- コード実行待ち
🚀 始めて
前提条件
- Unity 2021.3以降
- Node.js 18+(MCPサーバーの運用用)
就任
1.Unity Packageをインストールする
Unityパッケージをインストールする方法はいくつかあります:
オプションA:パッケージマネージャー(git URL)
- Unityパッケージマネージャー([
Window > Package Manager)を開く +ボタンをクリックし、Add package from git URL...を選択します。- リポジトリURLを入力してください:
https://github.com/quazaai/UnityMCPIntegration.git - クリック
Add
オプションB:カスタムパッケージのインポート 1.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
🚀 Advacned Unity MCP Integration
This package provides a seamless integration between Model Context Protocol (MCP) and Unity Editor, allowing AI assistants to understand and interact with your Unity projects in real-time. With this integration, AI assistants can access information about your scene hierarchy, project settings, and execute code directly in the Unity Editor context.
📚 Features
- Browse and manipulate project files directly
- Access real-time information about your Unity project
- Understand your scene hierarchy and game objects
- Execute C# code directly in the Unity Editor
- Monitor logs and errors
- Control the Editor’s play mode
- Wait For Code Execution
🚀 Getting Started
Prerequisites
- Unity 2021.3 or later
- Node.js 18+ (for running the MCP server)
Installation
1. Install Unity Package
You have several options to install the Unity package:
Option A: Package Manager (Git URL)
- Open the Unity Package Manager (
Window > Package Manager) - Click the
+button and selectAdd package from git URL... - Enter the repository URL:
https://github.com/quazaai/UnityMCPIntegration.git - Click
Add
Option B: Import Custom Package
- Clone this repository or download it as a unityPackage
- In Unity, go to
Assets > Import Package > Custom Package - Select the
UnityMCPIntegration.unitypackagefile
2. Set up the MCP Server
You have two options to run the MCP server:
Option A: Run the server directly
インストール
npx -y @smithery/cli install @quazaai/unitymcpintegration --client claude設定
{
"mcpServers": {
"unity-mcp-server": {
"command": "node",
"args": [
"path-to-project>\\Library\\PackageCache\\com.quaza.unitymcp@d2b8f1260bca\\mcpServer\\mcpServer\\build\\index.js"
],
"env": {
"MCP_WEBSOCKET_PORT": "5010"
}
}
}
}