API & MCP
Everything a person can do on Renderloom Scene to GLB, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://renderloomsceneglb.usefulweb.app/api/v1/calculate– run Renderloom Scene to GLBGET https://renderloomsceneglb.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Renderloom Scene to GLB
Convert a Renderloom scene, Kerfwise Form Studio project or render recipe into one GLB file: a node per solid grouped by tag with its position and rotation, metallic-roughness materials from colours and finishes, and optionally a Material Nodes PBR texture set (base colour, normal, occlusion-roughness-metallic) on all solids, one tag or one solid. The file is re-read by a strict GLB parser before download.
| Field | Type | Default | Description |
|---|---|---|---|
scene | textarea | "{\"format\":\"renderloom-scene\",\"version\":1,\"name\":\"Studio corner\",\"rec | Renderloom scene, Form Studio project or render recipe JSON |
visibleOnly | boolean | true | Export visible solids only |
texture | select (none, brick, wood, stone, metal, fabric) | "none" | PBR texture |
textureSize | select (64, 128, 256, 512) | "256" | Texture size (pixels) |
apply | select (all, tag, solid) | "all" | Apply texture to |
target | text | — | Tag or solid ID |
tileMm | number | 500 | Texture repeats every (mm) |
Example request
Studio corner with colours and finishes
curl -X POST https://renderloomsceneglb.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://renderloomsceneglb.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
renderloom_scene_glb - Local stdio connector:
node src/mcp-stdio.ts --tool=renderloom-scene-glb
{
"mcpServers": {
"renderloom-scene-glb": { "type": "http", "url": "https://renderloomsceneglb.usefulweb.app/mcp" }
}
}