Skip to main content
Glama
mxn2020

Forge Engine MCP Server

by mxn2020

๐Ÿ”ฅ Forge Engine โ€” MCP Server

Let AI agents (Claude, Antigravity, Cursor, etc.) fully control the Godot game engine.

What is this?

This is a Model Context Protocol (MCP) server that connects to a running Forge Engine (Godot fork) instance over WebSocket. It exposes the Forge Protocol as MCP tools, enabling any MCP-compatible AI agent to:

  • ๐ŸŒฒ Manipulate the scene tree โ€” Add, remove, move, duplicate nodes

  • ๐Ÿ” Inspect & modify properties โ€” Get/set any node property, connect signals

  • ๐Ÿ“ธ Capture viewport screenshots โ€” AI can "see" your game

  • โ–ถ๏ธ Run & debug your game โ€” Start, stop, breakpoints, variable inspection

  • ๐Ÿ“ Edit scripts โ€” Read and write GDScript/C# source code

  • ๐ŸŽฎ Simulate input โ€” Click, keyboard, drag in the editor

  • ๐Ÿ“ฆ Manage assets โ€” Import files, create resources

Quick Start

1. Install

npm install -g @forge-engine/mcp-server

2. Configure your AI client

Add to your MCP config (e.g., Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "forge-engine": {
      "command": "forge-mcp",
      "args": ["--port", "6550"]
    }
  }
}

3. Open Forge Engine (Godot fork) with your project

The MCP server will automatically connect to the running editor.

Available Tools

Tool

Description

forge_get_scene_tree

Get the full scene tree

forge_add_node

Add a node to the scene

forge_remove_node

Remove a node from the scene

forge_get_properties

Get all properties of a node

forge_set_property

Set a property on a node

forge_screenshot

Capture the viewport

forge_run_project

Run the game

forge_stop_project

Stop the game

forge_get_script

Get script source code

forge_set_script

Update script source code

forge_execute_gdscript

Run GDScript code in the editor

forge_get_output

Get console output

Protocol

This MCP server communicates with Forge Engine via the Forge Protocol โ€” a WebSocket-based automation protocol inspired by Chrome DevTools Protocol. See the Forge Protocol Spec for details.

License

MIT โ€” see LICENSE

Install Server
A
security โ€“ no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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