create_script
Create new script with template
How to use it
create_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 create_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 LISTINGOther tools in Godot MCP Pro (39)
Add node with type and properties
Add Shape/Material/etc to node
Instance scene as child node
Attach script to node
Clear the editor scene selection
Connect signal between nodes
Create new scene files
Delete node (with undo support)
Delete scene file
Disconnect signal connection
Duplicate node and children
Search/replace or full edit
Find all nodes in a group
Get currently selected scene nodes
Recursive file tree with filtering
Get groups a node belongs to
Get all node properties
List scripts open in editor
Project metadata, version, viewport, autoloads
Read project.godot settings
Raw .tscn file content
Live scene tree with hierarchy
List all scripts with class info
Move/reparent node
Open scene in editor
Run scene (main/current/custom)
res:// → UID conversion
Read script content
Rename a node in the scene
Save current scene to disk
Fuzzy/glob file search
Select, focus, and inspect scene nodes
Set Control anchor preset
Set node group membership
Set project settings via editor API
Stop running scene
UID → res:// conversion
Set any property (auto type parsing)
Validate GDScript syntax