Godot MCP Pro

Premium MCP server for Godot game engine with 84 AI-powered tools for scene editing, scripting, animation, tilemap, shader, input simulation, and runtime debugging.

Godot MCP Pro

Premium MCP (Model Context Protocol) server for AI-powered Godot game development. Connects AI assistants like Claude directly to your Godot editor with 162 powerful tools.

Architecture

AI Assistant ←—stdio/MCP—→ Node.js Server ←—WebSocket:6505—→ Godot Editor Plugin
  • Real-time: WebSocket connection means instant feedback, no file polling
  • Editor Integration: Full access to Godot's editor API, UndoRedo system, and scene tree
  • JSON-RPC 2.0: Standard protocol with proper error codes and suggestions

Quick Start

1. Install the Godot Plugin

Copy the addons/godot_mcp/ folder into your Godot project's addons/ directory.

Enable the plugin: Project → Project Settings → Plugins → Godot MCP Pro → Enable

2. Install the MCP Server

cd server
npm install
npm run build

3. Configure Claude Code

Add to your .mcp.json:

{
  "mcpServers": {
    "godot-mcp-pro": {
      "command": "node",
      "args": ["D:/dev/godot-mcp-pro/server/build/index.js"],
      "env": {
        "GODOT_MCP_PORT": "6505"
      }
    }
  }
}

4. Lite Mode (Optional)

If your MCP client has a tool count limit (e.g., Windsurf: 100, Cursor: ~40), use Lite mode which registers 76 core tools instead of 162:

{
  "mcpServers": {
    "godot-mcp-pro": {
      "command": "node",
      "args": ["D:/dev/godot-mcp-pro/server/build/index.js", "--lite"]
    }
  }
}

Lite mode includes: project, scene, node, script, editor, input, runtime, and input_map tools.

5. Use It

Open your Godot project with the plugin enabled, then use Claude Code to interact with the editor.

All 162 Tools

Project Tools (7)

ToolDescription
get_project_infoProject metadata, version, viewport, autoloads
get_filesystem_treeRecursive file tree with filtering
search_filesFuzzy/glob file search
get_project_settingsRead project.godot settings
set_project_settingSet project settings via editor API
uid_to_project_pathUID → res:// conversion
project_path_to_uidres:// → UID conversion

Scene Tools (9)

ToolDescription
get_scene_treeLive scene tree with hierarchy
get_scene_file_contentRaw .tscn file content
create_sceneCreate new scene files
open_sceneOpen scene in editor
delete_sceneDelete scene file
add_scene_instanceInstance scene as child node
play_sceneRun scene (main/current/custom)
stop_sceneStop running scene
save_sceneSave current scene to disk

Node Tools (14)

ToolDescription
add_nodeAdd node with type and properties
delete_nodeDelete node (with undo support)
duplicate_nodeDuplicate node and children
move_nodeMove/reparent node
update_propertySet any property (auto type parsing)
get_node_propertiesGet all node properties
add_resourceAdd Shape/Material/etc to node
set_anchor_presetSet Control anchor preset
rename_nodeRename a node in the scene
connect_signalConnect signal between nodes
disconnect_signalDisconnect signal connection
get_node_groupsGet groups a node belongs to
set_node_groupsSet node group membership
find_nodes_in_groupFind all nodes in a group

Script Tools (8)

ToolDescription
list_scriptsList all scripts with class info
read_scriptRead script content
create_scriptCreate new script with template
edit_scriptSearch/replace or full edit
attach_scriptAttach script to node
get_open_scriptsList scripts open in editor
validate_scriptValidate GDScript syntax
search_in_filesSearch content in project files

Editor Tools (9)

ToolDescription
get_editor_errorsGet errors and stack traces
get_editor_screenshotCapture editor viewport
get_game_screenshotCapture running game
execute_editor_scriptRun arbitrary GDScript in editor
clear_outputClear output panel
get_signalsGet all signals of a node with connections
reload_pluginReload the MCP plugin (auto-reconnect)
reload_projectRescan filesystem and reload scripts
get_output_logGet output panel content

Input Tools (7)

ToolDescription
simulate_keySimulate keyboard key press/release
simulate_mouse_clickSimulate mouse click at position
simulate_mouse_moveSimulate mouse movement
simulate_actionSimulate Godot Input Action
simulate_sequenceSequence of input events with frame delays
get_input_actionsList all input actions
set_input_actionCreate/modify input action

Runtime Tools (19)

ToolDescription
get_game_scene_treeScene tree of running game
get_game_node_propertiesNode properties in running game
set_game_node_propertySet node property in running game
execute_game_scriptRun GDScript in game context
capture_framesMulti-frame screenshot capture
monitor_propertiesRecord property values over time
start_recordingStart input recording
stop_recordingStop input recording
replay_recordingReplay recorded input
find_nodes_by_scriptFind game nodes by script
get_autoloadGet autoload node properties
batch_get_propertiesBatch get multiple node properties
find_ui_elementsFind UI elements in game
click_button_by_textClick button by text content
wait_for_nodeWait for node to appear
find_nearby_nodesFind nodes near position
navigate_toNavigate to target position
move_toWalk character to target

Animation Tools (6)

ToolDescription
list_animationsList all animations in AnimationPlayer
create_animationCreate new animation
add_animation_trackAdd track (value/position/rotation/method/bezier)
set_animation_keyframeInsert keyframe into track
get_animation_infoDetailed animation info with all tracks/keys
remove_animationRemove an animation

TileMap Tools (6)

ToolDescription
tilemap_set_cellSet a single tile cell
tilemap_fill_rectFill rectangular region with tiles
tilemap_get_cellGet tile data at cell
tilemap_clearClear all cells
tilemap_get_infoTileMapLayer info and tile set sources
tilemap_get_used_cellsList of used cells

Theme & UI Tools (6)

ToolDescription
create_themeCreate Theme resource file
set_theme_colorSet theme color override
set_theme_constantSet theme constant override
set_theme_font_sizeSet theme font size override
set_theme_styleboxSet StyleBoxFlat override
get_theme_infoGet theme overrides info

Profiling Tools (2)

ToolDescription
get_performance_monitorsAll performance monitors (FPS, memory, physics, etc.)
get_editor_performanceQuick performance summary

Batch & Refactoring Tools (8)

ToolDescription
find_nodes_by_typeFind all nodes of a type
find_signal_connectionsFind all signal connections in scene
batch_set_propertySet property on all nodes of a type
find_node_referencesSearch project files for pattern
get_scene_dependenciesGet resource dependencies
cross_scene_set_propertySet property across all scenes
find_script_referencesFind where script/resource is used
detect_circular_dependenciesFind circular scene dependencies

Shader Tools (6)

ToolDescription
create_shaderCreate shader with template
read_shaderRead shader file
edit_shaderEdit shader (replace/search-replace)
assign_shader_materialAssign ShaderMaterial to node
set_shader_paramSet shader parameter
get_shader_paramsGet all shader parameters

Export Tools (3)

ToolDescription
list_export_presetsList export presets
export_projectGet export command for preset
get_export_infoExport-related project info

Resource Tools (6)

ToolDescription
read_resourceRead .tres resource properties
edit_resourceEdit resource properties
create_resourceCreate new .tres resource
get_resource_previewGet resource thumbnail
add_autoloadRegister autoload singleton
remove_autoloadRemove autoload singleton

Physics Tools (6)

ToolDescription
setup_physics_bodyConfigure physics body properties
setup_collisionAdd collision shapes to nodes
set_physics_layersSet collision layer/mask
get_physics_layersGet collision layer/mask info
get_collision_infoGet collision shape details
add_raycastAdd RayCast2D/3D node

3D Scene Tools (6)

ToolDescription
add_mesh_instanceAdd MeshInstance3D with primitive mesh
setup_camera_3dConfigure Camera3D properties
setup_lightingAdd/configure light nodes
setup_environmentConfigure WorldEnvironment
add_gridmapSet up GridMap node
set_material_3dSet StandardMaterial3D properties

Particle Tools (5)

ToolDescription
create_particlesCreate GPUParticles2D/3D
set_particle_materialConfigure ParticleProcessMaterial
set_particle_color_gradientSet color gradient for particles
apply_particle_presetApply preset (fire, smoke, sparks, etc.)
get_particle_infoGet particle system details

Navigation Tools (6)

ToolDescription
setup_navigation_regionConfigure NavigationRegion
setup_navigation_agentConfigure NavigationAgent
bake_navigation_meshBake navigation mesh
set_navigation_layersSet navigation layers
get_navigation_infoGet navigation setup info

Audio Tools (6)

ToolDescription
add_audio_playerAdd AudioStreamPlayer node
add_audio_busAdd audio bus
add_audio_bus_effectAdd effect to audio bus
set_audio_busConfigure audio bus properties
get_audio_bus_layoutGet audio bus layout info
get_audio_infoGet audio-related node info

AnimationTree Tools (4)

ToolDescription
create_animation_treeCreate AnimationTree
get_animation_tree_structureGet tree structure
set_tree_parameterSet AnimationTree parameter
add_state_machine_stateAdd state to state machine

State Machine Tools (3)

ToolDescription
remove_state_machine_stateRemove state from state machine
add_state_machine_transitionAdd transition between states
remove_state_machine_transitionRemove state transition

Blend Tree Tools (1)

ToolDescription
set_blend_tree_nodeConfigure blend tree nodes

Analysis & Search Tools (4)

