io.github.shin2344234/godot-mcp·Dev tools

Godot MCP

Edit Godot 4 scenes, nodes and scripts; run, test and debug games live in the editor or headless.

Stars
0
Version
0.1.0
License
MIT
Review
Passed
Language
TypeScript
Last commit
1h ago
Forks
0
Open issues
0
Registry update
Oct 16, 2026

Connect

npm
Terminal
$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/[email protected]

Environment variables

  • GODOT_PROJECT_PATH

    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

    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

    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.

  • GODOT_MCP_TOOLSETS

    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

    Set to true to hide every tool that changes something (inspection only).

  • GODOT_MCP_ALLOW_EVAL

    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).

  • GODOT_MCP_CONFIRM

    '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.

  • GODOT_MCP_LOG_LEVEL

    Verbosity of the server's stderr log (use 'debug' when filing a bug report).

  • GODOT_MCP_HEADLESS_TIMEOUT_MS

    Advanced: timeout for one headless Godot invocation, in milliseconds.

  • GODOT_MCP_BRIDGE_TIMEOUT_MS

    Advanced: timeout for one request to the live editor bridge, in milliseconds.

  • GODOT_MCP_LSP_PORT

    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

    Advanced: timeout for one GDScript language server request, in milliseconds.

  • GODOT_MCP_LSP_IDLE_MS

    Advanced: stop the private headless language server after this many milliseconds without code tool calls.

  • GODOT_MCP_CACHE_DIR

    Advanced: folder for the server's cache (the Godot class docs index). Defaults to the per-user cache folder of the OS.

Security review

Review passed

Reviewed 1h ago.

metadata
scanned
packages
1 checked

No findings.

Tools

This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.

godot-mcp

An MCP server for the Godot 4 engine. It lets AI agents such as Claude Code, Claude Desktop, Cursor, VS Code Copilot, Codex, Gemini CLI, Windsurf and Zed work on your Godot project:

  • inspect and edit scenes, nodes, signals and resources
  • author animations, AnimationTrees, SpriteFrames, tile maps, navigation, audio buses and visual shaders
  • change project settings, input actions, autoloads, import options and export presets, and run exports
  • write scripts with GDScript language-server diagnostics, symbols and renames
  • look up the Godot class reference offline for the exact version you have installed
  • run the game and work on it live: inspect and change nodes, send input, pause and step frames, take screenshots, profile, record and replay input
  • debug with breakpoints, stepping, stack and variables, and run GUT or GdUnit4 tests

It works through a live editor bridge, so every scene edit can be undone with Ctrl+Z, and through headless Godot when the editor is closed.

Requirements

  • Godot 4.7 or newer (tested with 4.7.2)
  • Node.js 22 or newer, unless you use the Claude Desktop bundle, which brings its own

Install

In your Godot project folder (the one with project.godot), run:

npx -y @shin2344234/godot-mcp init

init shows its plan and asks before writing anything (--dry-run previews, --remove undoes). It copies the editor addon into addons/godot_mcp and enables it, registers the server with the agents it finds on your machine (or the ones you pick with --agents claude-code,cursor,vscode,codex,gemini-cli,...), and adds a short note to AGENTS.md.

Then open the project in Godot, start a new agent session and ask it to call godot_status to check the connection.

Other ways to install

  • Claude Code plugin: run /plugin marketplace add shin2344234/godot-mcp, then /plugin install godot-mcp@godot-mcp.

  • Claude Desktop: download the .mcpb file from Releases and double-click it.

  • Any other MCP client: add the server to its config by hand. docs/setup.md gives the exact file and format for each client.

  • From source:

    git clone https://github.com/shin2344234/godot-mcp
    cd godot-mcp/server && npm install && npm run build
    cd /path/to/my-game
    node /path/to/godot-mcp/server/dist/index.js init
    

If you installed without init, ask the agent to run godot_addon_install once per project to add the editor addon.

Documentation

License

MIT

From the server's repository — third-party content, read it before running anything it suggests.

More in Dev tools

Listing from the official MCP Registry · repository facts from GitHub, 1h ago.