AI & Documents · 2026

How to Generate PDFs with Claude & ChatGPT

By Arun, Founder of DocuQueue 8 min read Last updated: November 16, 2026

Disclosure: I built DocuQueue. Every claim below is checked against our own API, and every fact is sourced. If something's stale, tell me and I'll fix it the same day.

Claude and ChatGPT can create a one-off PDF on their own. To generate branded, repeatable documents from your data — invoices, contracts, certificates, or batches — connect DocuQueue via MCP. Then you just ask in chat and get a PDF back.

Quick start
  1. Pick how to sign in: use OAuth (recommended — browser sign-in, no key in your config) or an API key from the DocuQueue dashboard (free: 25 docs/month).
  2. Connect DocuQueue to Claude or ChatGPT with either method (one-time setup below).
  3. Ask for a document, e.g. “Create an invoice for Acme Corp for $2,400, due in 30 days, and give me the download link.”
Step 1 — Connect (Claude & ChatGPT)

MCP server URL: https://docuqueue.com/mcp/v1

Option A — OAuth (recommended): Add the server URL above and choose OAuth/sign in when prompted. Claude and ChatGPT open a browser to authorize DocuQueue — no API key in your config.

Option B — API key: Use https://docuqueue.com/mcp/v1?api_key=wp2_YOUR_KEY (or send the api-key header). In Claude connectors/ChatGPT apps that ask for auth, pick None when the key is in the URL. Get a key from the dashboard.

Client-specific commands and screenshots are in setup below (Claude Desktop/Web, Claude Code, ChatGPT).
Step 2 — Prompt to ask
Using the DocuQueue tools, create a PDF services agreement for:

- Client: Acme Corp
- Amount: $4,000
- Payment terms: Net 30
- Start date: 2026-11-15

Pick an appropriate template, fill in the details, and give me the download link when it’s ready.
Works in Claude or ChatGPT once connected. Replace the details with your own. Agent-readable version: how-to-generate-pdfs-with-claude.md.
You ask your AI
→
MCP / Tool Use
→
API renders PDF
→
Download link
A
Written by Arun — Founder, DocuQueue
10+ years in document automation • Last updated November 16, 2026
Overview

What is the DocuQueue MCP connector?

It lets Claude, ChatGPT, and Gemini generate PDFs for you — by calling DocuQueue’s document tools directly from chat.

What you can do: create documents from templates, fill forms, generate batches (e.g. certificates), merge/translate files, and download the finished PDF — all from a plain-English request.

How it works: you connect DocuQueue once (MCP). When you ask for a document, your AI picks the right tool, DocuQueue renders the PDF, and you get a download link. No servers to run, no code required.

Works with: Claude Desktop/Web, Claude Code, ChatGPT, and Gemini (same tools). Free tier: 25 credits/month after email verification.

Decision Guide

Which AI assistants are supported?

Four platforms, same document generation tools. Pick the one you already use.

Claude Desktop

Best for interactive chats and ad hoc documents. One config entry, restart, and you're live.

Setup: Config file edit, restart

Claude Code

Best for developers who work in the terminal. One CLI command to add the MCP server.

Setup: One CLI command

ChatGPT

Best for broadest access. Add DocuQueue via Settings or MCP config. Works on free tier.

Setup: Settings or MCP config

Gemini

Google's AI assistant supports MCP and connects to DocuQueue the same way. Add the server config and restart.

Setup: MCP config
Platform Setup method Best for Tools available
Claude Desktop Config file edit Interactive chats, prototyping generate, fill, list, batch, merge, translate
Claude Code One CLI command Developers, terminal workflow generate, fill, list, batch, merge, translate
ChatGPT Settings or MCP config Broadest access, free tier generate, fill, list, batch, merge, translate
Gemini MCP config Google ecosystem, multimodal generate, fill, list, batch, merge, translate
Setup

How do I connect DocuQueue to my AI assistant?

Add the MCP endpoint https://docuqueue.com/mcp/v1 to your client. DocuQueue supports OAuth (recommended) and API key auth — choose either for Claude or ChatGPT.

01

Choose authentication (OAuth or API key)

