getdoc-mcp
v0.2.0
Published
MCP server for GetDoc — render PDFs, QR codes, and compliant Factur-X/ZUGFeRD e-invoices (EN 16931) from your AI assistant or agent.
Maintainers
Readme
getdoc-mcp
MCP server for GetDoc — render PDFs from your AI assistant or agent. Exposes four tools:
list_templates— the built-in templates and their data shapesrender_pdf— render a template + data (or raw HTML) to a PDFrender_qr— generate a scannable QR code (PNG or SVG) from any text/URLgenerate_einvoice— generate a compliant European e-invoice (Factur-X / ZUGFeRD): a PDF/A-3 with embedded EN 16931 XML, validated (EN 16931 Schematron + veraPDF PDF/A) before it is returned. Requires the GetDoc Compliance plan; returns both the PDF and thefactur-x.xml.
Setup
Get an API key at dashboard.getdoc.dev, then add the server to your MCP client.
Claude Desktop / Cursor / Windsurf (mcpServers in the config):
{
"mcpServers": {
"getdoc": {
"command": "npx",
"args": ["-y", "getdoc-mcp"],
"env": { "GETDOC_API_KEY": "gd_live_your_key" }
}
}
}VS Code (.vscode/mcp.json):
{
"servers": {
"getdoc": {
"command": "npx",
"args": ["-y", "getdoc-mcp"],
"env": { "GETDOC_API_KEY": "gd_live_your_key" }
}
}
}Then ask your assistant things like "list GetDoc templates", "render an invoice for order #1234 as a PDF", or "generate a Factur-X e-invoice for Acme GmbH, 10 hours of consulting at €100, 20% VAT" and it will call the tools.
Env
GETDOC_API_KEY(required) — your GetDoc keyGETDOC_BASE_URL(optional) — defaults tohttps://api.getdoc.dev
