Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-shin2344234-godot-mcp": {
"command": "npx",
"args": [
"-y",
"@shin2344234/godot-mcp"
],
"env": {
"GODOT_PROJECT_PATH": "/path/to/my_game",
"GODOT_PATH": "/usr/local/bin/godot",
"GODOT_MCP_MODE": "full",
"GODOT_MCP_TOOLSETS": "core,files,scene,node,script,run",
"GODOT_MCP_READ_ONLY": "false",
"GODOT_MCP_ALLOW_EVAL": "false",
"GODOT_MCP_CONFIRM": "elicit",
"GODOT_MCP_LOG_LEVEL": "info",
"GODOT_MCP_HEADLESS_TIMEOUT_MS": "120000",
"GODOT_MCP_BRIDGE_TIMEOUT_MS": "30000",
"GODOT_MCP_LSP_PORT": "6005",
"GODOT_MCP_LSP_TIMEOUT_MS": "15000",
"GODOT_MCP_LSP_IDLE_MS": "600000",
"GODOT_MCP_CACHE_DIR": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-shin2344234-godot-mcp": {
"command": "npx",
"args": [
"-y",
"@shin2344234/godot-mcp"
],
"env": {
"GODOT_PROJECT_PATH": "/path/to/my_game",
"GODOT_PATH": "/usr/local/bin/godot",
"GODOT_MCP_MODE": "full",
"GODOT_MCP_TOOLSETS": "core,files,scene,node,script,run",
"GODOT_MCP_READ_ONLY": "false",
"GODOT_MCP_ALLOW_EVAL": "false",
"GODOT_MCP_CONFIRM": "elicit",
"GODOT_MCP_LOG_LEVEL": "info",
"GODOT_MCP_HEADLESS_TIMEOUT_MS": "120000",
"GODOT_MCP_BRIDGE_TIMEOUT_MS": "30000",
"GODOT_MCP_LSP_PORT": "6005",
"GODOT_MCP_LSP_TIMEOUT_MS": "15000",
"GODOT_MCP_LSP_IDLE_MS": "600000",
"GODOT_MCP_CACHE_DIR": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-shin2344234-godot-mcp": {
"command": "npx",
"args": [
"-y",
"@shin2344234/godot-mcp"
],
"env": {
"GODOT_PROJECT_PATH": "/path/to/my_game",
"GODOT_PATH": "/usr/local/bin/godot",
"GODOT_MCP_MODE": "full",
"GODOT_MCP_TOOLSETS": "core,files,scene,node,script,run",
"GODOT_MCP_READ_ONLY": "false",
"GODOT_MCP_ALLOW_EVAL": "false",
"GODOT_MCP_CONFIRM": "elicit",
"GODOT_MCP_LOG_LEVEL": "info",
"GODOT_MCP_HEADLESS_TIMEOUT_MS": "120000",
"GODOT_MCP_BRIDGE_TIMEOUT_MS": "30000",
"GODOT_MCP_LSP_PORT": "6005",
"GODOT_MCP_LSP_TIMEOUT_MS": "15000",
"GODOT_MCP_LSP_IDLE_MS": "600000",
"GODOT_MCP_CACHE_DIR": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-shin2344234-godot-mcp": {
"command": "npx",
"args": [
"-y",
"@shin2344234/godot-mcp"
],
"env": {
"GODOT_PROJECT_PATH": "/path/to/my_game",
"GODOT_PATH": "/usr/local/bin/godot",
"GODOT_MCP_MODE": "full",
"GODOT_MCP_TOOLSETS": "core,files,scene,node,script,run",
"GODOT_MCP_READ_ONLY": "false",
"GODOT_MCP_ALLOW_EVAL": "false",
"GODOT_MCP_CONFIRM": "elicit",
"GODOT_MCP_LOG_LEVEL": "info",
"GODOT_MCP_HEADLESS_TIMEOUT_MS": "120000",
"GODOT_MCP_BRIDGE_TIMEOUT_MS": "30000",
"GODOT_MCP_LSP_PORT": "6005",
"GODOT_MCP_LSP_TIMEOUT_MS": "15000",
"GODOT_MCP_LSP_IDLE_MS": "600000",
"GODOT_MCP_CACHE_DIR": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-shin2344234-godot-mcp": {
"command": "npx",
"args": [
"-y",
"@shin2344234/godot-mcp"
],
"env": {
"GODOT_PROJECT_PATH": "/path/to/my_game",
"GODOT_PATH": "/usr/local/bin/godot",
"GODOT_MCP_MODE": "full",
"GODOT_MCP_TOOLSETS": "core,files,scene,node,script,run",
"GODOT_MCP_READ_ONLY": "false",
"GODOT_MCP_ALLOW_EVAL": "false",
"GODOT_MCP_CONFIRM": "elicit",
"GODOT_MCP_LOG_LEVEL": "info",
"GODOT_MCP_HEADLESS_TIMEOUT_MS": "120000",
"GODOT_MCP_BRIDGE_TIMEOUT_MS": "30000",
"GODOT_MCP_LSP_PORT": "6005",
"GODOT_MCP_LSP_TIMEOUT_MS": "15000",
"GODOT_MCP_LSP_IDLE_MS": "600000",
"GODOT_MCP_CACHE_DIR": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-shin2344234-godot-mcp": {
"command": "npx",
"args": [
"-y",
"@shin2344234/godot-mcp"
],
"env": {
"GODOT_PROJECT_PATH": "/path/to/my_game",
"GODOT_PATH": "/usr/local/bin/godot",
"GODOT_MCP_MODE": "full",
"GODOT_MCP_TOOLSETS": "core,files,scene,node,script,run",
"GODOT_MCP_READ_ONLY": "false",
"GODOT_MCP_ALLOW_EVAL": "false",
"GODOT_MCP_CONFIRM": "elicit",
"GODOT_MCP_LOG_LEVEL": "info",
"GODOT_MCP_HEADLESS_TIMEOUT_MS": "120000",
"GODOT_MCP_BRIDGE_TIMEOUT_MS": "30000",
"GODOT_MCP_LSP_PORT": "6005",
"GODOT_MCP_LSP_TIMEOUT_MS": "15000",
"GODOT_MCP_LSP_IDLE_MS": "600000",
"GODOT_MCP_CACHE_DIR": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| GODOT_PROJECT_PATH | No | Folder of the Godot project (the one containing project.godot). Defaults to the folder the client starts the server in, so set it whenever that is not your project (e.g. in desktop apps). |
| GODOT_PATH | No | Full path of the Godot 4.x executable (GODOT_BIN is accepted too). If unset, the server looks for godot, godot4 or Godot_v4* on PATH. On Windows use the main Godot exe, not the _console.exe launcher. |
| GODOT_MCP_MODE | No | How tools are exposed: 'full' lists every enabled operation as its own tool (best for clients with tool search); 'compact' lists only core tools plus router tools that reach the rest. Default: full |
| GODOT_MCP_TOOLSETS | No | Comma-separated tool groups to enable, or 'all' (default). Groups: core, files, scene, node, script, run, editor, signal, resource, visual, anim, world, audio, project, import, export, code, docs, game, debug, test. 'core' is always on. |
| GODOT_MCP_READ_ONLY | No | Set to true to hide every tool that changes something (inspection only). Default: false |
| GODOT_MCP_ALLOW_EVAL | No | Set to true to let godot_game_eval run GDScript inside the running game. Off by default: evaluated code can do anything the game can (files, OS calls). Default: false |
| GODOT_MCP_CONFIRM | No | 'elicit' asks the user (through the client's elicitation dialog, when supported) before irreversible operations; 'never' skips asking, for unattended runs where nobody can answer. Default: elicit |
| GODOT_MCP_LOG_LEVEL | No | Verbosity of the server's stderr log (use 'debug' when filing a bug report). Default: info |
| GODOT_MCP_HEADLESS_TIMEOUT_MS | No | Advanced: timeout for one headless Godot invocation, in milliseconds. Default: 120000 |
| GODOT_MCP_BRIDGE_TIMEOUT_MS | No | Advanced: timeout for one request to the live editor bridge, in milliseconds. Default: 30000 |
| GODOT_MCP_LSP_PORT | No | Advanced: port of the Godot editor's GDScript language server on 127.0.0.1. Defaults to the port the editor plugin reports, else 6005. |
| GODOT_MCP_LSP_TIMEOUT_MS | No | Advanced: timeout for one GDScript language server request, in milliseconds. Default: 15000 |
| GODOT_MCP_LSP_IDLE_MS | No | Advanced: stop the private headless language server after this many milliseconds without code tool calls. Default: 600000 |
| GODOT_MCP_CACHE_DIR | No | Advanced: folder for the server's cache (the Godot class docs index). Defaults to the per-user cache folder of the OS. |