Allow MCP clients to perform Unity Editor actions.
Created byApr 22, 2025
Unity MCP
Connect your Unity Editor to LLMs using the Model Context Protocol.
Unity MCP acts as a bridge, allowing AI assistants (like Claude, Cursor) to interact directly with your Unity Editor via a local MCP (Model Context Protocol) Client. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Unity Hub & Editor: Version 2020.3 LTS or newer. Download Unity
uv (Python package manager):
An MCP Client:
Step 1: Install the Unity Package (Bridge)
Open your Unity project.
Go to Window > Package Manager.
Click + -> Add package from git URL....
Enter:
Click Add.
The MCP Server should automatically be installed onto your machine as a result of this process.
Step 2: Configure Your MCP Client
Connect your MCP Client (Claude, Cursor, etc.) to the Python server you installed in Step 1.
Option A: Auto-Configure (Recommended for Claude/Cursor)
In Unity, go to Window > Unity MCP.
Click Auto Configure Claude or Auto Configure Cursor.
Look for a green status indicator and "Connected". (This attempts to modify the MCP Client's config file automatically).
Option B: Manual Configuration
If Auto-Configure fails or you use a different client:
Find your MCP Client's configuration file. (Check client documentation).
Edit the file to add/update the mcpServers section, using the exact paths from Step 1.
Windows:
(Remember to replace YOUR_USERNAME and use double backslashes \)
macOS:
(Replace YOUR_USERNAME if using ~/bin)
Linux:
(Replace YOUR_USERNAME)
Usage
Open your Unity Project. The Unity MCP Bridge (package) should connect automatically. Check status via Window > Unity MCP.
Start your MCP Client (Claude, Cursor, etc.). It should automatically launch the Unity MCP Server (Python) using the configuration from Installation Step 3.
Interact! Unity tools should now be available in your MCP Client. Example Prompt: Create a 3D player controller.
Contributing
Help make Unity MCP better!
Fork the main repository.
Create a branch (feature/your-idea or bugfix/your-fix).
Connect your Unity Editor to LLMs using the Model Context Protocol.
Unity MCP acts as a bridge, allowing AI assistants (like Claude, Cursor) to interact directly with your Unity Editor via a local MCP (Model Context Protocol) Client. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Unity Hub & Editor: Version 2020.3 LTS or newer. Download Unity
uv (Python package manager):
An MCP Client:
Step 1: Install the Unity Package (Bridge)
Open your Unity project.
Go to Window > Package Manager.
Click + -> Add package from git URL....
Enter:
Click Add.
The MCP Server should automatically be installed onto your machine as a result of this process.
Step 2: Configure Your MCP Client
Connect your MCP Client (Claude, Cursor, etc.) to the Python server you installed in Step 1.
Option A: Auto-Configure (Recommended for Claude/Cursor)
In Unity, go to Window > Unity MCP.
Click Auto Configure Claude or Auto Configure Cursor.
Look for a green status indicator and "Connected". (This attempts to modify the MCP Client's config file automatically).
Option B: Manual Configuration
If Auto-Configure fails or you use a different client:
Find your MCP Client's configuration file. (Check client documentation).
Edit the file to add/update the mcpServers section, using the exact paths from Step 1.
Windows:
(Remember to replace YOUR_USERNAME and use double backslashes \)
macOS:
(Replace YOUR_USERNAME if using ~/bin)
Linux:
(Replace YOUR_USERNAME)
Usage
Open your Unity Project. The Unity MCP Bridge (package) should connect automatically. Check status via Window > Unity MCP.
Start your MCP Client (Claude, Cursor, etc.). It should automatically launch the Unity MCP Server (Python) using the configuration from Installation Step 3.
Interact! Unity tools should now be available in your MCP Client. Example Prompt: Create a 3D player controller.
Contributing
Help make Unity MCP better!
Fork the main repository.
Create a branch (feature/your-idea or bugfix/your-fix).