Supported Tools
Tools are the functionalities that the plugin provides to the AI (MCP Client). Here is a list of tools in the plugin:
Project tools
get_project_info- Get information about the Godot project from the project.godot file and other sourcesget_filesystem_tree- Get a recursive tree view of all files and directories in the project with file type filteringsearch_files- Recursively search the filesystem for files matching a query using fuzzy searchuid_to_project_path- Convert a Godot UID string (uid://) to a Godot project path (res://)project_path_to_uid- Convert a Godot project path (res://) to a Godot UID string (uid://)
Scene tools
get_scene_tree- Get a recursive tree view of all nodes in the current scene with visibility and script infoget_scene_file_content- Get the raw content of the current scene file to see overridden properties and resourcescreate_scene- Create a new scene with the root node of given typeopen_scene- Open a scene in the editordelete_scene- Delete a scene with given file pathadd_scene- Add a scene as a node to a parent node in the current sceneplay_scene- Play either the current scene or the main project scene in Godotstop_running_scene- Stop the currently running scene in the Godot Editor, if any
Node tools
add_node- Add a new node to a parent node in the current scenedelete_node- Delete a node (except root) in the current sceneduplicate_node- Duplicate an existing node in the scenemove_node- Move a node to a different parent in the sceneupdate_property- Update a property of a given node in a scene (does not create sub-resources)add_resource- Add a new resource or subresource as a property to a node (e.g., shape to collision, texture to sprite)set_anchor_preset- Set the anchor of a Control node using a preset (top_left, center, full_rect, etc.)set_anchor_values- Set the anchor values (top, bottom, left, right) for a Control node with precise values
Script tools
get_open_scripts- Get a list of all scripts open in the Godot editor along with their contentsview_script- View the contents of a GDScript file and make it active in the script editorcreate_script- Create a GDScript script file with contentattach_script- Attach a script file to a node in the sceneedit_file- Edit a file by performing a find and replace operation on its contents
Editor tools
get_godot_errors- Get errors from Godot such as script errors, runtime errors, stack trace and output logsget_editor_screenshot- Return a screenshot of the entire Godot editor windowget_running_scene_screenshot- Return a screenshot of the running game windowexecute_editor_script- Execute arbitrary GDScript in the Editor as a tool scriptclear_output_logs- Clear the output logs in the editor to remove previous errors
Last updated on