MCPVault

game_call_method

MCP tool from Godot MCP by tugcantopaloglu

Call any method on a node

How to use it

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

FULL GODOT MCP LISTING

Other tools in Godot MCP (39)

add_node

Add a node to an existing scene

attach_script

Attach a GDScript to a scene node

create_resource

Create a .tres resource file

create_scene

Create a new scene with a root node type

export_mesh_library

Export a scene as MeshLibrary

game_change_scene

Switch to a different scene

game_click

Click at a position

game_connect_signal

Connect a signal to a method

game_disconnect_signal

Disconnect a signal

game_emit_signal

Emit a signal with arguments

game_eval

Execute arbitrary GDScript with return values

game_get_node_info

Detailed node introspection

game_get_property

Get any node property

game_get_scene_tree

Get full scene tree structure

game_get_ui

Get all visible UI elements

game_instantiate_scene

Add a PackedScene to the running tree

game_key_press

Send key press or input action

game_mouse_move

Move the mouse

game_remove_node

Remove a node from the tree

game_reparent_node

Move a node to a new parent

game_screenshot

Capture a screenshot (base64 PNG)

game_set_property

Set any node property (auto type conversion)

get_debug_output

Get console output and errors

get_godot_version

Get installed Godot version

get_project_info

Get project metadata

get_uid

Get UID for a file (Godot 4.4+)

launch_editor

Launch Godot editor for a project

list_project_files

List/filter project files

list_projects

Find Godot projects in a directory

load_sprite

Load a texture into a Sprite2D node

modify_project_settings

Change a project setting

modify_scene_node

Modify node properties in a scene file

read_project_settings

Parse project.godot as JSON

read_scene

Read full scene tree as JSON

remove_scene_node

Remove a node from a scene file

run_project

Run a Godot project and capture output

save_scene

Save a scene (with optional variant path)

stop_project

Stop the running project

update_project_uids

Resave resources to update UIDs