Godot MCP
Lets your AI agent control the Godot 4 game engine: edit scenes, run and inspect the game, and write scripts.
510 stars on GitHubby Fork of Coding-Solo's godot-mcp (author not named in the readme)License 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 -- npx -y @tugcantopaloglu/godot-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Create a new Godot project and add a player scene with a script
Validate all the scripts I changed and show the errors
What it is
This server gives an AI agent broad control over Godot 4.x, with 157 tools in the readme. It can create projects, edit scene files and scripts, and also inspect and change a running game. It supports GDScript and C#/.NET and is a fork that extends Coding-Solo's godot-mcp.
What it can do
create_project,create_script,create_csharp_script: start projects and scriptsread_scene,modify_scene_node,attach_script: edit scenes without running the gamevalidate_scriptandvalidate_scripts: check scripts for errorsgame_eval: run GDScript in the running gamegame_get_propertyandgame_set_property: inspect and change nodes at runtimegame_performance: FPS, memory and draw callsmanage_input_mapandmanage_autoloads: project settingsexport_project: run headless export builds
When to use
- βΊWhen you want an agent to build or edit a Godot game with you
- βΊWhen you want it to check scripts for errors before running the game
- βΊWhen you need to test a running game by moving nodes, sending input and reading logs
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-gdscript-patternsLets your agent use best programming practices in Godot Engine. It helps create more efficient and organized games.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?
The readme shows an MIT licence badge.
Which Godot version do I need?
Godot 4.4 or later. The readme says it is tested with Godot 4.7.
Does it support C#?
Yes. create_project with dotnet: true scaffolds a .NET project, and create_csharp_script makes C# scripts.
Can it run code in my game?
Yes. game_eval runs GDScript in the running game, including await.
Where does it come from?
It extends godot-mcp by Coding-Solo, which had 20 tools.
How many tools are there?
The readme says 157 tools, while the registry says 165, so counts differ by source.
If it does not work
- βΊCheck that Godot 4.4 or newer is installed
- βΊIf
validate_scriptreports missing autoload names, update to 3.1 or later, which resolves autoloads - βΊIf an input action looks broken, check project.godot; version 3.1 merges keys into the existing action
5 new skills a week. 1 minute to read.