Basic information
About Godot MCP Server
MCP server for interfacing with the Godot game engine. Launch the editor, run projects, capture screenshots, manage scenes, and control the engine from AI…
Godot MCP is a MCP server in the Other category listed in the AddMCP.net directory, published by coding-solo. It exposes 14 tools, including launch_editor, run_project, get_debug_output, stop_project and more. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 4,588 GitHub stars. Source code is hosted on github.com. Related topics: ai, community, developer-tools, godot, mcp.
Setup
{
"mcpServers": {
"godot": {
"command": "npx",
"args": [
"-y",
"godot-mcp@latest"
]
}
}
}
{
"mcpServers": {
"godot": {
"command": "npx",
"args": [
"-y",
"godot-mcp@latest"
]
}
}
}
{
"servers": {
"godot": {
"command": "npx",
"args": [
"-y",
"godot-mcp@latest"
]
}
}
}
Godot MCP — by coding-solo config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"godot": {
"command": "npx",
"args": [
"-y",
"godot-mcp@latest"
]
}
}
}
Godot MCP — by coding-solo tools
-
launch_editor
— Launch Godot editor for a specific project
projectPath:string* -
run_project
— Run the Godot project and capture output
projectPath:string*, scene:string -
get_debug_output
— Get the current debug output and errors
(no parameters) -
stop_project
— Stop the currently running Godot project
(no parameters) -
get_godot_version
— Get the installed Godot version
(no parameters) -
list_projects
— List Godot projects in a directory
directory:string*, recursive:boolean -
get_project_info
— Retrieve metadata about a Godot project
projectPath:string* -
create_scene
— Create a new Godot scene file
projectPath:string*, scenePath:string*, rootNodeType:string -
add_node
— Add a node to an existing scene
projectPath:string*, scenePath:string*, parentNodePath:string, nodeType:string*, nodeName:string*, properties:object -
load_sprite
— Load a sprite into a Sprite2D node
projectPath:string*, scenePath:string*, nodePath:string*, texturePath:string* -
export_mesh_library
— Export a scene as a MeshLibrary resource
projectPath:string*, scenePath:string*, outputPath:string*, meshItemNames:array -
save_scene
— Save changes to a scene file
projectPath:string*, scenePath:string*, newPath:string -
get_uid
— Get the UID for a specific file in a Godot project (for Godot 4.4+)
projectPath:string*, filePath:string* -
update_project_uids
— Update UID references in a Godot project by resaving resources (for Godot 4.4+)
projectPath:string*
Overview
What is Godot MCP?
Godot MCP Server is a community-built godot mcp integration that lets AI assistants launch the Godot editor, run your project, read its debug output and edit scenes through the Model Context Protocol. It gives agents a direct feedback loop with a real Godot project.
The project is developed by Coding-Solo on GitHub under the MIT license and is published on npm as @coding-solo/godot-mcp. It is not an official Godot Engine product. It runs locally over stdio and talks to your installed Godot executable, so nothing leaves your machine except what your AI client sends to its model.
How to use Godot MCP?
Requirements from the README:
- Godot Engine installed on your system
- Node.js 18.0.0 or newer, with npm
- An AI client that supports MCP
No API key is needed. Two optional environment variables are supported:
| Variable | Purpose | |----------|---------| | GODOT_PATH | Path to the Godot executable (overrides automatic detection) | | DEBUG | Set to "true" for detailed server-side debug logging |
Claude Code
claude mcp add godot -- npx @coding-solo/godot-mcp
With environment variables:
claude mcp add godot -e GODOT_PATH=/path/to/godot -e DEBUG=true -- npx @coding-solo/godot-mcp
Restart Claude Code and the Godot tools become available.
Cursor
In the UI, open Cursor Settings > Features > MCP, click + Add New MCP Server, and enter name godot, type command, command npx @coding-solo/godot-mcp. You may need to press refresh on the server card to load the tool list. For a per-project setup, create .cursor/mcp.json:
{
"mcpServers": {
"godot": {
"command": "npx",
"args": ["@coding-solo/godot-mcp"],
"env": {
"DEBUG": "true"
}
}
}
}
Claude Desktop, Cline and other clients
Any MCP-compatible client, such as Claude Desktop or Cline, can use the generic configuration from the README:
{
"mcpServers": {
"godot": {
"command": "npx",
"args": ["@coding-solo/godot-mcp"],
"env": {
"GODOT_PATH": "/path/to/godot",
"DEBUG": "true"
}
}
}
}
For Cline, the README places this in cline_mcp_settings.json and shows an autoApprove list of tool names if you want to skip confirmation prompts.
Building from source
git clone https://github.com/Coding-Solo/godot-mcp.git
cd godot-mcp
npm install
npm run build
Then point your MCP client at build/index.js instead of using npx.
Key features of Godot MCP
- Launches the Godot editor for a specific project
- Runs projects in debug mode and captures console output and errors
- Starts and stops a running project programmatically
- Reports the installed Godot version and finds Godot projects in a directory
- Reads project structure and metadata
- Creates scenes, adds nodes with properties, loads sprites into
Sprite2Dnodes and saves scenes, including variants - Exports 3D scenes as MeshLibrary resources for GridMap
- Manages UIDs for Godot 4.4+ projects
Godot MCP tools
The server exposes 14 tools in four groups:
- Editor and runtime control:
launch_editoropens the editor for a project,run_projectruns it and captures output,get_debug_outputreturns the current log and errors, andstop_projectends the run. Together these let an agent change code, run the game and read what went wrong. - Project discovery:
get_godot_version,list_projectsandget_project_infotell the agent which engine version is installed and what a project contains. - Scene editing:
create_scene,add_node,load_sprite,save_sceneandexport_mesh_librarybuild and modify.tscnscenes without opening the editor by hand. - UID management (Godot 4.4+):
get_uidreturns the UID of a file andupdate_project_uidsresaves resources to refresh UID references.
Use cases of Godot MCP
- Debug loop with an agent: "Run my project, read the debug output and fix the null reference error in player.gd."
- Scene scaffolding: "Create a new scene with a CharacterBody2D root, add a Sprite2D and load res://art/hero.png into it."
- Project inspection: "List the Godot projects in ~/games and tell me the structure of the platformer one."
- 3D level tooling: "Export the tiles scene as a MeshLibrary so I can use it in a GridMap."
- Godot 4.4 upgrades: "Update the UID references across this project after moving files."
- Quick smoke tests: run the game from Claude Code or Cursor after each edit and check the console for errors.
Frequently asked questions
1 Is Godot MCP Server official?
No. It is a community project by Coding-Solo, released under the MIT license. It is not maintained by the Godot Engine team.
2 Is the Godot MCP server free?
Yes. The server is open source and free to use, and it needs no API key. You only need your own AI client and model access.
3 What do I need to install for godot mcp?
Godot Engine, Node.js 18 or newer with npm, and an MCP-compatible AI client. The server itself runs through npx @coding-solo/godot-mcp.
4 Does Godot MCP Server work with Claude Code?
Yes. Run claude mcp add godot -- npx @coding-solo/godot-mcp and restart Claude Code.
5 Does it work with Cursor, Cline and Claude Desktop?
Yes. The README documents Cursor and Cline, and gives a generic mcpServers configuration for any other MCP-compatible client, including Claude Desktop.
6 Which Godot versions are supported?
The README does not set a minimum version for the core tools. The UID tools, get_uid and update_project_uids, are for Godot 4.4 and later.
7 Is it a remote or local server?
It is local. It runs on your machine over stdio and calls your installed Godot executable.
8 Is it safe to let an agent control Godot?
The server can run projects and write scene files in the paths you give it. Keep your project in version control and review changes; clients such as Cline let you choose which tools to auto-approve.
Videos
Tutorials, guides, and showcases related to Godot MCP — by coding-solo. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In