Godot MCP for Claude Code
io.github.shin2344234/godot-mcp
Edit Godot 4 scenes, nodes and scripts; run, test and debug games live in the editor or headless.
client:Claude Code
transport:stdio
runtime:npm
Install Godot MCP in Claude Code
run in your project directory
claude mcp add godot-mcp -e GODOT_PROJECT_PATH=<GODOT_PROJECT_PATH> -e GODOT_PATH=<GODOT_PATH> -e GODOT_MCP_MODE=<GODOT_MCP_MODE> -e GODOT_MCP_TOOLSETS=<GODOT_MCP_TOOLSETS> -e GODOT_MCP_READ_ONLY=<GODOT_MCP_READ_ONLY> -e GODOT_MCP_ALLOW_EVAL=<GODOT_MCP_ALLOW_EVAL> -e GODOT_MCP_CONFIRM=<GODOT_MCP_CONFIRM> -e GODOT_MCP_LOG_LEVEL=<GODOT_MCP_LOG_LEVEL> -e GODOT_MCP_HEADLESS_TIMEOUT_MS=<GODOT_MCP_HEADLESS_TIMEOUT_MS> -e GODOT_MCP_BRIDGE_TIMEOUT_MS=<GODOT_MCP_BRIDGE_TIMEOUT_MS> -e GODOT_MCP_LSP_PORT=<GODOT_MCP_LSP_PORT> -e GODOT_MCP_LSP_TIMEOUT_MS=<GODOT_MCP_LSP_TIMEOUT_MS> -e GODOT_MCP_LSP_IDLE_MS=<GODOT_MCP_LSP_IDLE_MS> -e GODOT_MCP_CACHE_DIR=<GODOT_MCP_CACHE_DIR> -- npx -y @shin2344234/godot-mcp
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs