Unity MCP Package
An enhanced Unity package to communicate with a local MCP Client via a Python server, with extended material, particle, lighting, UI and physics features.
HuangChILun
README
Unity MCP Package
A Unity package that focuses on enhanced material editing, building upon the original MCP functionality. Currently, only material enhancement is implemented, but the project is under active development with frequent updates. Upcoming features include lighting effects, advanced material properties, physics integration, terrain enhancements, and more. This package enables seamless communication between Unity and Large Language Models (LLMs) via the Model Context Protocol (MCP), acting as a bridge that allows Unity to send commands and receive responses from MCP-compliant tools.
Overview
The Unity MCP Server provides a bidirectional communication channel between Unity (via C#) and a Python server, enabling:
- Asset Management: Create, import, and manipulate Unity assets programmatically.
- Scene Control: Manage scenes, objects, and their properties.
- Enhanced Material Editing: Apply and modify materials with improved lighting and shader support.
- Script Integration: Create, view, and update C# scripts within Unity.
- Editor Automation: Control Unity Editor functions like undo, redo, play mode, and build processes.
- Additional Unity Features: Leverage new experimental functions such as advanced lighting controls and post-processing effects.
This project is perfect for developers who want to leverage LLMs to enhance their Unity projects or automate repetitive tasks.
Installation
To use the Unity MCP Package, ensure you have the following installed:
- Unity 2020.3 LTS or newer (⚠️ Currently only works in URP projects)
- Python 3.12 or newer
- uv package manager
Step 1: Install Python
Download and install Python 3.12 or newer from python.org. Make sure to add Python to your system’s PATH during installation.
Step 2: Install uv
uv is a Python package manager that simplifies dependency management. Install it using the command below based on your operating system:
-
Mac:
brew install uv
-
Windows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Then, add uv to your PATH:
set Path=%USERPROFILE%\.local\bin;%Path%
-
Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
For alternative installation methods, see the uv installation guide.
Important: Do not proceed without installing uv.
Step 3: Install the Unity Package
- Open Unity and go to
Window > Package Manager
. - Click the
+
button and selectAdd package from git URL
. - Enter:
https://github.com/HuangChILun/reavorse-mcp.git
Once installed, the Unity MCP Package will be available in your Unity project. The server will start automatically when used with an MCP client like Claude Desktop or Cursor.
Features
- Bidirectional Communication: Seamlessly send and receive data between Unity and LLMs.
- Asset Management: Import assets, instantiate prefabs, and create new prefabs programmatically.
- Scene Control: Open, save, and modify scenes, plus create and manipulate game objects.
- Enhanced Material Editing & Lighting: Improved controls for material properties, advanced lighting, shader integration, and post-processing effects.
- Script Integration: Create, view, and update C# scripts within Unity.
- Editor Automation: Automate Unity Editor tasks like building projects or entering play mode.
- Experimental Features: Additional Unity functionalities are under testing; feedback is appreciated.
Troubleshooting
Encountering issues? Try these fixes:
-
Unity Bridge Not Running
Ensure the Unity Editor is open and the MCP window is active. Restart Unity if needed. -
Python Server Not Connected
Verify that Python and uv are correctly installed and that the Unity MCP package is properly set up. -
Configuration Issues with Claude Desktop or Cursor
Ensure your MCP client is configured to communicate with the Unity MCP server. -
Connection Stuck or No Progress In some special situations where the process seems stuck with no progress, try closing both Claude and the Unity project, then reconnecting to re-establish the connection.
Contact
Have questions about the project? Reach out!
- X: @reavorse
Acknowledgments
Original Author: A huge thank you to justinpbarnett for creating the original Unity MCP Package. This enhanced version builds upon his work.
Special thanks to Unity Technologies for their excellent Editor API and to the community for continuous feedback.
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.