Documentation

MCP Server

The PDFend MCP server lets Claude Desktop, Cursor, ChatGPT desktop, and any MCP-aware agent generate PDFs directly as a tool call.

Install

No install — run via npx:

bashexample
npx @pdfend/mcp-server

Claude Desktop configuration

Edit claude_desktop_config.json and add:

jsonexample
{
  "mcpServers": {
    "pdfend": {
      "command": "npx",
      "args": ["-y", "@pdfend/mcp-server"],
      "env": {
        "PDFEND_API_KEY": "pk_live_..."
      }
    }
  }
}

Tools exposed

  • generate_pdf — generate a PDF from raw HTML.
  • generate_pdf_from_template — render a stored template with data.
  • list_templates— show the account's templates.

Example prompt

textexample
Create a PDF invoice for Acme Corp for $1,250 due April 30, 2026.
Use our invoice-v1 template.

The agent calls generate_pdf_from_template, PDFend returns a URL, and the agent posts the URL back in chat.