Let your agent import models into Godot

Connect Claude Code, Cursor or Codex to Spatial Compiler over MCP. Your agent sends each generated model, checks the price and puts back a GLB that Godot 4 opens at real size, with collision shapes already attached.

The generated robot imported into Godot 4 as it came out, 0.97 m tall next to a 1.8 m figure
The compiled robot in Godot 4, 1.8 m tall, with its collision shapes drawn in cyan

Imported as generated, 0.97 m

Compiled, 1.8 m with collision

  • 1.8 mtall in Godot, up from 0.97 m
  • 64collision shapes Godot builds on import
  • 58% fewertriangles, 144,548 down to 60,578
  • $5Free signup credit for 50 mesh Drafts

Godot 4 screenshots with visible collision shapes turned on. The gray capsule is 1.8 m tall. Compiled on the hosted API on 3 December 2026.

Automated Godot imports

Every generated model you drop into a Godot project needs the same fixes: scale it, cut its triangles and add a collision shape so it stops being a ghost.

Your agent already edits your project. Over MCP it can also send the model for a compile and put the finished GLB where your scenes expect it.

What the terms mean

  • MCP

    Model Context Protocol, the way coding agents call outside tools.

    Your agent gets estimate, submit and job tools for Spatial Compiler.

  • Collision shapes

    Simple convex shapes Godot uses for physics instead of the visible mesh.

    Godot reads them from the GLB, so you do not add them in the editor.

  • Real-world size

    The model's height in meters.

    Godot uses meters, so the robot stands as tall as your player.

How it works

  1. Connect your agent

    Add the hosted MCP server in one command. The starter tool runs a first draft so you can see the connection work.

  2. Ask for the model

    Your agent uploads the GLB, shows the price and runs a free Draft compile.

  3. Open it in Godot

    The GLB lands in your project. Godot 4 imports it with its texture and collision shapes.

Add fire and smoke to Godot with MCP

Questions

Which agents can do this?

Claude Code, Cursor, Codex and any other agent that speaks MCP. Your agent connects to the hosted server at spatialcompiler.dev/mcp.

Does Godot need a plugin?

No. The result is a standard GLB, and Godot 4 imports it with its texture and collision shapes.

All use cases

Use with your agent

Paste the prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with a GLB in your project that Godot 4 opens at real size, with its texture and collision shapes.

New accounts start with $5 of usage, and you see the price of each job before it runs.

Agent prompt

Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use meshfx to prepare this generated GLB for my Godot 4 project: set it to its real height in meters, make it lighter while keeping its texture, add convex collision pieces and save the result in my project's models folder. Run a Draft first. Your first 50 mesh Drafts are free with the $5 signup credit. Ask before running a final compile.

Or add the server yourself in Claude Code:

claude mcp add --transport http spatial-compiler https://spatialcompiler.dev/mcp

Set it up in Cursor, Codex or another agent

Once connected, your agent can call the starter tool for a ready fire Draft spec and the exact call that runs it. Your first 100 fire Drafts are free with the $5 signup credit.