Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | The port to connect to the running Forge Engine instance over WebSocket. | 6550 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| forge_get_scene_tree | Get the full scene tree of the currently open scene in Godot, including all nodes, their types, and hierarchy. |
| forge_add_node | Add a new node to the Godot scene tree. Specify the parent path, node type (e.g., CharacterBody3D, Sprite2D, Camera3D), and name. |
| forge_remove_node | Remove a node from the Godot scene tree by its path. |
| forge_move_node | Move a node to a new parent in the scene tree. |
| forge_get_properties | Get all editable properties of a node in the scene, including position, rotation, scale, and type-specific properties. |
| forge_set_property | Set a property on a node. For example, set position, color, energy, or any exported property. |
| forge_get_signals | Get all signals available on a node. |
| forge_screenshot | Capture a screenshot of the current Godot viewport. Returns a base64-encoded PNG image. Use this to "see" the game or editor state. |
| forge_get_resolution | Get the current viewport resolution (width and height). |
| forge_run_project | Run the Godot project (play the game). Equivalent to pressing F5 in the editor. |
| forge_stop_project | Stop the running Godot project. Equivalent to pressing the stop button. |
| forge_open_scene | Open a scene file in the Godot editor. |
| forge_save_scene | Save the currently edited scene to disk. |
| forge_get_script | Read the source code of a GDScript (.gd) or C# (.cs) file. |
| forge_set_script | Write/update the source code of a script file. The file will be saved and reloaded in the editor. |
| forge_list_files | List files and directories in a project path. |
| forge_execute_gdscript | Execute arbitrary GDScript code in the editor context. Useful for quick automation tasks. |
| forge_get_output | Get recent console output from the Godot editor. |
| forge_set_breakpoint | Set a breakpoint in a GDScript file at a specific line. |
| forge_evaluate | Evaluate a GDScript expression during a debug session. |
| forge_status | Check the connection status to the Forge Engine editor |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |