godot-mcp
v0.1.1MCP server for interfacing with Godot game engine.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
launch_editor
Launch Godot editor for a specific project
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Path to the Godot project directory |
run_project
Run the Godot project and capture output
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Path to the Godot project directory |
scene | string | Optional: Specific scene to run |
get_debug_output
Get the current debug output and errors
stop_project
Stop the currently running Godot project
get_godot_version
Get the installed Godot version
list_projects
List Godot projects in a directory
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory to search for Godot projects |
recursive | boolean | Whether to search recursively (default: false) |
get_project_info
Retrieve metadata about a Godot project
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Path to the Godot project directory |
create_scene
Create a new Godot scene file
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Path to the Godot project directory |
scenePath * | string | Path where the scene file will be saved (relative to project) |
rootNodeType | string | Type of the root node (e.g., Node2D, Node3D) |
add_node
Add a node to an existing scene
| Parameter | Type | Description |
|---|---|---|
nodeName * | string | Name for the new node |
nodeType * | string | Type of node to add (e.g., Sprite2D, CollisionShape2D) |
projectPath * | string | Path to the Godot project directory |
scenePath * | string | Path to the scene file (relative to project) |
parentNodePath | string | Path to the parent node (e.g., "root" or "root/Player") |
properties | object | Optional properties to set on the node |
load_sprite
Load a sprite into a Sprite2D node
| Parameter | Type | Description |
|---|---|---|
nodePath * | string | Path to the Sprite2D node (e.g., "root/Player/Sprite2D") |
projectPath * | string | Path to the Godot project directory |
scenePath * | string | Path to the scene file (relative to project) |
texturePath * | string | Path to the texture file (relative to project) |
export_mesh_library
Export a scene as a MeshLibrary resource
| Parameter | Type | Description |
|---|---|---|
outputPath * | string | Path where the mesh library (.res) will be saved |
projectPath * | string | Path to the Godot project directory |
scenePath * | string | Path to the scene file (.tscn) to export |
meshItemNames | array | Optional: Names of specific mesh items to include (defaults to all) |
save_scene
Save changes to a scene file
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Path to the Godot project directory |
scenePath * | string | Path to the scene file (relative to project) |
newPath | string | Optional: New path to save the scene to (for creating variants) |
get_uid
Get the UID for a specific file in a Godot project (for Godot 4.4+)
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Path to the file (relative to project) for which to get the UID |
projectPath * | string | Path to the Godot project directory |
update_project_uids
Update UID references in a Godot project by resaving resources (for Godot 4.4+)
| Parameter | Type | Description |
|---|---|---|
projectPath * | string | Path to the Godot project directory |