PDF Generator API — Claude Code MCP server: what it does
Connects your coding assistant to PDF Generator API to build documents from templates, convert HTML, and edit forms.
no license 346 installs updated 2026-03-30
claude mcp add --transport http mcp-server https://mcp-server--pdf-generator-api.run.toolsWhat PDF Generator API does
This MCP server exposes tools to manage document workflows directly through PDF Generator API. The assistant can render PDFs from prebuilt templates with structured data, process bulk generation jobs, and convert raw HTML strings or public web pages into documents. It handles immediate base64 payloads as well as asynchronous generation jobs reporting back to callback endpoints.
Document manipulation tools cover text and image watermarking, file encryption, decryption, compression, accessibility tagging, and form field filling. Workspace and template lifecycle tools are also included, allowing models to inspect template schemas, promote versions, or spawn workspaces.
Updating an existing template replaces the entire layout configuration at once rather than merging fields. When documents are generated with public storage links, the platform retains them for 30 days before automatic deletion.
What it helps with
- render finished PDF files from templates using JSON payloads
- convert HTML snippets or public web pages into PDF format
- apply watermarks or password protection to existing documents
- inspect and populate form fields inside editable PDF files
- manage template versions and workspace setups programmatically
Example prompts for the agent
- Generate an invoice PDF using template ID 42 and customer data from
payload.json - Add a confidential watermark across all pages in
nda.pdf - Convert the markup in
summary.htmlinto a compressed PDF document
How to install PDF Generator API
Platform CLI: remote server
claude mcp add --transport http mcp-server https://mcp-server--pdf-generator-api.run.toolsPlatform CLI: remote server
codex mcp add pdf-generator-api --url https://mcp-server--pdf-generator-api.run.toolsConfig file
{
"mcpServers": {
"pdf-generator-api": {
"url": "https://mcp-server--pdf-generator-api.run.tools"
}
}
}Config file
{
"servers": {
"pdf-generator-api": {
"type": "http",
"url": "https://mcp-server--pdf-generator-api.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http pdf-generator-api https://mcp-server--pdf-generator-api.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about PDF Generator API
How to install PDF Generator API in Claude Code?
Run claude mcp add --transport http pdf-generator-api https://mcp-server--pdf-generator-api.run.tools in your terminal.
What does PDF Generator API MCP server do?
It lets your coding agent communicate with PDF Generator API to assemble documents, fill form fields, convert HTML, and manage workspaces.
How long are generated public document links valid?
Documents generated with the public URL setting remain in document storage for 30 days and are automatically deleted afterward.