MCP.so
登录
P

PDFGate MCP Server

@pdfgate

基本信息

分类

其他

传输方式

stdio

作者

pdfgate

提交者

Demetra Theodorou

关于 PDFGate MCP Server

暂无概览

PDFGate MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

PDFGate MCP Server 工具

17

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

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

Retrieve metadata for a stored PDFGate document by its ID.

Delete a PDFGate document.

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

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

Add interactive form fields to a stored PDF — from placeholder tags (refined via fieldOverrides) and/or explicitly positioned fields.

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

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

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

Download the raw PDF bytes of a stored document, returned as an embedded resource. For a shareable link instead, use get_document.

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

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

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

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

Retrieve a PDFGate webhook subscription by its ID.

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

概览

What is PDFGate?

PDFGate is a Model Context Protocol (MCP) server that integrates with the PDFGate API. It enables AI assistants to generate PDFs, manage documents, and handle e-signatures.

How to use PDFGate?

Add the server to your MCP client configuration with the command npx -y @pdfgate/mcp-server and set the PDFGATE_API_KEY environment variable. Obtain an API key by signing up at pdfgate.com – keys starting with live_ connect to the production environment, test_ to the sandbox.

Key features of PDFGate

  • Generate PDFs from a URL or raw HTML
  • Upload, retrieve, and delete documents
  • Flatten, compress, protect, and watermark PDFs
  • Extract form field values from fillable PDFs
  • Create, send, and track e‑signature envelopes
  • Manage webhook subscriptions for events

Use cases of PDFGate

  • Generate PDF invoices or reports from HTML templates
  • Upload and manage documents in a document workflow
  • Send documents for e‑signature and track completion status
  • Automate PDF processing such as compression or watermarking
  • Receive real‑time notifications on envelope events via webhooks

常见问题

1

How do I get started with PDFGate?

Sign up at pdfgate.com to get an API key. Keys starting with `live_` connect to production, `test_` to the sandbox environment.

2

What tools does PDFGate provide?

PDF tools: `generate_pdf`, `upload_pdf`, `get_document`, `delete_document`, `flatten_pdf`, `extract_pdf_form_data`, `compress_pdf`, `protect_pdf`, `watermark_pdf`. E‑signature tools: `create_envelope`, `send_envelope`, `get_envelope`. Webhooks: `create_webhook`, `delete_webhook`.

3

How can I receive webhook events?

Expose the webhook port (default `3599`) to the internet (e.g., via ngrok), then use the `create_webhook` tool to register your public URL. Events are available via the `pdfgate://events` resource and pushed in real time.

4

What events can I subscribe to?

Supported events: `envelope.sent`, `envelope.completed`, `envelope.expired`, and `envelope.document.completed`.

5

Is there a sandbox environment for testing?

Yes. Use an API key starting with `test_` to connect to the PDFGate sandbox environment.

评论

其他 分类下的更多 MCP 服务器