# PDFMonkey [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/pdfmonkey/pdfmonkey-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 283  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pdfmonkey

## Description
Generate PDFs from templates using the PDFMonkey API

## Tools
Capabilities this server exposes over MCP:

- **list_workspaces** — List all PDFMonkey workspaces accessible with the current API key
- **list_templates** — List all PDF templates available in the workspace. Optionally scope the listing to a specific workspace with workspace_id.
- **get_template** — Get detailed information about a specific template including HTML, CSS, and sample data
- **generate_document** — 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.
- **get_document_status** — Check the generation status of a document and get its download URL if ready
- **list_documents** — List documents with optional filtering by status, template, or update time
- **delete_document** — Permanently delete a document and its generated PDF
- **list_snippets** — List all reusable Liquid code snippets in the workspace
- **get_snippet** — Get the Liquid code of a specific snippet
- **get_quota** — Get current quota and plan information for the account
- **get_user_info** — Get complete user account information including personal details, plan, and settings

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "pdfmonkey": {
    "command": "npx",
    "args": ["-y","pdfmonkey-mcp-server"],
    "env": {
      "PDFMONKEY_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `PDFMONKEY_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What PDFMonkey does

PDFMonkey MCP server exposes PDFMonkey account and document operations as MCP tools. An AI assistant can discover the workspaces available to an API key, inspect templates, supply data to generate a document, and retrieve the resulting download URL. It also provides read access to Liquid snippets and account-level information such as quota, plan, and user details.

The server works with templates that already exist in PDFMonkey. It can read a template's HTML, CSS, and sample data, but it does not create or modify templates. Template construction and preview workflows require the PDFMonkey CLI instead.

Four prompts are included for common workflows: `list-templates-formatted`, `show-documents-status`, `generate-invoice`, and `workspace-overview`.

## How it works

The server runs locally and communicates with an MCP client over standard input and output. Requests are sent to the PDFMonkey API using the API key configured in the client environment.

`generate_document` starts document generation and polls every 1.5 seconds, waiting for up to three minutes. For jobs that take longer, use `get_document_status` later with the document ID. Completed documents expose a download URL, but those URLs expire after one hour. Download the file promptly or use a share link when the PDFMonkey plan supports share links.

## Setup and configuration

Node.js 18 or later is required. Create a PDFMonkey account, copy an API key from the account page, and provide it through `PDFMONKEY_API_KEY`.

For Claude Code, register the server with:

```bash
claude mcp add pdfmonkey -e PDFMONKEY_API_KEY=your-api-key -- npx -y pdfmonkey-mcp-server
```

Other clients can use an MCP configuration with `npx -y pdfmonkey-mcp-server` as the command and `PDFMONKEY_API_KEY` in the environment. Claude Desktop stores its configuration under the Claude application-support directory on macOS or the application-data directory on Windows.

Docker usage requires a local image because a published image is not available. Build it with `docker build -t pdfmonkey-mcp-server .`, then run the container interactively with the API key passed through the environment.

## Tools and capabilities

The available tools cover these operations:

- List accessible workspaces and the templates within a workspace.
- Read a template's HTML, CSS, and sample data.
- Generate a document from a template and wait for the result.
- Check document status and obtain its download URL.
- List documents using status, template, or update-time filters.
- Permanently delete a document.
- List workspace Liquid snippets and retrieve individual snippet code.
- Check account quota, plan details, and user information.

The package can be installed and run through `npx`, or built from source with the repository's npm scripts. Local development includes build, test, watch, and start commands.

## Limitations and notes

Template editing is outside the server's scope: existing templates are readable but cannot be created or changed through these tools. Automatic waiting stops after three minutes, so longer generations need a later status check. Generated-file URLs expire after one hour. A missing or invalid `PDFMONKEY_API_KEY` causes startup or authentication errors, and Docker runs must keep stdin open because MCP uses standard input for communication.

_Full upstream README: https://allmcps.com/mcp/pdfmonkey/readme_

