Pdfmonkey MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Pdfmonkey MCP or direct API to generate PDFs, fill templates, manage documents, and send files through natural language.

Pdfmonkey logoPdfmonkey
Api Key

Pdfmonkey is a service for programmatic PDF document generation from templates. It streamlines creating, managing, and delivering professional PDFs at scale.

18 Tools

Try Pdfmonkey now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Pdfmonkey
Try asking
TOOLS

Supported Tools

Every Pdfmonkey action and event your agent gets out of the box.

Create Document

Tool to create a Document.

Create Document Sync

Creates a document using the synchronous generation endpoint and returns a DocumentCard.

Create Template

Create a reusable PDFMonkey document template with HTML/Liquid content and CSS styles for generating documents.

Delete Document

Permanently deletes a document and its generated file by ID.

Delete PDFMonkey Document Template

Permanently deletes a document template by ID.

Download Document File

Tool to download a generated PDF file via a presigned URL.

Get Current User

Tool to retrieve details about the currently authenticated user.

Get Document

Tool to fetch a Document by its ID.

Get DocumentCard

Tool to fetch a DocumentCard by ID.

Get Template by ID

Tool to fetch a Document Template by ID.

List DocumentCards

Tool to list DocumentCards.

List PDF Engines

Lists all available PDF rendering engines in PDFMonkey.

List Template Cards

List all document template cards for a workspace.

List Workspaces

Discover PDFMonkey workspaces (applications) available to the authenticated user.

Preview Template

Fetches the template preview viewer page from PDFMonkey's preview_url.

Update Document

Updates an existing PDFMonkey document's payload, metadata, template, or status.

Update Document Template

Tool to update a document template’s properties.

View Public Share Link

Check access to a PDFMonkey public share link or supplied direct download URL and return the resolved URL for client-side downloading.

SETUP GUIDE

Connect Pdfmonkey MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["pdfmonkey"],
  mcp: true,
});
Create a session scoped to Pdfmonkey and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Generate an invoice PDF from client order data",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Pdfmonkey request
SETUP GUIDE

Connect Pdfmonkey API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["pdfmonkey"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Pdfmonkey
3

Run Pdfmonkey tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Generate an invoice PDF from client order data" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Pdfmonkey tool calls through the session, and print the final answer

Why Use Composio?

AI Native Pdfmonkey Integration

  • Supports both Pdfmonkey MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for generating PDFs, managing templates, and delivering documents

Managed Auth

  • Secure API key storage and rotation—never hardcode sensitive credentials
  • Quickly connect and manage Pdfmonkey access for each user and environment
  • Centralized control for adding or revoking Pdfmonkey access

Agent Optimized Design

  • Tools structured for easy use by LLMs and AI agents
  • Detailed logs and error feedback so you always know what’s happening

Enterprise Grade Security

  • Granular RBAC—control which agents and users can generate or access PDFs
  • Scoped access ensures agents only touch the right templates and documents
  • Comprehensive audit trail for compliance and peace of mind

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Pdfmonkey.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Pdfmonkey tool your agent needs.Free to start.

Start building