docs/guides/CURSOR_HELP.md
uv.exe locations. Our auto-config sometimes picked a less stable path, causing the MCP client to fail to launch the MCP for Unity Server or for the path to be auto-rewritten on repaint/restart.%USERPROFILE%\\.cursor\\mcp.json flips back to a different command path when Unity or the MCP for Unity window refreshes.C:\Users\mrken.local\bin\uv.exe (malformed, not standard)C:\Users\mrken\AppData\Local\Microsoft\WinGet\Packages\astral-sh.uv_Microsoft.Winget.Source_8wekyb3d8bbwe\uv.exeC:\Users\mrken\AppData\Local\Microsoft\WinGet\Links\uv.exeWindow > MCP for Unity → select your MCP client (Cursor or Windsurf)uv Install Location” and browse to:
C:\Users\<YOU>\AppData\Local\Microsoft\WinGet\Links\uv.exeuv Install Location” and select the Links\uv.exe path above. This saves a persistent override.This sets an override stored in the Editor (key: MCPForUnity.UvPath) so MCP for Unity won’t auto-rewrite the config back to a different uv.exe later.
%USERPROFILE%\\.cursor\\mcp.json{
"mcpServers": {
"unityMCP": {
"command": "C:\\Users\\YOU\\AppData\\Local\\Microsoft\\WinGet\\Links\\uvx.exe",
"args": [
"--from",
"mcpforunityserver",
"mcp-for-unity",
"--transport",
"stdio"
]
}
}
}
"C:\Users\YOU\AppData\Local\Microsoft\WinGet\Links\uvx.exe" --from mcpforunityserver mcp-for-unity --transport stdio
If that runs without error, restart Cursor and it should connect.
uv.exe can exist (WinGet Packages path, a WinGet Links shim, Python Scripts, etc.). The Links shim is the most stable target for GUI apps to launch.mcp.json; it doesn’t always hot-reload that file..cursor\\mcp.json in your Unity project folder, that file overrides the global one.uv.exe installs and GUI clients (Cursor/Windsurf/VSCode) may launch with a reduced PATH. Using an absolute path is safer than "command": "uv".%LOCALAPPDATA%\Microsoft\WinGet\Links\uv.exeC:\Program Files\WinGet\Links\uv.exe
These shims survive upgrades and are intended as the portable entrypoints. See the WinGet notes: discussion • how to find installsPackages root is where payloads live and can change across updates, so avoid pointing your config at it.Recommended practice
uv Install Location”.uv.exe, pick the Links shim again; MCP for Unity saves a pinned override and will stop auto-rewrites.~/.local/bin/uv.exe (uv tools bin) or a Scoop shim, but Links is preferred for stability.References
~/.local/bin): Astral docs