API & MCP
Everything a person can do on PrintPlan — True-scale tiled print, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://paperwellprintplan.usefulweb.app/api/v1/calculate– run PrintPlan — True-scale tiled printGET https://paperwellprintplan.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
PrintPlan — True-scale tiled print
Prepare SVG geometry at a measured physical size, inspect the assembly grid and export tiled PDFs with alignment marks and a 100 mm calibration square.
| Field | Type | Default | Description |
|---|---|---|---|
width | number | 400 | Target width (mm) |
height | number | 300 | Target height (mm) |
source | textarea | — | SVG geometry (optional) |
paper | select (a4, letter) | "a4" | Paper |
orientation | select (auto, portrait, landscape) | "auto" | Orientation |
aspect | select (stretch, contain) | "stretch" | Scale artwork |
overlap | number | 15 | Overlap (mm) |
margin | number | 10 | Printer margin (mm) |
title | text | "PrintPlan" | Project title |
Example request
Try an example
curl -X POST https://paperwellprintplan.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://paperwellprintplan.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
paperwell_printplan - Local stdio connector:
node src/mcp-stdio.ts --tool=paperwell-printplan
{
"mcpServers": {
"paperwell-printplan": { "type": "http", "url": "https://paperwellprintplan.usefulweb.app/mcp" }
}
}