Pdfmonkey MCP for AI Agents

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

Tool to create a document and wait for generation to finish.

Create Template

Creates a new PDF document template in PDFMonkey.

Delete Document

Tool to delete a Document by its ID.

Delete PDFMonkey Document Template

Tool to delete 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

Tool to list workspaces (applications).

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

Tool to download a publicly shared PDF via its permanent share link.

SETUP GUIDE

Connect Pdfmonkey MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK and Claude Agent SDK
2

Create Tool Router Session

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

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
Initialize the Composio client and create a Tool Router session
3

Connect to AI Agent

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

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'Create a new PDF document from my invoice template' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent
SETUP GUIDE

Connect Pdfmonkey API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

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

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Pdfmonkey Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Generate an invoice PDF from client order data'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Pdfmonkey actions with your Agent

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
FAQ

Frequently asked questions

Yes, Pdfmonkey requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Pdfmonkey.It takes 30 seconds.

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

Start building