PDFMonkey MCP by usefulapi
v1.1.0Read templates and documents; generate PDFs and images from templates in PDFMonkey.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pdfmonkey_get_account Get account and quota
Get the PDFMonkey account: current plan, documents still available this period, paying status and trial end. Omits the auth token and e-mail. PDFMonkey API: GET /api/v1/current_user.
pdfmonkey_list_templates List templates
List the document templates of one workspace (lightweight cards, no HTML body). The API has no workspace list: use the workspace_id (app_id) shown on a document card or in the dashboard. PDFMonkey API: GET /api/v1/document_template_cards?q[workspace_id]=.
| Parameter | Type | Description |
|---|---|---|
workspace_id * | string | The workspace (app_id) to list templates from. |
folders | string | Comma-separated folder ids, 'none' for unfiled templates, or 'all' (default). |
page | integer | Page number for pagination (default 1). |
pdfmonkey_get_template Get a template
Get one template with its published HTML body, styles, settings and sample data. Use it to see which payload keys a template expects. PDFMonkey API: GET /api/v1/document_templates/{id}.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The template id (from pdfmonkey_list_templates). |
pdfmonkey_list_documents List documents
List generated documents as lightweight cards (24 per page), newest first. Filter by template, status, workspace or update time. Cards include status, filename and download_url when ready. PDFMonkey API: GET /api/v1/document_cards.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number for pagination (default 1). |
search | string | A document id (exact match) or a partial filename. |
status | string | Only documents with this status. |
template_id | string | Only documents of this template id (one UUID or a comma-separated list). |
updated_since | string | Only documents updated after this ISO 8601 time or Unix timestamp. |
workspace_id | string | Only documents of this workspace (app_id). |
pdfmonkey_get_document Get a document's status
Get one document card: status (draft, pending, generating, success or failure), failure_cause, filename and download_url. A download_url is a signed link valid for one hour: call this again for a fresh link. PDFMonkey API: GET /api/v1/document_cards/{id}.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | The document id (from pdfmonkey_generate_document or pdfmonkey_list_documents). |
pdfmonkey_get_document_details Get document details
Get one full document: the payload it was built from, generation_logs (useful when status is failure), checksum and metadata. Heavier than pdfmonkey_get_document. PDFMonkey API: GET /api/v1/documents/{id}.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | The document id. |
pdfmonkey_generate_document Generate a document
Queue one PDF or image from a template and the payload data. Uses one document from the account quota. When the quota is used up, the API rejects the request unless pay-as-you-go is on, which bills each extra document. Returns at once with status pending: call pdfmonkey_get_document for the download_url. The request is not retried. PDFMonkey API: POST /api/v1/documents with status pending.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The template to render (from pdfmonkey_list_templates). |
meta | object | Metadata stored with the document. Use the _filename key to name the file, for example { "_filename": "invoice-42.pdf" }. |
payload | object | The dynamic data object the template reads, for example { "customer": "ACME", "total": 90 }. |