# com.pdfgate/mcp-server (npm · @pdfgate/mcp-server)

MCP server for the PDFGate API. Generate PDFs, manage documents and handle e-signatures.

- Trust score: 78/100 (medium)
- Change this week: +25
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@pdfgate/mcp-server`: 78/100 (this document), [markdown](https://verifymcp.io/servers/com-pdfgate-mcp-server/pdfgate-mcp-server.md), [page](https://verifymcp.io/servers/com-pdfgate-mcp-server/pdfgate-mcp-server)

## Channel facts

- Registry: `npm`
- Package: `@pdfgate/mcp-server`
- Version: `1.0.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 84/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to pdfgate/pdfgate-mcp-server).
  - License check failed: no license is declared.
  - Actively maintained (last published 50 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 82/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 1460 tokens (~97/item across 15 items; 14 tools + 1 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 99% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add com-pdfgate-mcp-server -- npx -y @pdfgate/mcp-server
```

### Codex

```bash
codex mcp add com-pdfgate-mcp-server -- npx -y @pdfgate/mcp-server
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "com-pdfgate-mcp-server": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@pdfgate/mcp-server"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add com-pdfgate-mcp-server --command npx --arg -y --arg @pdfgate/mcp-server
```

### Hermes

```yaml
mcp_servers:
  com-pdfgate-mcp-server:
    command: "npx"
    args: ["-y", "@pdfgate/mcp-server"]
```

### Other

```json
{
  "mcpServers": {
    "com-pdfgate-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@pdfgate/mcp-server"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 78, +52)

- [security improvement] Provenance: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] The attested source repository moved: pdfgate/pdfgate-mcp-server
- [functional regression] License: unverified → fail
- [functional regression] Schema quality: 100 → unverified
- [functional regression] Security disclosure: fail → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] Schema quality: unverified → good

### 2026-07-31 (score 26, −9)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 35, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 53)

First indexed and scored.

## MCP tools (14)

### `generate_pdf` (~274 tokens)

Generate a PDF from a URL or raw HTML. Provide either 'url' or 'html', not both.

Input parameters:

- `css` (string): CSS to inject before rendering
- `emulateMediaType` (string)
- `enableFormFields` (boolean): Enable interactive PDF form fields from HTML
- `footer` (string): HTML string for the page footer
- `header` (string): HTML string for the page header
- `html` (string): Raw HTML string to render as PDF
- `javascript` (string): JavaScript to inject before rendering
- `marginBottom` (string): Bottom margin
- `marginLeft` (string): Left margin
- `marginRight` (string): Right margin
- `marginTop` (string): Top margin e.g. '10mm'
- `metadata` (object): Custom metadata to attach
- `orientation` (string): Page orientation (default: portrait)
- `pageSizeType` (string): Page size (default: a4)
- `preSignedUrlExpiresIn` (integer): Pre-signed download URL expiry in seconds (60–86400)
- `printBackground` (boolean): Print background graphics (default: true)
- `url` (string): Public URL to render as PDF
- `waitForNetworkIdle` (boolean): Wait for network idle before rendering

### `upload_pdf` (~105 tokens)

Upload a PDF to PDFGate so it can be referenced by other operations. Provide either 'filePath' (local path) or 'url'.

Input parameters:

- `filePath` (string): Absolute local path to the PDF file to upload
- `metadata` (object): Custom metadata to attach
- `preSignedUrlExpiresIn` (integer): Pre-signed download URL expiry in seconds (60–86400)
- `url` (string): Publicly accessible URL of the PDF to upload

### `get_document` (~61 tokens)

Retrieve metadata for a stored PDFGate document by its ID.

Input parameters:

- `documentId` (string, required): The document ID
- `preSignedUrlExpiresIn` (integer): Generate a fresh pre-signed download URL expiring in this many seconds (60–86400)

### `delete_document` (~27 tokens)

Delete a PDFGate document.

Input parameters:

- `documentId` (string, required): The document ID to delete

### `flatten_pdf` (~81 tokens)

Flatten an interactive PDF into a static, non-editable PDF. Creates a new document; does not overwrite the original.

Input parameters:

- `documentId` (string, required): The source document ID to flatten
- `metadata` (object): Custom metadata to attach
- `preSignedUrlExpiresIn` (integer): Pre-signed download URL expiry in seconds (60–86400)

### `extract_pdf_form_data` (~47 tokens)

Extract form field values from a fillable PDF. Returns a JSON object mapping field names to their values.

Input parameters:

- `documentId` (string, required): The document ID of the fillable PDF

### `compress_pdf` (~94 tokens)

Compress/optimise a PDF to reduce file size without changing visual content.

Input parameters:

- `documentId` (string, required): The source document ID to compress
- `linearize` (boolean): Linearise the PDF to enable fast web view (first page renders sooner)
- `metadata` (object): Custom metadata to attach
- `preSignedUrlExpiresIn` (integer): Pre-signed download URL expiry in seconds (60–86400)

### `protect_pdf` (~175 tokens)

Encrypt a PDF with a password and optional permission restrictions. Produces a new document; the original is unchanged.

Input parameters:

- `algorithm` (string): Encryption algorithm (default: AES256)
- `disableCopy` (boolean): Prevent copying text
- `disableEditing` (boolean): Prevent editing
- `disablePrint` (boolean): Prevent printing
- `documentId` (string, required): The source document ID to protect
- `encryptMetadata` (boolean): Encrypt PDF metadata (default: false)
- `metadata` (object): Custom metadata to attach
- `ownerPassword` (string): Full-control owner password; required when using AES256 with a userPassword
- `preSignedUrlExpiresIn` (integer): Pre-signed download URL expiry in seconds (60–86400)
- `userPassword` (string): Password required to open the PDF

### `watermark_pdf` (~274 tokens)

Apply a text or image watermark to a PDF. For type='text' provide 'text'; for type='image' provide 'watermarkImagePath'.

Input parameters:

- `documentId` (string, required): The source document ID
- `font` (string): Standard PDF font name
- `fontColor` (string): Font colour as hex e.g. '#FF0000'
- `fontFilePath` (string): Local path to a .ttf/.otf font file (overrides 'font')
- `fontSize` (number): Font size in points
- `imageHeight` (number): Image watermark height
- `imageWidth` (number): Image watermark width
- `metadata` (object): Custom metadata to attach
- `opacity` (number): Opacity 0–1
- `preSignedUrlExpiresIn` (integer): Pre-signed download URL expiry in seconds (60–86400)
- `rotate` (number): Rotation in degrees (0–360)
- `text` (string): Watermark text (required when type='text')
- `type` (string, required): Watermark type
- `watermarkImagePath` (string): Local path to a .png/.jpg watermark image (required when type='image')
- `xPosition` (number): Horizontal position
- `yPosition` (number): Vertical position

### `create_envelope` (~81 tokens)

Create a signing envelope from one or more existing PDFGate documents. Returns an envelope in 'created' status; call send_envelope to dispatch signing emails.

Input parameters:

- `documents` (array, required): Documents to include in the envelope
- `metadata` (object): Custom metadata to attach
- `requesterName` (string, required): Name of the user or system creating the envelope

### `send_envelope` (~50 tokens)

Send a created envelope to its recipients. PDFGate dispatches signing emails with secure, OTP-protected links that expire after 30 days.

Input parameters:

- `envelopeId` (string, required): The envelope ID to send

### `get_envelope` (~43 tokens)

Retrieve the current state of an envelope including its status, document progress, and per-recipient signing status.

Input parameters:

- `envelopeId` (string, required): The envelope ID to retrieve

### `create_webhook` (~73 tokens)

Create a PDFGate webhook subscription. The response includes a signing secret — store it securely to verify incoming event signatures.

Input parameters:

- `description` (string): Optional label to identify this webhook
- `eventTypes` (array, required): Event types to subscribe to
- `url` (string, required): The HTTPS endpoint that will receive webhook events

### `delete_webhook` (~41 tokens)

Delete a PDFGate webhook subscription. Future events will no longer be delivered to the associated endpoint.

Input parameters:

- `webhookId` (string, required): The webhook ID to delete

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/com-pdfgate-mcp-server/pdfgate-mcp-server#diagnostics

## Score history

- 2026-08-03: 78
- 2026-08-02: 78
- 2026-08-01: 26
- 2026-07-31: 26
- 2026-07-30: 35
- 2026-07-28: 53
- 2026-07-27: 53

## Links

- npm package: https://www.npmjs.com/package/@pdfgate/mcp-server
- Socket report: https://socket.dev/npm/package/@pdfgate/mcp-server
- Repository: https://github.com/pdfgate/pdfgate-mcp-server
- Website: https://pdfgate.com/
- Changelog RSS feed: https://verifymcp.io/servers/com-pdfgate-mcp-server/pdfgate-mcp-server/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/com-pdfgate-mcp-server/pdfgate-mcp-server/changelog.json
- HTML version of this page: https://verifymcp.io/servers/com-pdfgate-mcp-server/pdfgate-mcp-server
