Godot MCP
Lets your AI agent read and change your Godot editor: scenes, scripts, nodes, project settings and running games.
451 stars on GitHubby tomyud1License MITUpdated last month
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-2 -- npx -y godot-mcp-server
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Create a player scene with a CharacterBody2D, a sprite and a collision shape.
Run the game and tell me what errors appear in the log.
What it is
This server gives your AI assistant direct access to the Godot game engine editor through a plugin. The agent can build node trees, edit scripts, run the game, take screenshots and read errors. Changes can be undone, and a browser visualizer shows a map of your project.
What it can do
- Scene tools: create node trees, add, move and remove nodes, set properties
- Project and runtime tools: run or stop the game, send input, read logs
- Script and file tools: edit and validate scripts, rename files
mcp_undo: undo AI changesmap_project: open an interactive project map at localhost:6510- Batching: run many changes as one all-or-nothing batch
When to use
- βΊWhen you want your AI to build or change scenes without copy-pasting
- βΊWhen you want your AI to run your game and read the errors
- βΊWhen you want to see how your scripts connect in a visual map
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.
godot-csharpTeaches your agent to write Godot game code in C#, including node scripts, exported fields, signals and calls between C# and GDScript.godot-nodes-scenesTeaches your agent to organize a Godot game into reusable scenes and nodes, add objects while running and avoid missing-node errors.cli-anything-godotLets your agent manage Godot game projects from the command line, including creating scenes, adding nodes, and exporting builds.Frequently asked questions
Is it free and open source?
Yes. It uses the MIT license.
How many tools are there?
69 tools across scene, project and runtime, script and file, browsing, undo, asset generation and visualization.
Does Ctrl+Z undo AI changes?
No. Use the mcp_undo tool by asking the agent to undo.
Does it work remotely?
No. It runs on localhost only, and one Godot editor at a time.
Where do I get the plugin?
From the Godot Asset Store as Godlink MCP on Godot 4.7 and newer, or AssetLib on older versions.
Can the AI build a whole game alone?
No. The readme says it struggles with complex UI layouts and some node property changes.
If it does not work
- βΊCheck that Node.js is installed, then restart your AI client and your Godot project.
- βΊIn Godot, the top-right shows MCP: Agent Active in green when ready. Orange means no AI client is connected yet, and red means the server is not running.
- βΊOn Windows, use cmd with the arguments /c npx -y godot-mcp-server in the config.
5 new skills a week. 1 minute to read.