Godot MCP
Lets your AI agent edit scenes in the Godot editor, run the game, inject input and read live game state to playtest.
183 stars on GitHubby satelliteofloveLicense MITUpdated 2 months ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add godot-mcp-3 -- npx -y -y @satelliteoflove/godot-mcp
What to fill in
| Name | What it is | Required |
|---|---|---|
GODOT_HOST | Override the host used to reach the Godot editor bridge (e.g. for WSL2 or remote setups). Auto-detected when unset. | No |
GODOT_MCP_READ_ONLY | Set to 1 (or true) to register only read-only observation tools: no scene/node/animation edits, no game control, no input injection. Same as the --read-only flag. | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Run the game and screenshot the title screen. Does the layout survive 1280x720?
Step the game until the second wave spawns and give me every enemy's position and velocity.
What it is
This server connects your AI agent to the Godot game editor and to the running game. The agent can inspect and edit scenes and nodes, run the game, press buttons like a player and read live state. It can also freeze and step game time, so it can test its own changes.
What it can do
godot_scene: open and save scenesgodot_node_readandgodot_node_edit: inspect and edit nodesgodot_editor_readandgodot_editor_edit: editor state, screenshots, run and stop the gamegodot_input: send actions, keys, joypad and mouse input to the gamegodot_runtime_state: live game state as JSONgodot_game_time: freeze, step and step until a conditiongodot_exec: run GDScript in the running gamegodot_profiler: frame metrics and spike detection
When to use
- βΊWhen you want the agent to run your game and check that a change really works
- βΊWhen a bug is hard to reproduce and you want it to step game time and read exact positions
- βΊWhen you want to add animations or edit nodes without clicking in the editor
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
cli-anything-godotLets your agent manage Godot game projects from the command line, including creating scenes, adding nodes, and exporting builds.godot-nodes-scenesTeaches your agent to organize a Godot game into reusable scenes and nodes, add objects while running and avoid missing-node errors.godot-multiplayerLets your agent add online multiplayer to a Godot game, with a server, clients, remote calls, ownership and state syncing.Frequently asked questions
Is it free and open source?
Yes, it has an MIT licence and is published on npm as @satelliteoflove/godot-mcp.
How do I install the addon?
Run npx @satelliteoflove/godot-mcp --install-addon with your project path, then enable it in Project Settings.
Can it only look and not change things?
Yes. A --read-only flag serves the look-but-do-not-touch case.
Can more than one client connect?
A Godot editor serves one godot-mcp client at a time. Extra clients wait their turn.
Does it work with WSL2?
Yes, WSL2 is supported with auto-detection and configurable bind modes.
Does it work with other tools?
The readme says it works alongside minimal-godot-mcp, which adds GDScript diagnostics and game console output.
If it does not work
- βΊCheck that the addon is enabled in Godot under Project, Project Settings, Plugins, then restart your AI assistant.
- βΊIf it will not connect, follow the connection checklist in docs/troubleshooting.md.
- βΊMake sure you use Godot 4.5 or newer, since the addon needs the Logger class from 4.5.
5 new skills a week. 1 minute to read.