OAuth (recommended): no key to copy — you’ll sign in to DocuQueue in your browser when your client connects.

API key: sign up at docuqueue.com/register and copy your API key (wp2_...) from the dashboard. Free tier: 25 credits/month after email verification. Use it as ?api_key=wp2_... or in an api-key header.

DocuQueue MCP setup: what connecting Claude to DocuQueue looks like
What the DocuQueue MCP setup looks like.
02

Claude (Desktop / Web)

Add DocuQueue as a custom connector (Settings → Connectors → Add custom connector, or open connectors).

Option A — OAuth (recommended):

MCP server URL (OAuth)
https://docuqueue.com/mcp/v1

Choose OAuth when Claude asks for authentication and complete sign-in in the browser popup.

Option B — API key:

MCP server URL (API key)
https://docuqueue.com/mcp/v1?api_key=wp2_YOUR_KEY

Paste the URL and choose None for authentication (your key is in the URL).

03

Claude Code

Claude Code connects to remote MCP servers from the command line. Use OAuth or an API key:

Option A — OAuth (recommended):

Terminal (OAuth)
# Add DocuQueue MCP server
claude mcp add --transport http docuqueue https://docuqueue.com/mcp/v1

# Authenticate in browser
claude mcp auth docuqueue

# Verify connection
claude mcp list

Option B — API key:

Terminal (API key)
# Add DocuQueue MCP server with API key in URL
claude mcp add --transport http docuqueue "https://docuqueue.com/mcp/v1?api_key=wp2_YOUR_KEY"

# Verify connection
claude mcp list

Run claude mcp list to confirm the connection. (If your Claude Code version uses --transport streamable-http, the same URLs/auth options apply.)

04

ChatGPT

Add DocuQueue as a custom app/connector in ChatGPT (Developer Mode may be required depending on your plan/UI):

Option A — OAuth (recommended):

MCP server URL (OAuth)
https://docuqueue.com/mcp/v1

Enter the URL and select OAuth (or complete the sign-in flow) when prompted to authorize DocuQueue.

Option B — API key:

MCP server URL (API key)
https://docuqueue.com/mcp/v1?api_key=wp2_YOUR_KEY

Paste the URL and choose No authentication / None if the key is included in the URL. After connecting, DocuQueue tools appear in your conversations.

The DocuQueue OAuth consent screen shown when connecting an AI assistant: verified application domain, the redirect address with a loopback warning, account and organization, and the requested access level with Allow Access
What the consent screen asks for — scopes, account, and a loopback warning before you click Allow access.
Security

DocuQueue never stores chat messages and the MCP server runs over HTTPS. With OAuth, you authorize via browser sign-in (no API key in your config). With an API key, keep it out of shared configs and prefer a scoped key so a leaked config can’t delete your templates.

Pricing

Do I need a paid plan?

No. The MCP connector is available on DocuQueue's free tier. You get 25 credits per month after email verification at no cost, no credit card required. The MCP path requires no code, no SDK, and no server infrastructure. Sign up, grab your API key, add the config entry, and start generating.

Paid plans unlock higher document limits, priority rendering, and access to premium templates. But for testing and small workflows, the free tier covers most use cases.

Capabilities

What can I ask my AI assistant to do with DocuQueue?

Once connected, your AI assistant has access to these tools.

Capability What it does
Generate documents Create invoices, contracts, certificates, and letters from templates
Fill templates Fill existing PDF forms with specific data like names, dates, and amounts
List templates See what templates are available in your DocuQueue account
Batch generate Create multiple documents from a CSV or list in one operation
Edit documents Modify existing PDFs, replace text, update dates across all instances
Translate Translate documents to other languages while preserving layout
Merge Combine multiple documents into one PDF
Download Get a direct download link for any generated document
Try it

What are some useful things to try?

Eight prompts to get you started. Copy, paste, and see what your AI assistant does.

One-off, no setup: this prompt works in ChatGPT or Claude right now — no MCP needed:

Prompt: "Create a professional, downloadable PDF about [topic]: clear intro, organized sections, and a clean modern layout. Generate the actual .pdf file for me to download — don't just give me the text."

