Unity MCP Server
Unity engine editor integration for your AI-powered development workflow.
Data last scanned today · Reviewed today
Overview
Unity MCP Server allows AI assistants to interface directly with the Unity editor. By facilitating a bridge between external AI models and the game development environment, it aims to streamline tasks performed within the engine. The server is implemented using C# and is designed for developers who wish to integrate AI assistance into their Unity projects. It supports multiple languages for documentation and is actively maintained with frequent commits.
Our verdict
This server holds a security score of 50/100, which is classified as a high-risk level. Because the server is community-maintained rather than official, and both its authentication methods and read-only mode support remain unreviewed, users should exercise caution. It is suitable for experimental development environments but should be avoided in sensitive production workflows until further security vetting occurs.
- Supports multiple languages including English, Chinese, and Japanese.
- Small footprint with only 3 direct dependencies.
- Active development with commits made within the last 24 hours.
- Strong community engagement with 1843 stars and 25 contributors.
- Lacks verification from an official vendor or organization.
- Authentication mechanisms have not undergone security review.
- Read-only capabilities remain unverified for potential risk.
- No official homepage link is provided for security verification.
Setup
{
"mcpServers": {
"mcp-unity": {
"args": [
"-y",
"com.gamelovers.mcp-unity"
],
"command": "npx"
}
}
}Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.
- No read-only mode — running this grants full read/write access.
- No built-in authentication — anyone with access to this config can invoke every tool it exposes.
Tools
| Tool | Description | Risk |
|---|---|---|
| execute_menu_item | Executes Unity menu items (functions tagged with the MenuItem attribute) | medium |
| select_gameobject | Selects game objects in the Unity hierarchy by path or instance ID | low |
| update_gameobject | Updates a GameObject's core properties (name, tag, layer, active/static state), or creates the GameObject if it does not exist | medium |
| update_component | Updates component fields on a GameObject or adds it to the GameObject if it does not contain the component | medium |
| add_package | Installs new packages in the Unity Package Manager | medium |
| run_tests | Runs tests using the Unity Test Runner | medium |
| send_console_log | Send a console log to Unity | low |
| add_asset_to_scene | Adds an asset from the AssetDatabase to the Unity scene | medium |
| create_prefab | Creates a prefab with optional MonoBehaviour script and serialized field values | medium |
| create_scene | Creates a new scene and saves it to the specified path | medium |
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| ChatGPT | ||||
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf |
Frequently asked questions
›What are the core technical requirements to run this server?
This server requires Node.js to be installed on your machine to bridge the communication between your AI assistant and the Unity Editor.
›How does this server improve AI performance in my IDE?
The server automatically adds your Unity 'Library/PackedCache' folder to your workspace, which improves code intelligence, autocompletion, and dependency awareness for AI tools.
›Can this server execute custom commands within Unity?
Yes, you can use the 'execute_menu_item' tool to trigger any function in your project that is tagged with the Unity 'MenuItem' attribute.
›Does the server support automated project testing?
Yes, the 'run_tests' tool allows you to trigger the Unity Test Runner to execute your project's EditMode tests directly via the MCP interface.
›Can I use this to manage dependencies within Unity?
Yes, the 'add_package' tool enables you to install new packages directly into your project via the Unity Package Manager.
Alternatives
Changelog
- FixRelease 1.4.0
2026-07-24
- FixRelease 1.3.0
2026-04-26
- FixRelease 1.2.0
2025-08-23
- FixRelease 1.1.2
2025-07-11
- FixRelease 1.1.1
2025-06-12
- FixRelease 1.1.0
2025-05-22
- FixRelease 1.0.2
2025-04-29
- FixRelease 1.0.1
2025-04-25
- NewRelease 1.0.0
2025-04-14
Badge
Maintain this server? Add the live badge to your README.