PDFMonkey

v1.0.1
io.github.pdfmonkey/pdfmonkey-mcp Checked 21 hours ago Published 1 month ago

Generate PDFs from templates using the PDFMonkey API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_workspaces

List all PDFMonkey workspaces accessible with the current API key

list_templates

List all PDF templates available in the workspace. Optionally scope the listing to a specific workspace with workspace_id.

ParameterTypeDescription
workspace_idstringOptional workspace (app) ID to scope the template listing. When omitted, uses the default workspace.

get_template

Get detailed information about a specific template including HTML, CSS, and sample data

ParameterTypeDescription
template_id *stringThe ID of the template to retrieve

generate_document

Generate a PDF document from a template with provided data. This uses async generation with automatic polling until completion. Returns the download URL when ready. Optionally target a specific workspace with workspace_id.

ParameterTypeDescription
payload *objectThe data to merge into the template (must match template structure)
template_id *stringThe ID of the template to use for generation
filenamestringOptional filename for the generated PDF (e.g., "invoice-001.pdf")
metaobjectOptional additional metadata to store with the document
ttlstringOptional time-to-live for automatic deletion (e.g., "7d", "2h", "30m")
workspace_idstringOptional workspace (app) ID to generate the document in. When omitted, uses the default workspace.

get_document_status

Check the generation status of a document and get its download URL if ready

ParameterTypeDescription
document_id *stringThe ID of the document to check

list_documents

List documents with optional filtering by status, template, or update time

ParameterTypeDescription
pagenumberPage number for pagination (default: 1)
statusstringFilter by document status
template_idstringFilter by template ID
updated_sincestringFilter by update timestamp (ISO 8601 format)

delete_document

Permanently delete a document and its generated PDF

ParameterTypeDescription
document_id *stringThe ID of the document to delete

list_snippets

List all reusable Liquid code snippets in the workspace

get_snippet

Get the Liquid code of a specific snippet

ParameterTypeDescription
snippet_id *stringThe ID of the snippet to retrieve

get_quota

Get current quota and plan information for the account

get_user_info

Get complete user account information including personal details, plan, and settings