QU

quazaai/unitymcpintegration

Developer tools

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

155 stars 34 forks 品質 67 トレンド 0MIT

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)

  1. Unityパッケージマネージャー([Window > Package Manager)を開く
  2. +ボタンをクリックし、Add package from git URL...を選択します。
  3. リポジトリURLを入力してください:https://github.com/quazaai/UnityMCPIntegration.git
  4. クリック 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)

  1. Open the Unity Package Manager (Window > Package Manager)
  2. Click the + button and select Add package from git URL...
  3. Enter the repository URL: https://github.com/quazaai/UnityMCPIntegration.git
  4. Click Add

Option B: Import Custom Package

  1. Clone this repository or download it as a unityPackage
  2. In Unity, go to Assets > Import Package > Custom Package
  3. Select the UnityMCPIntegration.unitypackage file

2. Set up the MCP Server

You have two options to run the MCP server:

Option A: Run the server directly

GitHub で README 全文を見る

インストール

npx -y @smithery/cli install @quazaai/unitymcpintegration --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "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" } } } }