Skip to main content
Glama
mxn2020

Forge Engine MCP Server

by mxn2020

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
portNoThe port to connect to the running Forge Engine instance over WebSocket.6550

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mxn2020/forge-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server