ToolDescription
analyze_scene_complexityAnalyze scene performance
analyze_signal_flowMap signal connections
find_unused_resourcesFind unreferenced resources
get_project_statisticsGet project-wide statistics

Testing & QA Tools (6)

ToolDescription
run_test_scenarioRun automated test scenario
assert_node_stateAssert node property values
assert_screen_textCheck for text on screen
compare_screenshotsCompare two screenshots
run_stress_testRun performance stress test
get_test_reportGet test results report

Key Features

  • UndoRedo Integration: All node/property operations support Ctrl+Z
  • Smart Type Parsing: "Vector2(100, 200)", "#ff0000", "Color(1,0,0)" auto-converted
  • Auto-Reconnect: Exponential backoff reconnection (1s → 2s → 4s ... → 60s max)
  • Heartbeat: 10s ping/pong keeps connection alive
  • Helpful Errors: Error responses include suggestions for next steps

Competitive Comparison

Tool Count

CategoryGodot MCP ProGDAI MCP ($19)tomyud1 (free)Dokujaa (free)Coding-Solo (free)ee0pdt (free)bradypp (free)
Project7540222
Scene98119345
Node14808230
Script8564050
Editor9515132
Input7200000
Runtime19000000
Animation6000000
TileMap6000000
Theme/UI6000000
Profiling2000000
Batch/Refactor8000000
Shader6000000
Export3000000
Resource6000000
Physics6000000
3D Scene6000000
Particle5000000
Navigation6000000
Audio6000000
AnimationTree4000000
State Machine3000000
Blend Tree1000000
Analysis4000000
Testing/QA6000000
Asset/AI0016000
Material0002000
Other0095521
Total162~303239131910

Feature Matrix

FeatureGodot MCP ProGDAI MCP ($19)tomyud1 (free)Dokujaa (free)Coding-Solo (free)
ConnectionWebSocket (real-time)stdio (Python)WebSocketTCP SocketHeadless CLI
Undo/RedoYesYesNoNoNo
JSON-RPC 2.0YesCustomCustomCustomN/A
Auto-reconnectYes (exponential backoff)N/ANoNoN/A
HeartbeatYes (10s ping/pong)NoNoNoNo
Error suggestionsYes (contextual hints)NoNoNoNo
Screenshot captureYes (editor + game)YesNoNoNo
Game input simulationYes (key/mouse/action/sequence)Yes (basic)NoNoNo
Runtime inspectionYes (scene tree + properties + monitor)NoNoNoNo
Signal managementYes (connect/disconnect/inspect)NoNoNoNo
Browser visualizerNoNoYesNoNo
AI 3D mesh generationNoNoNoYes (Meshy API)No

Exclusive Categories (No Competitor Has These)

CategoryToolsWhy It Matters
Animation6 toolsCreate animations, add tracks, set keyframes — all programmatically
TileMap6 toolsSet cells, fill rects, query tile data — essential for 2D level design
Theme/UI6 toolsStyleBox, colors, fonts — build UI themes without manual editor work
Profiling2 toolsFPS, memory, draw calls, physics — performance monitoring
Batch/Refactor8 toolsFind by type, batch property changes, cross-scene updates, dependency analysis
Shader6 toolsCreate/edit shaders, assign materials, set parameters
Export3 toolsList presets, get export commands, check templates
Physics6 toolsSet up collision shapes, bodies, raycasts, and layer management
3D Scene6 toolsAdd meshes, cameras, lights, environment, GridMap support
Particle5 toolsCreate particles with custom materials, presets, and gradients
Navigation6 toolsConfigure navigation regions, agents, pathfinding, baking
Audio6 toolsComplete audio bus system, effects, players, live management
AnimationTree4 toolsBuild state machines with transitions and blend trees
State Machine3 toolsAdvanced state machine management for complex animations
Testing/QA6 toolsAutomated testing, assertions, stress testing, screenshot comparison
Runtime19 toolsInspect and control game at runtime: inspect, record, replay, navigate

Architecture Advantages

AspectGodot MCP ProTypical Competitor
ProtocolJSON-RPC 2.0 (standard, extensible)Custom JSON or CLI-based
ConnectionPersistent WebSocket with heartbeatPer-command subprocess or raw TCP
ReliabilityAuto-reconnect with exponential backoff (1s→60s)Manual reconnection required
Type SafetySmart type parsing (Vector2, Color, Rect2, hex colors)String-only or limited types
Error HandlingStructured errors with codes + suggestionsGeneric error messages
Undo SupportAll mutations go through UndoRedo systemDirect modifications (no undo)
Port ManagementAuto-scan ports 6505-6509Fixed port, conflicts possible

License

Proprietary — see LICENSE for details. Purchase includes lifetime updates for v1.x.

Related Servers