Gaea MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gaea MCP Clone Aconcagua_v01 into LaninTrue and repoint its heightmap."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Gaea MCP
MCP server for QuadSpinner Gaea terrain workflows.
The server edits Gaea .terrain graph files, discovers Gaea CLI executables,
and can run silent builds through Gaea.Swarm.exe.
This is intentionally small. It automates the repetitive bridge work while leaving artistic terrain tuning inside Gaea.
Install
From this repo:
cd C:\Users\marti\Games\Ascent\tools\gaea-mcp
npm install
npm run buildFrom a standalone checkout:
git clone https://github.com/JulianIrigoyen/gaea-mcp.git
cd gaea-mcp
npm install
npm run buildRelated MCP server: qfoldit-unigine-toolbelt
Codex / Claude MCP Config
Add a server entry like this:
{
"mcpServers": {
"gaea": {
"command": "node",
"args": [
"C:/path/to/gaea-mcp/dist/index.js"
],
"env": {
"GAEA_ROOT": "C:/path/to/your/terrain/project",
"GAEA_EXE_DIR": "C:/Program Files/QuadSpinner/Gaea 2"
}
}
}
}Tools
gaea_clone_graph- clones a.terraingraph and optionally repoints input/output paths.gaea_find_install- findsGaea.Swarm.exe,Gaea.exe, and related executables.gaea_list_graphs- lists.terrainfiles.gaea_inspect_graph- reports File nodes, output destination, profiles, and exposed variables.gaea_set_input_heightmap- rewrites File node input paths.gaea_set_build_output- rewrites the build output destination.gaea_set_variable- updates or creates a variable entry when the graph exposes a matching structure.gaea_run_build- runsGaea.Swarm.exewith optional profile, resolution, seed, vars, and output path.gaea_open_graph- opens a graph in the Gaea desktop app.gaea_list_outputs- lists files in an output folder.
Write/build/open tools default to dryRun: true. Pass dryRun: false to
actually save, launch, or build. Graph edits create timestamped .bak-*
backups before overwriting existing files.
Example
{
"graph": "TerrainExports/LaninTrue_Gaea.terrain"
}Then:
{
"graph": "TerrainExports/LaninTrue_Gaea.terrain",
"nodeId": "522",
"heightmap": "TerrainExports/LaninTrue_Gaea/LaninTrue_Height.png",
"dryRun": false
}Clone Aconcagua into a Lanin graph:
{
"sourceGraph": "TerrainExports/Aconcagua_v01.terrain",
"targetGraph": "TerrainExports/LaninTrue_Gaea.terrain",
"heightmap": "TerrainExports/LaninTrue_Gaea/LaninTrue_Height.png",
"outputDir": "TerrainExports/LaninTrue_Gaea",
"dryRun": false
}Preview the exact build command without launching Gaea:
{
"graph": "TerrainExports/LaninTrue_Gaea.terrain",
"outputDir": "TerrainExports/LaninTrue_Gaea",
"resolution": "2048",
"dryRun": true
}Open a graph in the Gaea UI:
{
"graph": "TerrainExports/LaninTrue_Gaea.terrain",
"dryRun": false
}Safety
All file paths are constrained to
GAEA_ROOT.Writes default to dry-run.
Existing graph edits write
.bak-*backups.Real Gaea builds require
dryRun: false.Build execution has a timeout, defaulting to one hour.
Scope
This is not an official QuadSpinner product. It works through documented CLI
entry points and the .terrain graph format as observed on disk.
Known Limitations
The
.terraingraph format is not treated as a public stable API by this project; inspect and dry-run before writing.gaea_set_variableonly works when the graph contains discoverable variable objects withValue/valuefields. CLI-v name:valueis more reliable for exposed build variables.On Windows,
Gaea.Swarm.exemay crash withSystem.IO.IOException: The handle is invalidwhen launched from a host without a real console. If that happens, run the printed dry-run command in a normal terminal or a PTY-backed shell.The server does not generate terrain artistically. It automates graph plumbing, builds, and handoff files.
Available Tools
10 toolsgaea_clone_graphC
Clone a .terrain graph and optionally repoint its first File node and build output.
Inputs: sourceGraph (required), targetGraph (required), dryRun, heightmap, +2 more.
gaea_find_installA
Find local QuadSpinner Gaea executables.
Inputs: no named parameters.
gaea_inspect_graphA
Inspect a Gaea .terrain graph for File nodes, output destinations, profiles, and exposed variables.
Inputs: graph (required).
gaea_list_graphsA
List .terrain graph files under GAEA_ROOT.
Inputs: directory.
gaea_list_outputsB
List output files in a Gaea build directory.
Inputs: outputDir (required).
gaea_open_graphC
Open a .terrain graph in the Gaea desktop application.
Inputs: graph (required), dryRun, gaeaExe.
gaea_run_buildC
Run Gaea.Swarm.exe for a .terrain graph.
Inputs: graph (required), seed, vars, dryRun, +6 more.
gaea_set_build_outputC
Set every BuildDefinition Destination in a Gaea graph.
Inputs: graph (required), outputDir (required), dryRun.
gaea_set_input_heightmapB
Set a Gaea File node's FileName to a new heightmap path.
Inputs: graph (required), heightmap (required), dryRun, nodeId.
gaea_set_variableB
Update an exposed variable value in a graph when a matching variable object exists.
Inputs: name (required), graph (required), value (required), dryRun.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Most tools target clearly distinct operations: listing, inspecting, modifying inputs, setting outputs, variables, building, and opening graphs. The main overlap is that gaea_clone_graph also repoints inputs and outputs, which slightly blurs its boundary with the dedicated set_* tools.
All tool names follow the same gaea_verb_noun pattern using snake_case consistently. The verbs are predictable and the object portion clearly indicates the resource being acted on.
Ten tools is well-scoped for a Gaea graph automation server. Each tool maps to a meaningful step in the workflow from environment discovery through graph modification, building, and output inspection.
The tool set covers the core automation lifecycle: find install, list/inspect graphs, modify inputs/outputs/variables, clone, build, and list outputs. Minor gaps exist such as no explicit build status check and no graph deletion, but these are easily worked around via the provided tools.
Related MCP Connectors
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides AI assistants with tools to launch the Godot editor, run projects, manipulate scenes, manage scripts, and control node properties through a standardized MCP interface.21MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to automate UNIGINE 2 editor workflows through 25 composite tools (scene, materials, procedural, stamps, codegen, assets, and build console) via an external MCP bridge that runs alongside UNIGINE's official MCPBridge Plugin.6-
- AlicenseNot gradedqualityBmaintenanceEnables typed Gaea terrain builds and output verification for DCC-MCP, including inspecting templates, planning CLI arguments, executing bounded builds, and verifying exported height/weight images with dimensions and SHA-256 receipts.MIT
- AlicenseNot gradedqualityCmaintenanceEnables users to author buildable QuadSpinner Gaea 2 .terrain projects, turn real DEM or synthetic elevation into Gaea-ready heightmaps and 16-bit erosion masks, have Gaea itself validate and build the project, and read back the exported heightmap and colour-map outputs. It bakes in the file-format, licence, schema-version and mask-bit-depth constraints that otherwise make Gaea-produced projects fail to open, build, or apply correctly.3MIT