mcpField
C
CastPDF

CastPDF

Local
castpdf.comProductivity

About CastPDF

CastPDF MCP server connects AI agents to CastPDF for template-based or HTML PDF creation, EU e-invoicing, and document lookup. It defaults to watermarked test documents, while live documents require an explicit request.

Key features

  1. 01List templates and expected fields
  2. 02Create PDFs from templates or HTML
  3. 03Issue ZUGFeRD and Factur-X PDFs
  4. 04Create XRechnung XML invoices
  5. 05List and retrieve documents

Use cases

  1. 01Preview a PDF using a test document
  2. 02Generate a PDF from HTML or template data
  3. 03Issue structured EU e-invoices
  4. 04Check document status and download links

MCP support

The MCP server exposes CastPDF template, PDF creation, e-invoice, and document lookup tools to MCP clients. It supports stdio and Streamable HTTP transports.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"castpdf-castpdf": {
"command": "npx",
"args": [
"-y",
"@castpdf/mcp"
],
"env": {
"CASTPDF_API_KEY": "<CASTPDF_API_KEY>"
}
}
}
}
Run commandnpx -y @castpdf/mcp
Environment variables to set
CASTPDF_API_KEYSecretYour CastPDF API key (cpdf_test_... for watermarked test documents, cpdf_live_... for live ones).

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@castpdf/mcp0.1.0

Tools

6

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
limitintegerNo1 to 100, default 50.
offsetintegerNoTemplates to skip, for paging.

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.