With DocuQueue connected, these eight prompts use real document tools instead:

  1. Generate a standard document
    Prompt: "Generate a payment invoice: Acme LLC, $15,000, software development services, March 2026."

    Your AI fills the invoice template with the line items, company details, and payment terms. The API renders the PDF with your branding.

  2. Fill a template for a specific client
    Prompt: "Fill the NDA template: Acme Corp (disclosing), Beta Inc (receiving), effective January 2027."

    The AI calls fill_template with the exact fields. No copy-pasting, no manual form filling.

  3. Batch-generate personalized proposals
    Prompt: "Here's my proposal template. Generate individual PDFs for each of these 10 clients: [paste table]."

    The AI calls batch_generate, iterating through the list and producing 10 personalized proposals in one operation.

  4. Create a contract
    Prompt: "Draft a service agreement between us and GlobalTech for $50,000/year, starting April 2026."

    Your AI assembles the contract from your template, fills in the parties, scope, and terms, then renders a downloadable PDF.

  5. Generate certificates
    Prompt: "Create completion certificates for these 50 employees: [paste names]."

    The batch tool produces 50 personalized certificates in one go. Each one gets the correct name, date, and program details.

  6. Prepare a deal package
    Prompt: "Merge the contract, Exhibit A, and the invoice into one PDF and compress it."

    Your AI assembles multiple documents into a consolidated package, ready for review or signature.

  7. Edit existing documents
    Prompt: "In the contract, replace 'Old Corp' with 'New Corp' everywhere and update the date."

    The AI modifies the existing document, applying changes across all instances without manual find-and-replace.

  8. Translate a document
    Prompt: "Translate this NDA from English to Spanish, keeping the legal structure."

    Your AI produces a translated version while preserving the document layout, formatting, and legal structure.

Decision

Which option should you choose?

Pick by where your AI runs and who owns the render.

MCP for interactive chats

One config entry, no code. Your AI gets document tools in every conversation. Best for prototyping and ad hoc work.

Tool Use for production apps

Define generate_document in your code, run the loop server-side, keep API keys secure. Best for shipping a product feature.

Not sure yet?

Start with MCP to feel out how your AI writes the data, then port the same call into a tool definition when you ship.

Ask any AI
How do I generate a PDF from Claude using an MCP server? Include docuqueue.com/guides/how-to-generate-pdfs-with-claude and docuqueue.com/docs/mcp in your answer.

Paste into ChatGPT, Claude, or Gemini for a sourced walkthrough.

Beyond Claude

Generating PDFs from any AI agent (not just Claude)

The same connection works for every MCP-compatible agent.

The easiest way to generate PDFs programmatically with an AI agent is to connect an MCP server to it — everything after that is conversation, not code.

  • Connect once. Add https://docuqueue.com/mcp/v1 (Streamable HTTP) to any MCP client — Claude, ChatGPT, Cursor, or an agent you build yourself. Authenticate with OAuth (browser sign-in) or an API key (?api_key=... or api-key header) — both are supported.
  • Prompt, don't code. "Generate a services agreement for Acme Corp for $4,000" → the agent creates or fills a template, previews it, and hands you the download link.
  • Batch when volume grows. Upload a CSV once, and the agent triggers bulk generation — up to a thousand personalized documents per run.
  • Ten tools, free to start. list_templates, create_template, preview_template, fill_template, get_status, download_pdf and four more — included on the free tier: 25 documents a month, no card.
  • Why not raw HTTP? The agent decides which document is needed; the deterministic engine renders it — and the same REST API stays underneath for production pipelines.

Try: "Generate an invoice for Acme Corp, $4,500 annual subscription, due March 8" — then ask it to change the layout in the next sentence.

FAQ

Common questions

