MODULE: PYROHEADLESS GPUSAME SPEC, SAME BYTES
Applied Manifold The spatial compute cloud for 3D reality
Let your agents ship 3D without opening Blender
The compiler for 3D
Send a raw mesh or a pyro spec over MCP or REST. Get back assets ready for production and simulation, plus a JSON report your code can check.
$ set up Spatial Compiler - https://appliedmanifold.com/llms.txt
Full agent prompt
Connect the Spatial Compiler MCP server for this project: add the hosted server https://mcp.spatialcompiler.dev, or run `npx -y @spatial-compiler/mcp` with my API key in SPATIAL_API_KEY. Read appliedmanifold.com/llms.txt, then use its tools for 3D assets in this project.
Headless GPU compilation for 3D geometry and physics
3D tools assume a person at a desktop viewport. Agents that drive them by screenshot are slow and still ship broken topology.
Spatial Compiler is a headless GPU kernel your agents call over MCP or REST. No window, no editor: call it in a loop and check every result in code.
-
Typed telemetry
Every call returns triangle counts, draw calls and memory size. Every bake report names the setting to change.
-
Deterministic bakes
Same spec, seed, version and machine: same bytes. A new seed gives a new instance.
-
More like a compiler
A misspelled key fails with the nearest valid key.
schemaprints every field, range and default.
-
Gen3D platforms
Every generation leaves your platform welded, on budget, UV-packed and ORM-baked.
- weld
- decimate
- uv_pack
- orm_bake
-
Robotics & world models
Sim-ready convex colliders and a reproducible pipeline for synthetic data.
- convex_hulls
- sha-256
- dry_run
- pyro
-
E-commerce configurators
Web-weight GLBs with LODs and baked materials for every SKU.
- lod_chain
- orm_bake
- glb
- page weight
-
AI gaming, UGC & AEC
Clean uploads, AI props and CAD/BIM to engine budgets; bake pyro effects for Godot 4.
- dry_run
- decimate
- convex_hulls
- pyro
Built for autonomous loops
Spatial Compiler (@spatial-compiler/mcp) gives Claude Code, Cursor or your CI a GPU co-processor for 3D, over MCP or REST. One endpoint from raw asset to shipped asset.
-
compile_3d_asset (Geometry & Materials)
Welds non-manifold edges, decimates to exact triangle budgets (meshoptimizer), packs UV atlases (xatlas) and bakes channel-packed ORM textures.
-
pyro (Fire, smoke, explosion, dust)
Bakes fire, smoke, explosion and dust flipbooks from a
.pyro.tomlspec, lit from six directions for relighting. -
wire (Godot 4)
Installs the six-way shader in a Godot project and writes a ready scene per bake.
# The spin: around the vertical axis, up the whole column, on air and gas alike.
[[forces]]
kind = "vortex"
shape = "box"
position_m = [0, 4, 0]
size_m = [1.3, 4, 1.3]
direction = [0, 1, 0]
strength = 14
max_speed_mps = 4
falloff = 0.4
Pay per operation, start free
-
$0.05
Per pyro draft bake
(Coarser grid for fast iteration.)
-
$0.10
Per full-quality bake
(Full grid, six-way lit sheets.)
-
$0.00
To rerun the same input
(Served from cache.)
New accounts get $5 of usage. A sweep is $0.20. See pricing tiers →
{
"mcpServers": {
"spatial-compiler": {
"type": "http",
"url": "https://mcp.spatialcompiler.dev"
}
}
}
SPATIAL_API_KEY=spck_test_example npx -y @spatial-compiler/mcp
curl -X POST https://api.spatialcompiler.dev/v1/compile \
-H "Authorization: Bearer spck_test_example" \
-F "file=@model.glb" \
-F 'options={"target_tris":15000,"dry_run":true}'
Paste one of these into your agent, then ask it for a bake. Connection guide →
status dry_run tris_in target_tris tris_out draw_calls vram_bytes elapsed_ms cache cost_usd_est
Every compile returns these fields. Telemetry fields →
FAQ
What is Spatial Compiler?
A GPU compiler for 3D assets. Send raw .glb or CAD geometry over MCP or REST; get back decimated, UV-packed, physics-ready assets and JSON telemetry. The pyro module bakes fire, smoke, explosion and dust flipbooks from a spec.
Why not drive a desktop 3D tool from an agent?
Spatial Compiler has no window. An agent runs it as a command and checks a JSON report and one preview image. Errors name the nearest valid key, and every warning names the setting to change.
Is Spatial Compiler a 3D generator?
No. It compiles meshes and specs you already have. Call it on each output of your text-to-3D or image-to-3D model.