Logo

PDFBlaze

PDFBlaze has an MCP server, so AI agents like Claude, Claude Code or Cursor can work with your templates. An agent can create a template, change its layout and data fields, look at the pages it renders, publish it and generate PDFs. It can also write the code your own system needs to call the template.

The server address is:

https://api.pdfblaze.com/mcp

Connecting

Most apps connect with your PDFBlaze account. Add the address as a custom connector or MCP server, and the app opens PDFBlaze in your browser to ask for access. After you allow it, the agent works in every workspace you belong to, with the same role you have there.

In Claude Code:

claude mcp add --transport http pdfblaze https://api.pdfblaze.com/mcp

Then run /mcp in Claude Code and pick PDFBlaze to sign in.

In Cursor, add it to mcp.json:

{
  "mcpServers": {
    "pdfblaze": { "url": "https://api.pdfblaze.com/mcp" }
  }
}

In Claude (web and desktop), add a custom connector in the connector settings and enter the address.

You can see the apps you connected on the account page and disconnect them there. A disconnected app loses access right away.

With an API token

Apps that run without a person signing in, like scripts or CI jobs, can use a workspace API token instead. Create one in the workspace settings and send it as a bearer token in the Authorization header. A token only reaches its own workspace.

claude mcp add --transport http pdfblaze https://api.pdfblaze.com/mcp \
  --header "Authorization: Bearer $PDFBLAZE_TOKEN"

What an agent can do

  • Templates: list, create (blank or from the invoice, quote and receipt presets), rename, duplicate and delete them.
  • Editing: change the draft step by step, for example insert a table, restyle a heading or add data fields. It can also replace the whole draft at once. Every change is checked right away, and problems come back to the agent like they show up in the editor.
  • Previews: render the pages as images, so the agent sees what it built and can fix what looks off.
  • Publishing: publish the draft as a new version, look at earlier versions and restore one into the draft.
  • PDFs: generate PDFs and get download links. Like every PDF they are made by jobs, so they show up in your activity.
  • Images and fonts: list, upload and delete them.
  • Integration: explain how to call a template from your system, with its data fields, an example payload and code for curl, JavaScript or Python.

Changes from an agent go into the template’s draft, the same draft you see in the editor. Your API only uses published versions, so nothing changes for your integrations until the template is published.

Staying in control

Agents ask before they do something that can’t be undone. Deleting a template, an image or a font needs an explicit confirmation from the agent, and asking to delete an image or font first tells it which templates still use it. Publishing is marked as a change to your live API, so most apps ask you before they do it.

An agent’s edits always apply to the latest draft. If you have the same template open in the editor, reload it to see what the agent changed. When you both edit at the same time, the editor stops saving and asks you to reload instead of overwriting the agent’s work.

Example prompts

  • “Make me an invoice template for my bakery with a green accent color and our logo at the top.”
  • “The items table on the Quote template is too cramped. Make the rows taller and right align the prices.”
  • “Add an optional notes field to the invoice and show it below the totals.”
  • “Publish the Receipt template and show me how to generate it from our Node.js backend.”