MCPVault

validate_script

MCP tool from Godot MCP Pro by youichi-uda

Validate GDScript syntax

How to use it

validate_script is exposed by the Godot MCP Pro MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the validate_script tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

FULL GODOT MCP PRO LISTING

Other tools in Godot MCP Pro (39)

add_node

Add node with type and properties

add_resource

Add Shape/Material/etc to node

add_scene_instance

Instance scene as child node

attach_script

Attach script to node

clear_editor_selection

Clear the editor scene selection

connect_signal

Connect signal between nodes

create_scene

Create new scene files

create_script

Create new script with template

delete_node

Delete node (with undo support)

delete_scene

Delete scene file

disconnect_signal

Disconnect signal connection

duplicate_node

Duplicate node and children

edit_script

Search/replace or full edit

find_nodes_in_group

Find all nodes in a group

get_editor_selection

Get currently selected scene nodes

get_filesystem_tree

Recursive file tree with filtering

get_node_groups

Get groups a node belongs to

get_node_properties

Get all node properties

get_open_scripts

List scripts open in editor

get_project_info

Project metadata, version, viewport, autoloads

get_project_settings

Read project.godot settings

get_scene_file_content

Raw .tscn file content

get_scene_tree

Live scene tree with hierarchy

list_scripts

List all scripts with class info

move_node

Move/reparent node

open_scene

Open scene in editor

play_scene

Run scene (main/current/custom)

project_path_to_uid

res:// → UID conversion

read_script

Read script content

rename_node

Rename a node in the scene

save_scene

Save current scene to disk

search_files

Fuzzy/glob file search

select_nodes

Select, focus, and inspect scene nodes

set_anchor_preset

Set Control anchor preset

set_node_groups

Set node group membership

set_project_setting

Set project settings via editor API

stop_scene

Stop running scene

uid_to_project_path

UID → res:// conversion

update_property

Set any property (auto type parsing)