API & MCP
Everything a person can do on Voxel Greedy Mesher (OBJ, STL, GLB), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://renderloomvoxelmesher.usefulweb.app/api/v1/calculate– run Voxel Greedy Mesher (OBJ, STL, GLB)GET https://renderloomvoxelmesher.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Voxel Greedy Mesher (OBJ, STL, GLB)
Merge the exposed faces of a Renderloom voxel model into the fewest same-colour rectangles (greedy meshing), remove T-junction cracks, check the result with the shared mesh analyser and download it as OBJ + MTL, binary STL or GLB.
| Field | Type | Default | Description |
|---|---|---|---|
project | textarea | "{\"format\":\"renderloom-voxel\",\"version\":1,\"name\":\"Little house\",\"widt | Renderloom voxel project JSON |
format | select (glb, stl, obj) | "glb" | File format |
mode | select (watertight, minimal) | "watertight" | Meshing |
unitMm | number | 10 | Voxel size (mm) |
Example request
The little house as GLB
curl -X POST https://renderloomvoxelmesher.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://renderloomvoxelmesher.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
renderloom_voxel_mesher - Local stdio connector:
node src/mcp-stdio.ts --tool=renderloom-voxel-mesher
{
"mcpServers": {
"renderloom-voxel-mesher": { "type": "http", "url": "https://renderloomvoxelmesher.usefulweb.app/mcp" }
}
}