# PDFGate

> PDFGate is an MCP server for files and documents. PDFGate tools for AI assistants: generate and process PDFs and run e-signatures. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Free trial
- **Platforms:** API, Web, Self-hosted
- **Website:** https://pdfgate.com
- **Repository:** https://github.com/pdfgate/pdfgate-mcp-server
- **MCP Registry name:** com.pdfgate/mcp-server
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-21

## About

This is the MCP front end to the PDFGate API, available both as an npm package that runs locally with a PDFGATE_API_KEY and as a hosted endpoint at mcp.pdfgate.com. The hosted endpoint supports OAuth sign-in for clients such as Claude and ChatGPT, or an X-API-KEY header, where live_ keys use production and test_ keys use the sandbox.

Tools fall into three groups. PDF operations generate a PDF from a URL or raw HTML, upload and download documents, flatten forms, extract form data, add form fields, compress, password-protect and watermark. E-signature tools create, send, check, void and delete signing envelopes and make short-lived embedded signing links. Recipient tools store and manage reusable signers.

PDFGate's pricing page lists plans from Personal to Enterprise with a 14-day trial, conversion allowances, overage prices and a separate count for digital signatures, which are charged only when successfully signed.

## Features

- **HTML and URL to PDF:** Generates PDFs from a URL or raw HTML.
- **PDF processing:** Flattens, compresses, encrypts and watermarks files.
- **Form handling:** Adds fillable fields and extracts submitted form data.
- **E-signature envelopes:** Creates, sends, voids and deletes signing envelopes.
- **Embedded signing:** Produces short-lived signing links for embedded recipients.
- **Stored recipients:** Keeps signers for reuse across envelopes.

## Good for

- Generate an invoice PDF from HTML
- Send a contract for signature from a chat
- Extract field values from filled PDF forms
- Watermark and password-protect a report

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp-server https://mcp.pdfgate.com/server
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.pdfgate.com/server
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.pdfgate.com/server"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mcp.pdfgate.com/server"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "serverUrl": "https://mcp.pdfgate.com/server"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.pdfgate.com/server
```

Enter a Name (for example "PDFGate"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `generate_pdf`: Generates a PDF from a URL or HTML.
- `upload_file`: Uploads a PDF from disk or a URL.
- `get_document`: Gets document metadata and a download URL.
- `download_file`: Downloads the raw PDF bytes.
- `delete_document`: Deletes a document.
- `flatten_pdf`: Flattens an interactive PDF.
- `extract_form_data`: Extracts form field values.
- `add_form_fields`: Adds interactive form fields.
- `compress_pdf`: Compresses a PDF.
- `protect_pdf`: Encrypts a PDF with a password and permissions.
- `watermark_pdf`: Applies a text or image watermark.
- `create_envelope`: Creates a signing envelope.
- `send_envelope`: Sends an envelope to recipients.
- `get_envelope`: Gets envelope status.
- `void_envelope`: Voids an envelope.
- `delete_envelope`: Deletes an envelope and its signed documents.
- `create_embed_link`: Creates a short-lived embedded signing link.
- `create_recipient`: Stores a reusable recipient.
- `list_recipients`: Lists stored recipients by email.
- `get_recipient`: Retrieves a recipient by ID.
- `update_recipient`: Updates a recipient.
- `delete_recipient`: Deletes a recipient.

## FAQ

### How do I authenticate?

Use OAuth on the hosted server, or an API key in PDFGATE_API_KEY or the X-API-KEY header.

### Is there a test mode?

Yes. test_ keys use the sandbox and live_ keys use production.

### Is there a free trial?

The pricing page says every plan comes with a 14-day trial.

### Do I need to run anything locally?

No. A hosted endpoint is available at mcp.pdfgate.com/server.

### How do I add PDFGate to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-server https://mcp.pdfgate.com/server

### What are the best alternatives to PDFGate?

The closest alternatives to PDFGate are pdfnative MCP — PDF generation, PAdES signing & introspection, html2pdfconverter, pdf.net, Pdfops MCP and Zsign.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [pdfnative MCP — PDF generation, PAdES signing & introspection](https://ai-powered.com/mcp/pdfnative-mcp-pdf-generation-pades-signing-and-introspection): pdfnative MCP — PDF generation, PAdES signing & introspection is an MCP server for files and documents.
- [html2pdfconverter](https://ai-powered.com/mcp/html2pdfconverter): html2pdfconverter is an MCP server for files and documents.
- [pdf.net](https://ai-powered.com/mcp/pdf-net): pdf.net is a free MCP server for files and documents.
- [Pdfops MCP](https://ai-powered.com/mcp/pdfops-mcp): Pdfops MCP is a freemium MCP server for files and documents.
- [Zsign](https://ai-powered.com/mcp/zsign): Zsign is a paid MCP server for files and documents.
- [SimplePDF](https://ai-powered.com/mcp/simplepdf): SimplePDF is a freemium MCP server for files and documents.
- [Htmlpdf Transform Mcp](https://ai-powered.com/mcp/htmlpdf-transform-mcp): Htmlpdf Transform Mcp is a freemium MCP server for files and documents.
- [HuntPDF - PDF Tools](https://ai-powered.com/mcp/huntpdf-pdf-tools): HuntPDF - PDF Tools is a free MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/pdfgate
