About Godot MCP
Godot MCP is an MCP server published by HaD0Yun in the Developer Tools category: goPeak — The most comprehensive MCP server for Godot Engine. 95+ tools: scene management, GDScript LSP, DAP debugger, screenshot capture, input injection, ClassDB introspection, CC0 asset library. npx gopeak. Conduid read 101 tools from its source: add_animation_state, add_animation_track, add_autoload, add_input_action, add_node, apply_theme_shader and 95 more. It is published to npm as gopeak and starts with npx.
The repository has 276 stars and 27 forks, is licensed MIT, and its last commit was on 13 Nov 2026. The latest release is v2.4.1 (13 Nov 2026). It follows v2.4.0 (12 Sep 2026), and the 5 most recent releases go back to v2.3.7 (13 May 2026). It passes 2 of the 3 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools, dap, ai-integration and debug-adapter-protocol.
Install
claude mcp add godot-mcp-had0yun -- npx -y gopeaknpx -y gopeakgit clone https://github.com/HaD0Yun/godot-mcpTools (101)
add_animation_stateAdd a state to an AnimationTree state machine| Parameter | Type | Description |
|---|---|---|
| animTreePath * | string | Path to AnimationTree node |
| animationName * | string | Animation to play in this state |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to the scene file |
| stateMachinePath | string | Path within tree to state machine (default: root) |
| stateName * | string | Name for the state |
add_animation_trackAdds a property or method track to an animation. Prerequisite: animation must exist (use create_animation first). Use to animate position, rotation, color, or call methods at specific times. Keyframes define values over time.| Parameter | Type | Description |
|---|---|---|
| animationName * | string | Name of existing animation to add track to (e.g., "walk", "idle") |
| playerNodePath * | string | Path to AnimationPlayer node in scene (e.g., ".", "Player/AnimationPlayer") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Player.tscn") |
| track * | object | Track configuration |
add_autoloadRegisters a script/scene as an autoload singleton. Use for global managers (GameManager, AudioManager, etc.). Loads automatically on game start.| Parameter | Type | Description |
|---|---|---|
| enabled | boolean | If true (default), autoload is active. Set false to temporarily disable. |
| name * | string | Singleton name for global access (e.g., "GameManager", "EventBus") |
| path * | string | Path to .gd or .tscn file (e.g., "autoload/game_manager.gd") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
add_input_actionRegisters a new input action in project.godot InputMap. Use to set up keyboard, mouse, or gamepad controls for player actions like jump, move, attack.| Parameter | Type | Description |
|---|---|---|
| actionName * | string | Action name used in code (e.g., "jump", "move_left", "attack") |
| deadzone | number | Analog stick deadzone (0-1). Default: 0.5 |
| events * | array | Array of input events - each with type (key/mouse_button/joypad_button/joypad_axis) and binding details |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
add_nodeAdds ANY node type to an existing scene. This is the universal node creation tool — replaces all specialized create_* node tools. Supports ALL ClassDB node types (Camera3D, DirectionalLight3D, AudioStreamPlayer, HTTPRequest, RayCast3D, etc.). Set any property via the properties parameter with type conversion support (Vector2, Vector3, Color, etc.). Use query_classes to discover available node types. Use query_class_info to discover available properties for a type.| Parameter | Type | Description |
|---|---|---|
| nodeName * | string | Name for the new node (will be unique identifier in scene tree) |
| nodeType * | string | Godot node class name (e.g., "Sprite2D", "CollisionShape2D", "CharacterBody2D"). Must be valid Godot 4 class. |
| parentNodePath | string | Node path within scene (e.g., "." for root, "Player" for direct child, "Player/Sprite2D" for nested) |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| properties | string | Optional properties to set on the node (as JSON string). Tagged Godot values such as {"position":{"type":"Vector2","x":100,"y":200}} are the most explicit form; common typed properties like Vector2 also accept inferred shapes such as {"position":{"x":100,"y":200}} or {"position":[100,200]}. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Player.tscn") |
apply_theme_shaderGenerate and apply theme-appropriate shader to a material in a scene| Parameter | Type | Description |
|---|---|---|
| effect | string | Special effect to add (default: none) |
| nodePath * | string | Path to MeshInstance3D or Sprite node |
| projectPath * | string | Path to the Godot project directory |
| scenePath * | string | Path to the scene file (relative to project) |
| shaderParams | string | Optional JSON string with custom shader parameters |
| theme * | string | Visual theme to apply |
call_runtime_methodCall a method on a node in a running Godot instance| Parameter | Type | Description |
|---|---|---|
| args | array | Arguments to pass to the method (as JSON strings) |
| method * | string | Method name to call |
| nodePath * | string | Path to the target node |
| projectPath * | string | Path to the Godot project directory |
capture_intent_snapshotCapture/update an intent snapshot for current work (goal, constraints, acceptance criteria) and persist it for handoff.| Parameter | Type | Description |
|---|---|---|
| acceptanceCriteria | array | Definition of done. |
| constraints | array | Operational/technical constraints. |
| goal * | string | Primary goal of the current work. |
| nonGoals | array | Out of scope items. |
| priority | string | Priority label (e.g., P0, P1). |
| projectPath * | string | Absolute path to project directory containing project.godot. |
| why | string | Why this work matters. |
capture_screenshotCapture a screenshot of the running Godot game viewport. Requires the runtime addon to be active (game must be running with the MCP runtime autoload).| Parameter | Type | Description |
|---|---|---|
| format | string | Image format (default: png) |
| height | number | Target height in pixels (default: current viewport height) |
| width | number | Target width in pixels (default: current viewport width) |
capture_viewportCapture a viewport texture as base64 image from the running Godot game. Similar to capture_screenshot but captures a specific viewport by path.| Parameter | Type | Description |
|---|---|---|
| height | number | Target height in pixels |
| viewportPath | string | NodePath to the target Viewport node (default: root viewport) |
| width | number | Target width in pixels |
connect_animation_statesConnect two states with a transition| Parameter | Type | Description |
|---|---|---|
| advanceCondition | string | Condition parameter name for auto-advance |
| animTreePath * | string | Path to AnimationTree node |
| fromState * | string | Source state name |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to the scene file |
| toState * | string | Target state name |
| transitionType | string | Transition type |
connect_signalCreates a signal connection between nodes in a scene. Prerequisite: source and target nodes must exist. Use to wire up button clicks, collision events, custom signals. Saved to scene file.| Parameter | Type | Description |
|---|---|---|
| flags | number | Optional: connection flags (0=default, 1=deferred, 2=persist, 4=one_shot) |
| methodName * | string | Method to call on target (e.g., "_on_start_pressed", "take_damage") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to .tscn file (e.g., "scenes/ui/menu.tscn") |
| signalName * | string | Signal name (e.g., "pressed", "body_entered", "health_changed") |
| sourceNodePath * | string | Emitting node path (e.g., "StartButton", "Player/Area2D") |
| targetNodePath * | string | Receiving node path (e.g., ".", "Player", "../GameManager") |
create_animationCreates a new animation in an AnimationPlayer. Prerequisite: AnimationPlayer node must exist in scene (use add_node first). Use to set up character animations, UI transitions, or cutscenes. Supports loop modes: none, linear, pingpong.| Parameter | Type | Description |
|---|---|---|
| animationName * | string | Name for new animation (e.g., "walk", "idle", "attack") |
| length | number | Duration of the animation in seconds (default: 1.0) |
| loopMode | string | Loop mode for the animation (default: "none") |
| playerNodePath * | string | Path to AnimationPlayer node in scene (e.g., ".", "Player/AnimationPlayer") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Player.tscn") |
| step | number | Keyframe snap step in seconds (default: 0.1) |
create_animation_treeCreate an AnimationTree node linked to an AnimationPlayer| Parameter | Type | Description |
|---|---|---|
| animPlayerPath * | string | Path to AnimationPlayer node (relative to parent) |
| nodeName * | string | Name for AnimationTree |
| parentPath * | string | Parent node path |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| rootType | string | Root node type |
| scenePath * | string | Path to the scene file |
create_audio_busCreates a new audio bus for mixing. Use to set up separate volume controls for music, SFX, voice, etc.| Parameter | Type | Description |
|---|---|---|
| busName * | string | Name for the audio bus (e.g., "Music", "SFX", "Voice") |
| parentBusIndex | number | Parent bus index. Default: 0 (Master) |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
create_materialCreates a material resource for 3D/2D rendering. Types: StandardMaterial3D (PBR), ShaderMaterial (custom), CanvasItemMaterial (2D), ParticleProcessMaterial (particles).| Parameter | Type | Description |
|---|---|---|
| materialPath * | string | Path for new material file relative to project (e.g., "materials/player.tres") |
| materialType * | string | Material type: StandardMaterial3D (3D PBR), ShaderMaterial (custom shader), CanvasItemMaterial (2D), ParticleProcessMaterial (particles) |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| properties | string | Optional: JSON object of properties (e.g., {"albedo_color": [1, 0, 0, 1], "metallic": 0.8}) |
| shader | string | Optional for ShaderMaterial: path to .gdshader file (e.g., "shaders/outline.gdshader") |
create_navigation_agentCreates a NavigationAgent for AI pathfinding. Use for enemies, NPCs that need to navigate around obstacles.| Parameter | Type | Description |
|---|---|---|
| is3D | boolean | If true, creates NavigationAgent3D. Default: false |
| nodeName * | string | Node name (e.g., "NavAgent") |
| parentPath * | string | Parent node path (usually the character) |
| pathDesiredDistance | number | Distance to consider waypoint reached |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to scene file |
| targetDesiredDistance | number | Distance to consider target reached |
create_navigation_regionCreates a NavigationRegion for pathfinding. Use to define walkable areas for AI navigation.| Parameter | Type | Description |
|---|---|---|
| is3D | boolean | If true, creates NavigationRegion3D. Default: false |
| nodeName * | string | Node name (e.g., "WalkableArea") |
| parentPath * | string | Parent node path |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to scene file |
create_resourceCreates ANY resource type as a .tres file. This is the universal resource creation tool — replaces all specialized create_* resource tools (PhysicsMaterial, Environment, Theme, etc.). Supports ALL ClassDB resource types. Set any property via the properties parameter with type conversion support. Use query_classes with category "resource" to discover available resource types. Use query_class_info to discover available properties.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| properties | string | Optional: JSON object of properties to set (e.g., {"value": 100}) |
| resourcePath * | string | Path for new .tres file relative to project (e.g., "resources/items/sword.tres") |
| resourceType * | string | Resource class name (e.g., "Resource", "CurveTexture", "GradientTexture2D") |
| script | string | Optional: path to custom Resource script (e.g., "scripts/resources/item_data.gd") |
create_sceneCreates a new Godot scene file (.tscn) with a specified root node type. Use to start building new game levels, UI screens, or reusable components. The scene is saved automatically after creation.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| rootNodeType | string | Godot node class for root (e.g., "Node2D" for 2D games, "Node3D" for 3D, "Control" for UI). Default: "Node" |
| scenePath * | string | Path for new scene file relative to project (e.g., "scenes/Player.tscn", "levels/Level1.tscn") |
create_scriptCreates a new GDScript (.gd) file with optional templates. Use to generate scripts for game logic. Templates: "singleton" (autoload), "state_machine" (FSM), "component" (modular), "resource" (custom Resource).| Parameter | Type | Description |
|---|---|---|
| className | string | Optional: class_name for global access (e.g., "Player", "GameManager") |
| content | string | Optional: initial script content to add after class declaration |
| extends | string | Base class to extend (e.g., "Node", "CharacterBody2D", "Resource"). Default: "Node" |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| reason | string | Optional reason/context for this change. Displayed in visualizer audit timeline. |
| scriptPath * | string | Path for new script relative to project (e.g., "scripts/player.gd", "autoload/game_manager.gd") |
| template | string | Optional: template name - "singleton", "state_machine", "component", "resource" |
create_shaderCreates a shader file (.gdshader) with optional templates. Types: canvas_item (2D), spatial (3D), particles, sky, fog. Templates: basic, color_shift, outline.| Parameter | Type | Description |
|---|---|---|
| code | string | Optional: custom shader code. If omitted, uses template or generates basic shader. |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| shaderPath * | string | Path for new .gdshader file relative to project (e.g., "shaders/outline.gdshader") |
| shaderType * | string | Shader type: canvas_item (2D/UI), spatial (3D), particles, sky, fog |
| template | string | Optional: predefined template - "basic", "color_shift", "outline" |
create_tilesetCreates a TileSet resource from texture atlases. Use for 2D tilemaps in platformers, RPGs, etc. Supports multiple atlas sources.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| sources * | array | Array of atlas sources, each with texture path and tileSize {x, y} |
| tilesetPath * | string | Output path for TileSet (e.g., "resources/world_tiles.tres") |
delete_nodeRemoves a node and all its children from a scene. Use to clean up unused nodes. Cannot delete root node. Scene is saved automatically unless saveScene=false.| Parameter | Type | Description |
|---|---|---|
| nodePath * | string | Path to node to delete (e.g., "Player/OldSprite", "Enemies/Enemy1") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| saveScene | boolean | If true (default), saves scene after deletion. Set false for batch operations. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Player.tscn") |
disable_pluginDisables a plugin in the project. Updates project.godot automatically. Plugin files remain in addons/ folder.| Parameter | Type | Description |
|---|---|---|
| pluginName * | string | Plugin folder name in addons/ (e.g., "dialogue_manager", "scatter") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
disconnect_signalRemoves a signal connection from a scene. Use to clean up unused connections or rewire logic.| Parameter | Type | Description |
|---|---|---|
| methodName * | string | Connected method name (e.g., "_on_start_pressed") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to .tscn file (e.g., "scenes/ui/menu.tscn") |
| signalName * | string | Signal name (e.g., "pressed") |
| sourceNodePath * | string | Emitting node path (e.g., "StartButton") |
| targetNodePath * | string | Receiving node path (e.g., ".") |
duplicate_nodeCreates a copy of a node with all its properties and children. Use to replicate enemies, UI elements, or any repeated structures. Scene is saved automatically unless saveScene=false.| Parameter | Type | Description |
|---|---|---|
| newName * | string | Name for the new duplicated node (e.g., "Enemy2", "ButtonCopy") |
| nodePath * | string | Path to node to duplicate (e.g., "Enemies/Enemy", "UI/Button") |
| parentPath | string | Optional: Different parent path. If omitted, uses same parent as original. |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| saveScene | boolean | If true (default), saves scene after duplication. Set false for batch operations. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Level.tscn") |
enable_pluginEnables a plugin from addons/ folder. Updates project.godot automatically. Use list_plugins first to see available plugins.| Parameter | Type | Description |
|---|---|---|
| pluginName * | string | Plugin folder name in addons/ (e.g., "dialogue_manager", "scatter") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
enforce_version_gateChecks Godot version and runtime addon protocol/capabilities against minimum requirements before risky operations.| Parameter | Type | Description |
|---|---|---|
| minGodotVersion | string | Minimum required Godot version (major.minor). Default: 4.2 |
| minProtocolVersion | string | Minimum required runtime protocol version. Default: 1.0 |
| projectPath * | string | Absolute path to project directory containing project.godot. |
export_handoff_packExport a machine-readable handoff pack combining intent, decisions, and execution traces.| Parameter | Type | Description |
|---|---|---|
| maxItems | number | Maximum decisions/traces to include. Default: 10 |
| projectPath * | string | Absolute path to project directory containing project.godot. |
export_projectExports the project to a distributable format. Use to build final game executables. Requires export templates installed.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | If true, exports debug build. Default: false (release) |
| outputPath * | string | Destination path for exported file (e.g., "builds/game.exe", "builds/game.x86_64") |
| preset * | string | Export preset name from export_presets.cfg (e.g., "Windows Desktop", "Linux/X11") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
fetch_assetDownload a CC0 asset from any supported source (Poly Haven, AmbientCG, Kenney) to your Godot project.| Parameter | Type | Description |
|---|---|---|
| assetId * | string | Asset ID from search results |
| projectPath * | string | Path to the Godot project directory |
| provider * | string | Source provider for the asset |
| resolution | string | Resolution for download (default: 2k, only for PolyHaven/AmbientCG) |
| targetFolder | string | Target folder for download (default: downloaded_assets/<provider>) |
find_resource_usagesFinds all files that reference a resource. Use before deleting or renaming to avoid breaking references.| Parameter | Type | Description |
|---|---|---|
| fileTypes | array | File types to search. Default: ["tscn", "tres", "gd"] |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| resourcePath * | string | Resource to search for (e.g., "textures/player.png") |
generate_handoff_briefGenerate a handoff brief from saved intents, decisions, and execution traces for the next AI/operator.| Parameter | Type | Description |
|---|---|---|
| maxItems | number | Max items per section. Default: 5 |
| projectPath * | string | Absolute path to project directory containing project.godot. |
get_audio_busesLists all audio buses and their configuration. Use to check current audio setup.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
get_debug_outputRetrieves console output and errors from the currently running Godot project. Use after run_project to check logs, errors, and print statements. Returns empty if no project is running.| Parameter | Type | Description |
|---|---|---|
| reason * | string | Brief explanation of why you are calling this tool |
get_dependenciesAnalyzes resource dependencies and detects circular references. Use to understand what a scene/script depends on before refactoring.| Parameter | Type | Description |
|---|---|---|
| depth | number | How deep to traverse dependencies. -1 for unlimited. Default: -1 |
| includeBuiltin | boolean | If true, includes Godot built-in resources. Default: false |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| resourcePath * | string | Path to analyze (e.g., "scenes/player.tscn", "scripts/game.gd") |
get_editor_statusReturns the connection status of the Godot Editor Plugin bridge. Use to check if the editor is connected before using scene/resource tools that require the editor plugin.get_godot_versionReturns the installed Godot engine version string. Use to check compatibility (e.g., Godot 4.4+ features like UID). Returns version like "4.3.stable" or "4.4.dev".| Parameter | Type | Description |
|---|---|---|
| reason * | string | Brief explanation of why you are calling this tool |
get_import_optionsReturns current import settings for a resource. Use to check compression, mipmaps, filter settings before modifying.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| resourcePath * | string | Path to resource file (e.g., "textures/player.png", "audio/music.ogg") |
get_import_statusReturns import status for project resources. Use to find outdated or failed imports. Shows which resources need reimporting.| Parameter | Type | Description |
|---|---|---|
| includeUpToDate | boolean | If true, includes already-imported resources. Default: false (only pending) |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| resourcePath | string | Optional: specific resource path (e.g., "textures/player.png"). If omitted, returns all. |
get_node_propertiesReturns all properties of a specific node in a scene. Use to inspect current values before modifying. Returns property names, values, and types.| Parameter | Type | Description |
|---|---|---|
| includeDefaults | boolean | If true, includes properties with default values. If false (default), only modified properties. |
| nodePath * | string | Path to node within scene (e.g., ".", "Player", "Player/Sprite2D") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Player.tscn") |
get_project_healthGenerates a health report with scoring for project quality. Checks for unused resources, script errors, missing references, etc.| Parameter | Type | Description |
|---|---|---|
| includeDetails | boolean | If true (default), includes detailed breakdown per category |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
get_project_infoReturns metadata about a Godot project including name, version, main scene, autoloads, and directory structure. Use to understand project before modifying. Requires valid project.godot.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
get_project_settingReads a value from project.godot settings. Use to check game name, window size, physics settings, etc.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| setting * | string | Setting path (e.g., "application/config/name", "display/window/size/width", "physics/2d/default_gravity") |
get_recording_modeGet current recording mode and queue status.get_runtime_metricsGet performance metrics from a running Godot instance| Parameter | Type | Description |
|---|---|---|
| metrics | array | Specific metrics to retrieve (default: all) |
| projectPath * | string | Path to the Godot project directory |
get_runtime_statusChecks if a Godot game instance is running and connected for live debugging. Use before other runtime tools.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
get_script_infoAnalyzes a GDScript and returns its structure: functions, variables, signals, class_name, extends. Use before modify_script to understand existing code.| Parameter | Type | Description |
|---|---|---|
| includeInherited | boolean | If true, includes members from parent classes. Default: false (only script-defined members). |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scriptPath * | string | Path to .gd file relative to project (e.g., "scripts/player.gd") |
get_uidGet 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 |
inject_actionSimulate a Godot input action (press/release). Requires runtime addon.| Parameter | Type | Description |
|---|---|---|
| action * | string | Action name as defined in Input Map (e.g., "ui_accept", "jump") |
| pressed | boolean | Whether to press (true) or release (false). Default: true |
| strength | number | Action strength 0.0–1.0. Default: 1.0 |
inject_keySimulate a keyboard key press/release in the running Godot game. Requires runtime addon.| Parameter | Type | Description |
|---|---|---|
| alt | boolean | Alt modifier. Default: false |
| ctrl | boolean | Ctrl modifier. Default: false |
| keycode * | string | Key name (e.g., "A", "Space", "Escape", "Enter") |
| pressed | boolean | Press (true) or release (false). Default: true |
| shift | boolean | Shift modifier. Default: false |
inject_mouse_clickSimulate a mouse click at specified position in the running Godot game. Requires runtime addon.| Parameter | Type | Description |
|---|---|---|
| button | string | Mouse button. Default: left |
| doubleClick | boolean | Double-click. Default: false |
| pressed | boolean | Press (true) or release (false). Default: true |
| x * | number | X coordinate in viewport pixels |
| y * | number | Y coordinate in viewport pixels |
inject_mouse_motionSimulate mouse movement to a position in the running Godot game. Requires runtime addon.| Parameter | Type | Description |
|---|---|---|
| relativeX | number | Relative X movement delta |
| relativeY | number | Relative Y movement delta |
| x * | number | Target X coordinate in viewport pixels |
| y * | number | Target Y coordinate in viewport pixels |
inspect_inheritanceInspect class inheritance hierarchy: ancestors, direct children, all descendants. Use to understand class relationships and find specialized alternatives.| Parameter | Type | Description |
|---|---|---|
| className * | string | Exact Godot class name to inspect |
| projectPath * | string | Absolute path to project directory containing project.godot. |
inspect_runtime_treeInspect the scene tree of a running Godot instance| Parameter | Type | Description |
|---|---|---|
| depth | number | Maximum depth to inspect (default: 3) |
| nodePath | string | Path to start inspection from (default: root) |
| projectPath * | string | Path to the Godot project directory |
launch_editorOpens the Godot editor GUI for a project. Use when visual inspection or manual editing of scenes/scripts is needed. Opens a new window on the host system. Requires: project directory with project.godot file.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
list_asset_providersList all available CC0 asset providers and their capabilities.list_autoloadsLists all registered autoload singletons in the project. Shows name, path, and enabled status.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
list_connectionsLists all signal connections in a scene. Use to understand event flow or debug connection issues.| Parameter | Type | Description |
|---|---|---|
| nodePath | string | Optional: filter to connections involving this node. If omitted, shows all. |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to .tscn file (e.g., "scenes/player.tscn") |
list_export_presetsLists all export presets defined in export_presets.cfg. Use before export_project to see available targets (Windows, Linux, Android, etc.).| Parameter | Type | Description |
|---|---|---|
| includeTemplateStatus | boolean | If true (default), shows if export templates are installed. |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
list_pluginsLists all plugins in addons/ folder with enabled/disabled status. Use before enable_plugin or disable_plugin to see available plugins.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
list_projectsScans a directory for Godot projects (folders containing project.godot). Use to discover projects before using other tools. Returns array of {path, name}.| Parameter | Type | Description |
|---|---|---|
| directory * | string | Absolute path to search (e.g., "/home/user/godot-projects" on Linux, "C:\Games" on Windows) |
| recursive | boolean | If true, searches all subdirectories. If false (default), only checks immediate children. |
list_scene_nodesReturns complete scene tree structure with all nodes, types, and hierarchy. Use to understand scene organization before modifying. Returns nested tree with node paths.| Parameter | Type | Description |
|---|---|---|
| depth | number | Maximum depth to traverse. -1 = all (default), 0 = root only, 1 = root + children |
| includeProperties | boolean | If true, includes all node properties. If false (default), only names and types. |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Player.tscn") |
load_spriteAssigns a texture to a Sprite2D node in a scene. Use to set character sprites, backgrounds, or UI images. The texture file must exist in the project.| Parameter | Type | Description |
|---|---|---|
| nodePath * | string | Path to Sprite2D node in scene (e.g., ".", "Player/Sprite2D") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Player.tscn") |
| texturePath * | string | Path to texture file relative to project (e.g., "assets/player.png", "sprites/enemy.svg") |
manage_tool_groupsManage tool groups. Actions: list (show all core + dynamic groups), activate (enable a dynamic group), deactivate (disable a dynamic group), reset (disable all dynamic), status (show current state). Core groups (always visible, 33 tools): core_meta, core_project, core_editor, core_scene, core_script, core_class, core_signal, core_resource, core_export, core_runtime, core_visualizer, core_diagnostics. Dynamic groups (on-demand, 78 tools): scene_advanced, uid, import_export, autoload, signal, runtime, resource, animation, plugin, input, tilemap, audio, navigation, theme_ui, asset_store, testing, dx_tools, intent_tracking, class_advanced, lsp, dap, version_gate.| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform: list, activate, deactivate, reset, status |
| group | string | Group name for activate/deactivate (dynamic groups only). One of: scene_advanced, uid, import_export, autoload, signal, runtime, resource, animation, plugin, input, tilemap, audio, navigation, theme_ui, asset_store, testing, dx_tools, intent_tracking, class_advanced, lsp, dap, version_gate. |
map_projectCrawl the entire Godot project and build an interactive visual map of all scripts showing their structure (variables, functions, signals), connections (extends, preloads, signal connections), and descriptions. Opens an interactive browser-based visualization at localhost:${godotBridgePort}.| Parameter | Type | Description |
|---|---|---|
| include_addons | boolean | Whether to include scripts in addons/ folder (default: false) |
| projectPath * | string | Absolute path to the Godot project directory |
| root | string | Root path to start crawling from (default: res://) |
modify_resourceModify properties of an existing resource file (.tres/.res). Use to update materials, environments, themes, or any saved resource without recreating it.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. |
| properties * | string | JSON object of properties to set (e.g., {"albedo_color": {"_type": "Color", "r": 1, "g": 0, "b": 0, "a": 1}}) |
| resourcePath * | string | Path to existing resource file relative to project (e.g., "materials/player.tres") |
modify_scriptAdds functions, variables, or signals to an existing GDScript. Use to extend scripts without manual editing. Supports @export, @onready annotations and type hints.| Parameter | Type | Description |
|---|---|---|
| modifications * | array | Array of modifications to apply |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| reason | string | Optional reason/context for this change. Displayed in visualizer audit timeline. |
| scriptPath * | string | Path to existing .gd file relative to project (e.g., "scripts/player.gd") |
parse_error_logParses Godot error log and provides fix suggestions. Use to diagnose runtime errors or script issues.| Parameter | Type | Description |
|---|---|---|
| logContent | string | Optional: error log text. If omitted, reads from godot.log |
| maxErrors | number | Maximum errors to return. Default: 50 |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
query_class_infoGet detailed information about a specific Godot class: methods, properties, signals, enums. Use to discover available properties before calling add_node/create_resource/set_node_properties, or to find methods before call_runtime_method.| Parameter | Type | Description |
|---|---|---|
| className * | string | Exact Godot class name (e.g., "CharacterBody3D", "StandardMaterial3D", "AnimationPlayer") |
| includeInherited | boolean | If true, include inherited members from parent classes (default: false — shows only class-specific members) |
| projectPath * | string | Absolute path to project directory containing project.godot. |
query_classesQuery available Godot classes from ClassDB with filtering. Use to discover node types, resource types, or any class before using add_node/create_resource. Categories: node, node2d, node3d, control, resource, physics, physics2d, audio, visual, animation.| Parameter | Type | Description |
|---|---|---|
| category | string | Optional: filter by category (node, node2d, node3d, control, resource, physics, physics2d, audio, visual, animation) |
| filter | string | Optional: substring filter for class names (case-insensitive, e.g., "light", "collision") |
| instantiableOnly | boolean | If true, only return classes that can be instantiated (default: false) |
| projectPath * | string | Absolute path to project directory containing project.godot. |
record_decision_logRecord a structured decision log entry with rationale and alternatives.| Parameter | Type | Description |
|---|---|---|
| alternativesRejected | array | Alternatives considered and rejected. |
| decision * | string | Decision statement. |
| evidenceRefs | array | References supporting the decision. |
| intentId | string | Related intent id. Optional if latest intent should be inferred. |
| projectPath * | string | Absolute path to project directory containing project.godot. |
| rationale | string | Why this decision was made. |
record_execution_traceRecord execution trace for a work step (command/tool, files changed, result, artifacts).| Parameter | Type | Description |
|---|---|---|
| action * | string | Executed action name. |
| artifact | string | Artifact reference (branch, commit, build id). |
| command | string | Command or tool invocation. |
| error | string | Error details when failed. |
| filesChanged | array | Changed file paths. |
| intentId | string | Related intent id. Optional: auto-link active intent. |
| projectPath * | string | Absolute path to project directory containing project.godot. |
| result * | string | success|failed|partial |
record_work_stepUnified operation: records execution trace and optionally refreshes handoff pack in one call.| Parameter | Type | Description |
|---|---|---|
| action * | string | Executed action name. |
| artifact | string | Artifact reference (branch, commit, build id). |
| command | string | Command or tool invocation. |
| error | string | Error details when failed. |
| filesChanged | array | Changed file paths. |
| intentId | string | Related intent id. Optional: auto-link active intent. |
| maxItems | number | Max items for refreshed handoff pack. Default: 10 |
| projectPath * | string | Absolute path to project directory containing project.godot. |
| refreshHandoffPack | boolean | If true, regenerates handoff pack after recording. Default: true |
| result * | string | success|failed|partial |
reimport_resourceForces reimport of resources. Use after modifying source files or to fix import issues. Can reimport single file or all modified.| Parameter | Type | Description |
|---|---|---|
| force | boolean | If true, reimports even if up-to-date. Default: false |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| resourcePath | string | Optional: specific resource to reimport. If omitted, reimports all modified. |
remove_autoloadUnregisters an autoload singleton. Use to remove global managers no longer needed.| Parameter | Type | Description |
|---|---|---|
| name * | string | Singleton name to remove (e.g., "GameManager") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
reparent_nodeMoves a node to a different parent in the scene tree, preserving all properties and children. Use for reorganizing scene hierarchy. Scene is saved automatically unless saveScene=false.| Parameter | Type | Description |
|---|---|---|
| newParentPath * | string | Path to new parent node (e.g., "NewParent", "UI/Panel") |
| nodePath * | string | Path to node to move (e.g., "OldParent/Child", "UI/Button") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| saveScene | boolean | If true (default), saves scene after reparenting. Set false for batch operations. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Level.tscn") |
rescan_filesystemRescans the project filesystem in the running editor so files written outside Godot become visible to it. Call this after creating or renaming a script that declares a class_name: until the editor scans, that class is missing from the global class list and lsp_get_diagnostics reports every use of it as an unknown type. The editor otherwise only scans when its window regains focus.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| timeoutMs | number | How long to wait for the scan to finish before returning anyway. Default 10000. |
run_projectLaunches a Godot project and captures output. Use to test gameplay or verify script behavior. Runs headless where there is no display and windowed where there is, unless the headless argument says otherwise. Runs until stop_project is called. Use get_debug_output to retrieve logs.| Parameter | Type | Description |
|---|---|---|
| headless | boolean | Run without a window. Omit to follow the environment: headless where there is no display (CI), windowed where there is. A headless Godot renders nothing, so capture_screenshot, capture_viewport and the input injection tools need a windowed run. |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scene | string | Optional: specific scene to run (e.g., "scenes/TestLevel.tscn"). If omitted, runs main scene from project settings. |
save_sceneSaves changes to a scene file or creates a variant at a new path. Most scene modification tools save automatically, but use this for explicit saves or creating variants.| Parameter | Type | Description |
|---|---|---|
| newPath | string | Optional: New path to save as variant (e.g., "scenes/PlayerBlue.tscn") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Player.tscn") |
scaffold_gameplay_prototypeCreates a minimal playable prototype scaffold in one shot: main scene, player scene, basic nodes, common input actions, and optional starter player script.| Parameter | Type | Description |
|---|---|---|
| includePlayerScript | boolean | If true, creates scripts/player.gd starter script. Default: true |
| playerScenePath | string | Player scene path relative to project. Default: scenes/Player.tscn |
| projectPath * | string | Absolute path to project directory containing project.godot. |
| scenePath | string | Main scene path relative to project. Default: scenes/Main.tscn |
search_assetsSearch for CC0 assets across multiple sources (Poly Haven, AmbientCG, Kenney). Returns results sorted by provider priority.| Parameter | Type | Description |
|---|---|---|
| assetType | string | Type of asset to search (optional, searches all if not specified) |
| keyword * | string | Search term (e.g., "chair", "rock", "tree") |
| maxResults | number | Maximum number of results to return (default: 10) |
| mode | string | Search mode: "parallel" queries all providers, "sequential" stops at first with results (default: parallel) |
| provider | string | Specific provider to search, or "all" for multi-source (default: all) |
search_projectSearches for text or regex patterns across project files. Use to find function usages, variable references, or TODOs. Returns file paths and line numbers.| Parameter | Type | Description |
|---|---|---|
| caseSensitive | boolean | If true, case-sensitive search. Default: false |
| fileTypes | array | File extensions to search. Default: ["gd", "tscn", "tres"] |
| maxResults | number | Maximum results to return. Default: 100 |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| query * | string | Search text or regex pattern (e.g., "player", "TODO", "func.*damage") |
| regex | boolean | If true, treats query as regex. Default: false |
set_audio_bus_effectAdds or configures an audio effect on a bus. Use for reverb, delay, EQ, compression, etc.| Parameter | Type | Description |
|---|---|---|
| busIndex * | number | Bus index (0 = Master) |
| effectIndex * | number | Effect slot index (0-7) |
| effectType * | string | Effect type (e.g., "Reverb", "Delay", "Chorus", "Compressor") |
| enabled | boolean | Whether effect is active |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
set_audio_bus_volumeSets volume for an audio bus in decibels. Use to balance audio levels.| Parameter | Type | Description |
|---|---|---|
| busIndex * | number | Bus index (0 = Master) |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| volumeDb * | number | Volume in decibels (0 = unity, -80 = silent, +6 = boost) |
set_import_optionsModifies import settings for a resource. Use to change compression, mipmaps, filter mode. Triggers reimport by default.| Parameter | Type | Description |
|---|---|---|
| options * | string | JSON string of import options (e.g., {"compress/mode": 1, "mipmaps/generate": true}) |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| reimport | boolean | If true (default), reimports after setting. Set false for batch changes. |
| resourcePath * | string | Path to resource file (e.g., "textures/player.png") |
set_main_sceneSets which scene loads first when the game starts. Updates application/run/main_scene in project.godot.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to main scene (e.g., "scenes/main_menu.tscn", "scenes/game.tscn") |
set_node_propertiesSets multiple properties on a node in a scene. Prerequisite: scene and node must exist (use create_scene and add_node first). Use to modify position, scale, rotation, or any node-specific properties. Scene is saved automatically unless saveScene=false.| Parameter | Type | Description |
|---|---|---|
| nodePath * | string | Path to node within scene (e.g., ".", "Player", "Player/Sprite2D") |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| properties * | string | JSON object of properties to set. Tagged Godot values are the most explicit form (e.g., {"position":{"type":"Vector2","x":100,"y":200},"scale":{"type":"Vector2","x":2,"y":2}}), but typed properties like Vector2 also accept inferred {"x","y"} objects and numeric arrays. |
| saveScene | boolean | If true (default), saves scene after modification. Set false for batch operations. |
| scenePath * | string | Path to .tscn file relative to project (e.g., "scenes/Player.tscn") |
set_project_settingWrites a value to project.godot settings. Use to configure game name, window size, physics, etc.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| setting * | string | Setting path (e.g., "application/config/name", "display/window/size/width") |
| value * | string | Value to set (Godot auto-converts types) |
set_recording_modeSet recording mode: lite (minimal overhead) or full (richer context).| Parameter | Type | Description |
|---|---|---|
| mode * | string | lite|full |
set_runtime_propertySet a property on a node in a running Godot instance| Parameter | Type | Description |
|---|---|---|
| nodePath * | string | Path to the target node |
| projectPath * | string | Path to the Godot project directory |
| property * | string | Property name to set |
| value * | string | Value to set (Godot handles type conversion) |
set_theme_colorSet a color in a Theme resource| Parameter | Type | Description |
|---|---|---|
| color * | object | Color value |
| colorName * | string | Color name (font_color, etc.) |
| controlType * | string | Control type (Button, Label, etc.) |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| themePath * | string | Path to the theme resource |
set_theme_font_sizeSet a font size in a Theme resource| Parameter | Type | Description |
|---|---|---|
| controlType * | string | Control type (Button, Label, etc.) |
| fontSizeName * | string | Font size name |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| size * | number | Font size in pixels |
| themePath * | string | Path to the theme resource |
set_tilemap_cellsPlaces tiles in a TileMap node. Use to programmatically generate levels or modify existing tilemaps.| Parameter | Type | Description |
|---|---|---|
| cells * | array | Array of cells with coords {x,y}, sourceId, atlasCoords {x,y} |
| layer | number | TileMap layer index. Default: 0 |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
| scenePath * | string | Path to scene containing TileMap (e.g., "scenes/level1.tscn") |
| tilemapNodePath * | string | Path to TileMap node (e.g., "World/TileMap") |
stop_projectTerminates the currently running Godot project process. Use to stop a project started with run_project. No effect if no project is running.| Parameter | Type | Description |
|---|---|---|
| reason * | string | Brief explanation of why you are calling this tool |
summarize_intent_contextSummarize current intent context (goal, open decisions, risks, next actions) in compact form.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. |
tool_catalogDiscover available tools including hidden legacy tools. Use query to search by capability keywords. Results include group categorization (core/dynamic). Matching dynamic groups are auto-activated and become available immediately. Core groups (always visible): core_meta, core_project, core_editor, core_scene, core_script, core_class, core_signal, core_resource, core_export, core_runtime, core_visualizer, core_diagnostics. Dynamic groups (on-demand): scene_advanced, uid, import_export, autoload, signal, runtime, resource, animation, plugin, input, tilemap, audio, navigation, theme_ui, asset_store, testing, dx_tools, intent_tracking, class_advanced, lsp, dap, version_gate.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum results to return. Default: 30, max: 100. |
| query | string | Optional keyword search over tool names and descriptions. |
update_project_uidsUpdate UID references in a Godot project by resaving resources (for Godot 4.4+)| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Path to the Godot project directory |
validate_patch_with_lspRuns Godot LSP diagnostics for a script and returns whether it is safe to apply changes. Intended as a pre-apply quality gate.| Parameter | Type | Description |
|---|---|---|
| projectPath * | string | Absolute path to project directory containing project.godot. |
| scriptPath * | string | Script path relative to project (e.g., scripts/player.gd). |
validate_projectChecks project for export issues: missing resources, script errors, configuration problems. Use before export_project.| Parameter | Type | Description |
|---|---|---|
| includeSuggestions | boolean | If true (default), includes fix suggestions for each issue |
| preset | string | Optional: validate against specific export preset requirements |
| projectPath * | string | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. |
Security checks
- ✓README presentThe repository's README runs to about 1.8K words.
- ✓License declaredThe repository declares the MIT license.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
3 checks have not been run yet.
Releases
README
The repository's README runs to about 1.8K words. The original in the repository is authoritative.
Read full README