Back to Apps

Unity Code MCP
by hackerzhuli
Enables AI agents to autonomously write, compile, and test Unity project code via high-performance Rust server.
0 stars
Works in:Cursor
Exposes:Tools
What it does
Unity Code MCP connects AI agents directly to the Unity Editor, allowing them to manage the entire development lifecycle. It enables agents to write C# scripts and immediately verify them through compilation and test execution within the Unity environment.
Tools
refresh_asset_database: Triggers Unity compilation and asset processing, returning compile errors and logs.run_tests: Executes Unity EditMode and PlayMode tests with detailed stack traces and reporting.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"unity-code": {
"command": "/path/to/unity_code_mcp"
}
}
}
Note: Requires the Visual Studio Code Editor package enabled in Unity Preferences.
Supported hosts
- Claude Desktop
- Cursor
- VS Code
Quick install
cargo build --releaseInformation
- Pricing
- free
- Published
- 6/30/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Cursor
mcp.json entry in ~/.cursor/ or project .cursor/Claude Desktop
{
"mcpServers": {
"unity-code": {
"command": "/path/to/unity_code_mcp"
}
}
}





