API & MCP
Everything a person can do on Comic Book & Booklet Planner, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://panelcraftbookplan.usefulweb.site/api/v1/calculate– run Comic Book & Booklet PlannerGET https://panelcraftbookplan.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Comic Book & Booklet Planner
Create an editable Panelcraft comic book with ordered pages and panel grids. Export a clean SVG contact sheet, complete lettering CSV and book project, plus a deterministic sheet-front and sheet-back imposition plan for a folded booklet.
| Field | Type | Default | Description |
|---|---|---|---|
name | text | "A small adventure" | Book title |
author | text | — | Author or credit |
pages | integer | 8 | Book pages |
rows | integer | 2 | Panel rows |
columns | integer | 2 | Panel columns |
reading | select (ltr, rtl) | "ltr" | Reading and binding direction |
sheetColumns | integer | 3 | Contact-sheet columns |
Example request
An eight-page pocket comic
curl -X POST https://panelcraftbookplan.usefulweb.site/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://panelcraftbookplan.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
panelcraft_book_plan - Local stdio connector:
node src/mcp-stdio.ts --tool=panelcraft-book-plan
{
"mcpServers": {
"panelcraft-book-plan": { "type": "http", "url": "https://panelcraftbookplan.usefulweb.site/mcp" }
}
}