API & MCP
Everything a person can do on Footprint to 3D Solid Extruder, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://kerfwiseprofileextruder.usefulweb.site/api/v1/calculate– run Footprint to 3D Solid ExtruderGET https://kerfwiseprofileextruder.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Footprint to 3D Solid Extruder
Enter a polygon footprint and extrusion height to make a closed 3D prism. Set its placement and rotation, measure surface and volume, and open the editable result in Kerfwise Form Studio.
| Field | Type | Default | Description |
|---|---|---|---|
points | textarea | "0,0\n1200,0\n1200,400\n500,400\n500,1000\n0,1000" | Footprint X,Y pairs in mm (one per line) |
height | number | 600 | Extrusion height (mm) |
x | number | 0 | Origin X (mm) |
y | number | 0 | Origin Y (mm) |
z | number | 0 | Base elevation (mm) |
rotation | number | 0 | Rotation around Z (degrees) |
name | text | "L-shaped solid" | Solid name |
color | text | "#b9c9b4" | Solid color (HEX) |
Example request
An L-shaped extrusion
curl -X POST https://kerfwiseprofileextruder.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"points":"0,0\n1200,0\n1200,400\n500,400\n500,1000\n0,1000","height":600}'
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://kerfwiseprofileextruder.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
kerfwise_profile_extruder - Local stdio connector:
node src/mcp-stdio.ts --tool=kerfwise-profile-extruder
{
"mcpServers": {
"kerfwise-profile-extruder": { "type": "http", "url": "https://kerfwiseprofileextruder.usefulweb.site/mcp" }
}
}