{"type":"mcp_client","name":"UnityMCP","description":"UnityMCP is a Unity Editor plugin implementing the Model Context Protocol, enabling seamless integration between Unity and AI assistants. It offers real-time editor state monitoring, remote command execution, and logging capabilities.","category":"Developer Tools","language":"C#","stars":520,"forks":41,"owner":"Arodoid","github_url":"https://github.com/Arodoid/UnityMCP","homepage":null,"setup":"## Setup\n\n### Installing via Smithery\n\nTo install UnityMCP for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@Arodoid/unitymcp):\n\n```bash\nnpx -y @smithery/cli install @Arodoid/unitymcp --client claude\n```\n\n### Prerequisites\n- Unity 2022.3 or later\n- Node.js 18 or later\n- npm 9 or later\n\n### Unity Plugin Setup\n\n1. Copy the `UnityMCPPlugin` folder to your Unity project's Assets directory\n2. Open Unity Editor\n3. Access the plugin through Unity's top menu bar > UnityMCP > Debug Window\n\n### MCP Server Setup\n\n```bash\ncd unity-mcp-server\nnpm install\nnpm run build\n```\n\n### Starting the Server\n\n```bash\ncd unity-mcp-server\nnode build/index.js\n```\n\n### Connecting from Unity\n\n1. Open your Unity project\n2. Open the UnityMCP Debug Window (Window > UnityMCP > Debug Window)\n3. The plugin will automatically attempt to connect to the MCP server\n4. Monitor connection status and logs in the debug window","tools":"## Available Tools\n\n1. `get_editor_state` (Retrieves current Unity Editor state including active GameObjects, selection state, play mode status, scene hierarchy and project structure, and supports different output formats.)\n2. `execute_editor_command` (Executes C# code directly in the Unity Editor with full access to UnityEngine and UnityEditor APIs, real-time execution with comprehensive error handling, and command timeout protection.)\n3. `get_logs` (Retrieves and filters Unity Editor logs, supports filtering by type, content, and timestamp, customizable output fields, and buffer management for optimal performance.)","faq":null,"created_at":"2025-01-15T00:19:00+00:00","updated_at":"2025-03-28T11:16:05+00:00","source_url":"https://model-context-protocol.com/clients/unity-editor-ai-assistant-integration","related_articles":[]}