Unity MCP Server for VS Code
io.github.rachitkumarrastogi/unity-mcp-server
MCP server for Unity: 130+ tools, Unity 6 skills, AI/ML discovery. No Editor.
client:VS Code
transport:stdio
runtime:npm
Install Unity MCP Server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "unity-project-path",
"description": "UNITY_PROJECT_PATH",
"password": true
}
],
"servers": {
"unity-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"unity-mcp-server"
],
"env": {
"UNITY_PROJECT_PATH": "${input:unity-project-path}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs