mcpField
P
PDFGate

PDFGate

Remote
pdfgate.comProductivity0Updated 5w ago

About PDFGate

PDFGate is an MCP server for assistants that need to create and manage PDFs or handle electronic signatures through the PDFGate API. It offers local and hosted connection options, with OAuth or API-key authentication for the hosted endpoint.

Key features

  1. 01Generate PDFs from URLs or HTML
  2. 02Upload, retrieve, and process documents
  3. 03Add form fields, compression, protection, and watermarks
  4. 04Create and manage signature envelopes
  5. 05Manage recipients and webhooks

Use cases

  1. 01Generate a PDF from a webpage or HTML
  2. 02Prepare PDFs for signing and send them to recipients
  3. 03Track signature events through webhooks

MCP support

Exposes PDF generation, document processing, e-signature, recipient, and webhook tools to MCP clients. The hosted endpoint supports Streamable HTTP with OAuth or an API key; received webhook events are available as an MCP resource.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mcp.pdfgate.com/server
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

All endpoints
Streamable HTTPhttps://mcp.pdfgate.com/serverAuth required
Packages
npm@pdfgate/mcp-server1.4.0

Tools

17
ParameterTypeRequiredDescription
urlstringNoPublic URL to render as PDF
htmlstringNoRaw HTML string to render as PDF
pageSizeTypeenumNoPage size (default: a4)a0 | a1 | a2 | a3 | a4 | a5 | a6 | ledger | tabloid | legal | letter
orientationenumNoPage orientation (default: portrait)portrait | landscape
marginTopstringNoTop margin e.g. '10mm'
marginBottomstringNoBottom margin
marginLeftstringNoLeft margin
marginRightstringNoRight margin
headerstringNoHTML string for the page header
footerstringNoHTML string for the page footer
printBackgroundbooleanNoPrint background graphics (default: true)
waitForNetworkIdlebooleanNoWait for network idle before rendering
javascriptstringNoJavaScript to inject before rendering
cssstringNoCSS to inject before rendering
emulateMediaTypeenumNoscreen | print
enableFormFieldsbooleanNoEnable interactive PDF form fields from HTML
preSignedUrlExpiresInintegerNoPre-signed download URL expiry in seconds (60–86400)
metadataobjectNoCustom metadata to attach

Details

From the project README

PDFGate MCP Server

Model Context Protocol (MCP) server for the PDFGate API. Enables AI assistants to generate PDFs, manage documents and handle e-signatures.

Installation

Add the following to your MCP client configuration:

{
  "mcpServers": {
    "pdfgate": {
      "command": "npx",
      "args": ["-y", "@pdfgate/mcp-server"],
      "env": {
        "PDFGATE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Hosted server (remote)

If you prefer not to run anything locally, we also host the MCP server, so you can connect straight to it — no npx, no local process. Point any client that supports remote (Streamable HTTP) MCP servers at:

https://mcp.pdfgate.com/server

You can authenticate in two ways.

Option 1 — OAuth

For clients that support remote MCP servers with OAuth (such as Claude and ChatGPT), add the server by its URL alone and sign in through your browser. There is no key to copy or store: the client registers itself, sends you to the PDFGate dashboard to approve access, and receives a scoped token automatically.

{
  "mcpServers": {
    "pdfgate": {
      "type": "http",
      "url": "https://mcp.pdfgate.com/server"
    }
  }
}

Many clients let you add this from their UI instead of a config file — for example, in Claude: Settings → Connectors → Add custom connector, then enter the URL above. OAuth sessions run against your production account; for the sandbox, use an X-API-KEY with a test_ key.

Option 2 — API key

Pass your key in the X-API-KEY header:

{
  "mcpServers": {
    "pdfgate": {
      "type": "http",
      "url": "https://mcp.pdfgate.com/server",
      "headers": {
        "X-API-KEY": "your_api_key_here"
      }
    }
  }
}

live_ keys use production and test_ keys use the sandbox — the environment is selected automatically from the key.

The hosted server provides the full PDFGate toolset (PDF generation, processing, form fields, e-signatures and webhooks). The exact client config field names (e.g. type / transport, headers) may vary by MCP client.

Getting an API key

Sign up at pdfgate.com to get your API key.

  • Keys starting with live_ connect to the production environment
  • Keys starting with test_ connect to the sandbox environment

Tools

PDF Operations
ToolDescription
generate_pdfGenerate a PDF from a URL or raw HTML
upload_fileUpload a local PDF file or from a URL
get_documentRetrieve document metadata and a fresh download URL
download_fileDownload the raw PDF bytes of a stored document
delete_documentDelete a document
flatten_pdfFlatten an interactive PDF into a static, non-editable file
extract_form_dataExtract form field values from a fillable PDF
add_form_fieldsAdd interactive form fields to a PDF (placeholder tags or explicit positions)
compress_pdfCompress a PDF to reduce file size
protect_pdfEncrypt a PDF with a password and permission restrictions
watermark_pdfApply a text or image watermark to a PDF
E-Signatures
ToolDescription
create_envelopeCreate a signing envelope from one or more documents
send_envelopeSend a created envelope to recipients
get_envelopeGet the current status of an envelope
void_envelopeVoid an envelope so it can no longer be signed
delete_envelopeDelete an envelope and remove its signed documents
create_embed_linkCreate a short-lived signing link for an embedded recipient
Recipients
ToolDescription
create_recipientStore a recipient for reuse across envelopes
list_recipientsList stored recipients by email
get_recipientRetrieve a stored recipient by ID
update_recipientUpdate a stored recipient's name or metadata
Webhook Management
ToolDescription
create_webhookSubscribe to PDFGate events
get_webhookRetrieve a webhook subscription by ID
delete_webhookRemove a webhook subscription

Webhook Triggers

The server listens for incoming PDFGate events on port 3599 by default. To receive events:

  1. Expose port 3599 to the internet (e.g. via ngrok)
  2. Use the create_webhook tool to register your public URL

Supported events:

EventDescription
envelope.sentSigning request emails have been dispatched to recipients
envelope.completedAll documents in the envelope have been signed
envelope.expiredThe envelope expired before all documents were signed
envelope.document.completedA single document inside the envelope has been fully signed
envelope.recipient.signedA recipient has signed a document in the envelope
envelope.voidedThe envelope was voided by the sender
envelope.deletedThe envelope was deleted

Received events are available via the pdfgate://events MCP resource and pushed to the client in real time.

Environment variables

VariableRequiredDefaultDescription
PDFGATE_API_KEYYes—Your PDFGate API key
PDFGATE_WEBHOOK_PORTNo3599Port for the webhook listener

smithery badge

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.