Sign inSign up

franko727/mcp

By franko727

•Updated 4 days ago

MCP server for Dynamic Document API: PDFs, images and e-invoices from templates and JSON.

Image
Machine learning & AI
Developer tools
0

125

franko727/mcp repository overview

⁠Dynamic Document API MCP server

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⁠.

⁠Quick start

  1. Create an API key in the dashboard⁠ under Settings → API keys. A test key (dda_test_…) keeps every render free and watermarked.
  2. Add the server to your MCP client.

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.

⁠Tools

ToolWhat it does
list_templatesThe workspace's published templates, filtered by type or name
get_template_schemaThe data a template expects: JSON Schema, field list, example payload
render_pdf_from_templateA PDF from a template and JSON data, optionally a hybrid e-invoice (Factur-X, ZUGFeRD, XRechnung)
render_image_from_templateA PNG, JPEG or WebP from an image template
render_pdf_from_htmlA PDF from HTML and CSS
render_pdf_from_markdownA PDF from Markdown with a built-in theme
create_einvoiceA validated e-invoice XML (EN 16931, XRechnung, Factur-X / ZUGFeRD)
get_renderA render's status and fresh download links
merge_pdfsOne PDF from 2–200 PDFs

⁠Configuration

VariableDefault
DYNAMIC_DOCUMENT_API_KEYYour API key, required
DYNAMIC_DOCUMENT_API_REGIONeuRegion of the API
DYNAMIC_DOCUMENT_API_MCP_TIMEOUT_MS30000Time limit of one API call

Pass further variables with another -e NAME in args and the value in env.

⁠Image

  • Runs as an unprivileged user (UID 10001) and writes nothing, so --read-only works.
  • Built for linux/amd64 and linux/arm64 (Intel and Apple silicon).
  • Logs go to stderr; stdout carries only the protocol.

Tag summary

Content type

Image

Digest

sha256:4bc93ff7f…

Size

98.6 MB

Last updated

4 days ago

docker pull franko727/mcp