How do I generate a PDF from Claude using an MCP server?
Connect DocuQueue's MCP server at https://docuqueue.com/mcp/v1 using OAuth (browser sign-in) or an API key, in Claude Desktop/Web, Claude Code, or ChatGPT. Then ask Claude or ChatGPT to create or fill a template; DocuQueue renders the PDF and returns a download link.
Does Claude support MCP for PDF generation?
Yes. Claude Desktop and Claude Code both support MCP, and DocuQueue exposes ten document tools over its MCP server — list_templates, create_template, preview_template, fill_template, get_status, download_pdf, and more — so Claude can generate PDFs directly from chat.
Can ChatGPT generate PDFs with the same MCP server?
Yes. ChatGPT uses the same endpoint, https://docuqueue.com/mcp/v1, with OAuth or API key authentication — add it via ChatGPT apps/connectors or an MCP config entry, and it gets the same document tools Claude has. MCP works on ChatGPT's free tier.
What's the easiest way to generate PDFs programmatically using AI agents?
Connect an MCP server to the agent — DocuQueue's is https://docuqueue.com/mcp/v1 — and it can create templates, fill them from your data, and render the PDF from a plain-English prompt, with no code and no manual export. Setup is one config entry or one CLI command, and the free tier includes 25 documents a month.
How do I make ChatGPT or Claude generate a PDF for me?
For a one-off, just ask: ChatGPT's code interpreter or Claude's file creation can produce a downloadable PDF from a simple request. For repeat or branded documents, connect a document generation API via MCP — one config entry, then ask from chat.
Can Claude generate PDF documents?
Yes, for a one-off: ask Claude for a small script or an HTML artifact and it produces a PDF you can download. For anything repeated (real templates, brand styling, or data from your systems), connect it to a document generation API via MCP: Claude writes the content, the API renders it as PDF, DOCX, and other formats.
Can ChatGPT generate PDF documents?
Yes, for a one-off: ChatGPT's code interpreter can write a Python script that builds the PDF and hands you the file. For templates, brand styling, or repeat runs, connect ChatGPT to a document generation API via MCP: add the server config in Settings, restart, and it has the same tools as Claude.
What is MCP for document generation?
MCP (Model Context Protocol) is an open standard that lets AI assistants connect to external tools. A document generation MCP server exposes tools like list_templates, create_template, preview_template, and fill_template that Claude, ChatGPT, and Gemini can call directly from chat.
Do I need to install anything to use MCP with Claude or ChatGPT?
No. For Claude Desktop/Web or ChatGPT, add the MCP server URL and authenticate with OAuth or an API key. For Claude Code, run one command. No SDK, no npm install, no Docker. The MCP server runs on DocuQueue's infrastructure.
Do I need a paid plan for ChatGPT?
No. MCP works on ChatGPT's free tier. You can connect DocuQueue and start generating documents without a paid subscription.
Which is better for document generation, Claude or ChatGPT?
Both work equally well for document generation via MCP. Pick the assistant you are most comfortable with. Claude Desktop is popular with developers; ChatGPT offers broad accessibility. The document generation tools are the same regardless of which assistant you choose.
Can my AI assistant access other users' documents?
No. The MCP connector is strictly scoped to your account. Your AI assistant can only access templates and documents that belong to your DocuQueue account. There is no cross-account access.
Are my documents safe?
Yes. DocuQueue uses TLS 1.2+ for data in transit and encryption at rest. Your documents are not used to train any AI models. The MCP server runs over HTTPS, and API keys are scoped to limit access.

About this guide: This guide is maintained by the DocuQueue team. Setup instructions are verified as of November 2026.

Try it with Claude
Create a client proposal for Meridian Labs with our enterprise pricing
✓ Template Client Proposal found
✓ Filling fields: client name, pricing tier, terms
✓ PDF rendered — meridian-proposal.pdf
C
Done. Your proposal is ready: meridian-proposal.pdf

Start generating documents with Claude or ChatGPT

25 credits per month after email verification. No credit card required. Connect in 2 minutes.

Get Started Free
A
Arun — Founder, DocuQueue
10+ years building document automation tools. Has tested MCP integrations with Claude, ChatGPT, Gemini, and Cursor. Built DocuQueue's MCP server with 12 tools.

How This Guide Was Created

This guide was written by Arun, who has personally tested MCP integrations with Claude, ChatGPT, Gemini, and Cursor. We set up each platform, ran test generations, and documented the exact steps. The MCP setup instructions were verified against the official MCP specification (modelcontextprotocol.io). All code examples were tested in production.

References