{"type":"mcp_server","name":"unity-mcp","description":"This Unity package facilitates communication between Unity and LLMs via the Model Context Protocol, enabling developers to automate workflows, manipulate assets, and control the Unity Editor programmatically. This Unity package","category":"Developer Tools","language":"C#","stars":12483,"forks":142,"owner":"justinpbarnett","github_url":"https://github.com/justinpbarnett/unity-mcp","homepage":null,"setup":"## Setup\n\nTo use the Unity MCP Package, ensure you have Unity 2020.3 LTS or newer (URP projects only), Python 3.12 or newer, and the uv package manager installed.\n\n### Step 1: Install Python\n\nDownload and install Python 3.12 or newer from [python.org](https://www.python.org/downloads/), adding Python to your systemâs PATH during installation.\n\n### Step 2: Install uv\n\nInstall uv using the appropriate command for your operating system:\n\n- **Mac**:\n\n  ```bash\n  brew install uv\n  ```\n\n- **Windows**:\n\n  ```bash\n  powershell -c \"irm https://astral.sh/uv/install.ps1 | iex\"\n  ```\n\n  Then, add uv to your PATH:\n\n  ```bash\n  set Path=%USERPROFILE%\\.local\\bin;%Path%\n  ```\n\n- **Linux**:\n\n  ```bash\n  curl -LsSf https://astral.sh/uv/install.sh | sh\n  ```\n\nFor alternative installation methods, see the [uv installation guide](https://docs.astral.sh/uv/getting-started/installation/).\n\n**Important**: Do not proceed without installing uv.\n\n### Step 3: Install the Unity Package\n\n1. Open Unity and go to `Window > Package Manager`.\n2. Click the `+` button and select `Add package from git URL`.\n3. Enter: `https://github.com/justinpbarnett/unity-mcp.git`\n\nOnce installed, the Unity MCP Package will be available in your Unity project, and the server will start automatically when used with an MCP client.","tools":"## Available Tools\n\n1.  Bidirectional Communication (Seamlessly send and receive data between Unity and LLMs.)\n2.  Asset Management (Import assets, instantiate prefabs, and create new prefabs programmatically.)\n3.  Scene Control (Open, save, and modify scenes, plus create and manipulate game objects.)\n4.  Material Editing (Apply and modify materials with ease.)\n5.  Script Integration (Create, view, and update C# scripts within Unity.)\n6.  Editor Automation (Automate Unity Editor tasks like building projects or entering play mode.)","faq":null,"created_at":"2025-03-18T11:01:58+00:00","updated_at":"2025-03-28T19:59:35+00:00","source_url":"https://model-context-protocol.com/servers/unity-editor-mcp-server-llm-automation","related_articles":[]}