docjet-mcp
v1.0.1Render branded PDFs and PNG images from templates or raw HTML via the DocJet API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
render_pdf Render PDF
Render a branded PDF document with the DocJet API. Provide a template_id (discover them with list_templates) or raw html, plus a data object for template variables. Returns a signed download URL for the PDF.
| Parameter | Type | Description |
|---|---|---|
data | object | Template variables (Handlebars data object) |
html | string | Raw HTML to render (max 512 KB) — alternative to template_id |
template_id | string | Template ID from list_templates (provide template_id OR html) |
render_image Render Image
Render a PNG image (e.g. an OG/social card) with the DocJet API. Provide a template_id (discover them with list_templates) or raw html, plus a data object for template variables. Returns a signed download URL for the PNG.
| Parameter | Type | Description |
|---|---|---|
data | object | Template variables (Handlebars data object) |
html | string | Raw HTML to render (max 512 KB) — alternative to template_id |
template_id | string | Template ID from list_templates (provide template_id OR html) |
list_templates List Templates
List the available DocJet templates: id, name, description and outputType (pdf or png). Use a returned id as template_id in render_pdf / render_image.