PDFMonkey MCP Server
OfficialThis MCP server lets AI assistants interact with PDFMonkey through the API to inspect resources and generate PDF documents.
List workspaces, templates, snippets, documents, quota/plan, and user account details.
Retrieve template HTML/CSS/sample data and Liquid snippet code.
Generate PDFs from existing templates with payload data plus optional metadata, TTL, filename, or workspace targeting, polling until complete.
Check document generation status and download URLs, list/filter documents, and permanently delete documents.
Use built-in prompts for formatted template lists, document status views, invoice generation, and workspace overviews.
Note: it works only with existing templates; it cannot create or edit templates.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PDFMonkey MCP Server Generate a PDF from my invoice template with the latest order data."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PDFMonkey MCP Server
The official Model Context Protocol (MCP) server for PDFMonkey. It lets AI assistants such as Claude, Cursor or any other MCP client list your templates, generate documents and check your quota through the PDFMonkey API.
Runs locally over stdio, with your API key
Listed in the MCP Registry as
io.github.pdfmonkey/pdfmonkey-mcpDocumentation: pdfmonkey.io/docs/integrations/mcp
The MCP server works with existing templates: it can read them but not create or edit them. To let an agent build and preview templates, use the PDFMonkey CLI.
Get your API key
Sign up at dashboard.pdfmonkey.io/register, then copy your API key from your account page.
Related MCP server: mcp-server-pdfnoodle
Setup
The server needs Node.js 18 or later and reads your key from the PDFMONKEY_API_KEY environment variable.
Claude Code
claude mcp add pdfmonkey -e PDFMONKEY_API_KEY=your-api-key -- npx -y pdfmonkey-mcp-serverClaude Desktop, Cursor and other clients
Add this to your client’s MCP configuration (claude_desktop_config.json for Claude Desktop, .cursor/mcp.json for Cursor):
{
"mcpServers": {
"pdfmonkey": {
"command": "npx",
"args": ["-y", "pdfmonkey-mcp-server"],
"env": {
"PDFMONKEY_API_KEY": "your-api-key"
}
}
}
}Claude Desktop’s configuration file lives in ~/Library/Application Support/Claude/ on macOS and %APPDATA%\Claude\ on Windows.
Docker
No image is published yet, so build it locally:
docker build -t pdfmonkey-mcp-server .{
"mcpServers": {
"pdfmonkey": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "PDFMONKEY_API_KEY", "pdfmonkey-mcp-server"],
"env": {
"PDFMONKEY_API_KEY": "your-api-key"
}
}
}
}See DOCKER-MCP-TOOLKIT.md to use it with the Docker MCP Toolkit.
Tools
Tool | What it does |
| List the workspaces your API key can access |
| List the templates of a workspace |
| Get a template’s HTML, CSS and sample data |
| Generate a document and wait for it (polls every 1.5 s, up to 3 minutes) |
| Check a document’s status and get its download URL |
| List documents, filtered by status, template or update time |
| Delete a document permanently |
| List the Liquid snippets of a workspace |
| Get a snippet’s code |
| Get your quota and plan |
| Get your account details |
The server also exposes four prompts: list-templates-formatted, show-documents-status, generate-invoice and workspace-overview.
Good to know:
Download URLs expire after one hour. Download the file right away, or use a share link (Pro+ and Premium plans).
If a generation takes longer than 3 minutes, call
get_document_statuslater with the document ID.
Example
You: Generate an invoice for ACME with my invoice template.
Claude: [calls list_templates, then generate_document]
Your invoice is ready: https://…Development
npm install
npm run build # compile to dist/
npm test # run the test suite
npm run watch # rebuild on changeTo try the server against the real API:
PDFMONKEY_API_KEY=your-api-key npm startTroubleshooting
“PDFMONKEY_API_KEY environment variable is required”: the key is missing from your client configuration.
401 errors: the key is wrong or was regenerated. Copy it again from your account page.
Docker container exits immediately: run it with
-i, MCP talks over stdin.
Resources
Questions about the server? Open an issue. Questions about PDFMonkey itself? Contact us.
License
MIT, see LICENSE.
Available Tools
11 toolsdelete_documentA
Permanently delete a document and its generated PDF
Inputs: document_id (required).
generate_documentA
Generate a PDF document from a template with provided data. This uses async generation with automatic polling until completion. Returns the download URL when ready. Optionally target a specific workspace with workspace_id.
Inputs: payload (required), template_id (required), ttl, meta, +2 more.
get_document_statusB
Check the generation status of a document and get its download URL if ready
Inputs: document_id (required).
get_quotaA
Get current quota and plan information for the account
Inputs: no named parameters.
get_snippetA
Get the Liquid code of a specific snippet
Inputs: snippet_id (required).
get_templateA
Get detailed information about a specific template including HTML, CSS, and sample data
Inputs: template_id (required).
get_user_infoA
Get complete user account information including personal details, plan, and settings
Inputs: no named parameters.
list_documentsA
List documents with optional filtering by status, template, or update time
Inputs: page, status, template_id, updated_since.
list_snippetsA
List all reusable Liquid code snippets in the workspace
Inputs: no named parameters.
list_templatesA
List all PDF templates available in the workspace. Optionally scope the listing to a specific workspace with workspace_id.
Inputs: workspace_id.
list_workspacesA
List all PDFMonkey workspaces accessible with the current API key
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool maps to a distinct resource/action, and the list/get/generate/delete separation is clear. The only mild overlap is get_quota and get_user_info, since both mention plan information, but their primary purposes remain distinguishable.
All tool names use lowercase snake_case with a consistent verb_noun convention: get_, list_, generate_, and delete_. Singular and plural nouns are used sensibly to distinguish individual resources from collections.
With 11 tools, the surface covers account, workspace, template, snippet, and document concerns without feeling bloated. Each tool contributes meaningfully to the PDF generation workflow.
The document generation lifecycle is covered end-to-end: list/get templates, generate, poll status, list documents, and delete. However, templates and snippets are read-only, with no create/update/delete operations, which is a notable gap if the server is meant to fully manage PDFMonkey resources.
Maintenance
Related MCP Connectors
Generate and read PDFs for AI agents: a generate_pdf and a read_pdf tool, priced per document.
PDF tools for AI agents: fill, merge, edit, read text and tables, create, protect and invoice PDFs.
Generate PDFs and images with APITemplate.io from templates, HTML, Markdown or a URL.
Generate PDFs and images from CraftMyPDF templates; read templates, versions and usage.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to DocuJSON for PDF generation, template management, and API operations via natural language. It enables tasks like creating invoices, managing templates, and viewing usage stats through MCP-compatible tools.8 npmMIT

mcp-server-pdfnoodleofficial
AlicenseNot gradedqualityDmaintenanceEnables AI assistants to generate PDF documents from templates or raw HTML using natural language, with tools for template creation, PDF generation, and utility operations.18 npm1MIT
PDFGate MCP Serverofficial
AlicenseAqualityBmaintenanceEnables AI assistants to generate PDFs, manage documents, and handle e-signatures via the PDFGate API.27137 npmMIT- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to generate PDFs from templates using dynamic data, manage async PDF jobs, list templates, and check account credits and transaction history through natural language.58 npmMIT