• READY
  • MAPPED
  • MONITORED
  • HUMAN

How to generate PDFs from JSON with your AI

Connect PDFMonkey to your agent to turn raw data into formatted documents. Once connected, your AI handles the mapping and generation.

Ask AI about this page

Short answer

How can I turn JSON into a PDF using my AI?

Your AI pulls your existing HTML/CSS templates from PDFMonkey and injects your JSON payloads into them. It then triggers the generation and monitors the status until the file is ready. You get a finished document mapped directly from your structured data.

The outcomes.

Where your data ends up.

Your AI manages the document lifecycle from data to file.

READY

Finished documents

The AI completes the generation process and provides you with the final PDF details once the file is ready.

MAPPED

Template selection

Your agent identifies the right HTML/CSS template from your PDFMonkey account to use for the specific data you provide.

MONITORED

Status tracking

The AI watches the generation progress so you don't have to manually check if the PDF is finished.

HUMAN

Template design

You still need to create and manage your HTML/CSS templates in PDFMonkey, as the AI only fills them with data.

The workflow

What your AI does when the data arrives.

The AI acts as the bridge between your raw data and the PDFMonkey engine.

  1. Find templates

    The AI looks through your PDFMonkey account to find the specific HTML/CSS layout you want to use.

    list_templates
  2. Fetch layout

    Once it finds the right one, the AI retrieves the specific template details to ensure the data fits the structure.

    get_template
  3. Create PDF

    The AI sends your JSON payload to the template to trigger the actual document creation.

    generate_pdf
  4. Verify completion

    The AI checks the status of the job and grabs the final file information once the PDF is ready.

    check_pdf_statusget_pdf_details

Try it

Copy these to start.

Use these prompts to kick off the process.

Starting points

Replace the bracketed text with your actual template names or data sources.

PDFMonkey Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_n5z8A3N56SHXzf86xG1zO07xGTCJKGxIPoZNmEaB/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — PDFMonkey capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "pdfmonkey-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_n5z8A3N56SHXzf86xG1zO07xGTCJKGxIPoZNmEaB/mcp"
    }
  }
}
Copy into chat04
  • List my PDFMonkey templates so I can see what's available.

  • Use the 'Invoice_Template' to generate a PDF using this JSON: [insert JSON].

  • Check the status of my last PDF generation job to see if it's done.

  • Get the details for the PDF I just generated so I can download it.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect PDFMonkey once, then ask.

You only need to link your account once. Your credentials stay encrypted and secure, and you can immediately start asking your AI to build documents.

Connect PDFMonkey to your AI

FAQ

How this task behaves.

  • 01

    Can the AI design the PDF layout for me?

    No. You must create the HTML/CSS templates in PDFMonkey yourself. The AI only injects data into them.

  • 02

    Can the AI delete my existing templates?

    No. The available tools only allow the AI to list, get, and generate PDFs. It cannot modify or delete your templates.

  • 03

    How does the AI know which template to use?

    You tell the AI which template name to use, or it can list your templates to find the correct one.

  • 04

    Does the AI wait for the PDF to finish?

    Yes, the AI can check the status of a generation job to confirm when the file is ready for you.

  • 05

    Can I send images through the JSON?

    Yes, as long as your HTML/CSS template is set up to handle image URLs provided in your JSON payload.

  • More questions about PDFMonkey? The Connector page answers them. See everything the PDFMonkey Connector can do

Connect PDFMonkey to Claude, Cursor, ChatGPT & more