MCP server for Dynamic Document API: PDFs, images and e-invoices from templates and JSON.
125
Turn templates and JSON into PDFs, images and e-invoices from AI agents: Claude, ChatGPT, Cursor, VS Code and any other client that speaks the Model Context Protocol.
Dynamic Document API is a REST API that renders documents from versioned templates, in the EU. This image runs its MCP server locally, over stdio, with your API key. Full guide: MCP server documentation.
dda_test_…) keeps every render free and watermarked.Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and most other clients:
{
"mcpServers": {
"dynamic-document-api": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "DYNAMIC_DOCUMENT_API_KEY", "franko727/mcp"],
"env": { "DYNAMIC_DOCUMENT_API_KEY": "dda_test_…" }
}
}
}
Claude Code:
claude mcp add dynamic-document-api --env DYNAMIC_DOCUMENT_API_KEY=dda_test_… -- docker run -i --rm -e DYNAMIC_DOCUMENT_API_KEY franko727/mcp
No Docker? The hosted server needs nothing installed: add https://mcp.dynamicdocumentapi.com/mcp as a remote MCP server and sign in.
| Tool | What it does |
|---|---|
list_templates | The workspace's published templates, filtered by type or name |
get_template_schema | The data a template expects: JSON Schema, field list, example payload |
render_pdf_from_template | A PDF from a template and JSON data, optionally a hybrid e-invoice (Factur-X, ZUGFeRD, XRechnung) |
render_image_from_template | A PNG, JPEG or WebP from an image template |
render_pdf_from_html | A PDF from HTML and CSS |
render_pdf_from_markdown | A PDF from Markdown with a built-in theme |
create_einvoice | A validated e-invoice XML (EN 16931, XRechnung, Factur-X / ZUGFeRD) |
get_render | A render's status and fresh download links |
merge_pdfs | One PDF from 2–200 PDFs |
| Variable | Default | |
|---|---|---|
DYNAMIC_DOCUMENT_API_KEY | Your API key, required | |
DYNAMIC_DOCUMENT_API_REGION | eu | Region of the API |
DYNAMIC_DOCUMENT_API_MCP_TIMEOUT_MS | 30000 | Time limit of one API call |
Pass further variables with another -e NAME in args and the value in env.
--read-only works.linux/amd64 and linux/arm64 (Intel and Apple silicon).Content type
Image
Digest
sha256:4bc93ff7f…
Size
98.6 MB
Last updated
4 days ago
docker pull franko727/mcp