Unity MCP for VS Code
dev.shiranui-isuzu/unity-mcp
Unity Editor automation for AI agents: scenes, prefabs, assets, shaders, Timeline, tests, builds.
client:VS Code
transport:stdio
runtime:nuget
Install Unity MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "unity-mcp-state-dir",
"description": "UNITY_MCP_STATE_DIR",
"password": true
},
{
"type": "promptString",
"id": "unity-mcp-host",
"description": "UNITY_MCP_HOST",
"password": true
}
],
"servers": {
"unity-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"IsuzuUnityCli",
"--yes"
],
"env": {
"UNITY_MCP_STATE_DIR": "${input:unity-mcp-state-dir}",
"UNITY_MCP_HOST": "${input:unity-mcp-host}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs