Basic information
About PDFGate MCP Server
MCP server for the PDFGate API. Generate PDFs, manage documents and handle e-signatures.
PDFGate is a MCP server in the Other category listed in the AddMCP.net directory, published by pdfgate. It exposes 17 tools, including generate_pdf, upload_file, get_document, delete_document and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. Source code is hosted on github.com.
Connection details
https://mcp.pdfgate.com/server
Setup
claude mcp add pdfgate-mcp-server --transport http https://mcp.pdfgate.com/server
[mcp_servers.pdfgate-mcp-server] url = "https://mcp.pdfgate.com/server"
{
"mcpServers": {
"pdfgate-mcp-server": {
"url": "https://mcp.pdfgate.com/server"
}
}
}
{
"servers": {
"pdfgate-mcp-server": {
"type": "http",
"url": "https://mcp.pdfgate.com/server"
}
}
}
PDFGate MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"pdfgate": {
"command": "npx",
"args": [
"-y",
"@pdfgate/mcp-server"
],
"env": {
"PDFGATE_API_KEY": "your_api_key_here"
}
}
}
}
PDFGate MCP Server tools
-
generate_pdf
— Generate a PDF from a URL or raw HTML. Provide either 'url' or 'html', not both.
url:string, html:string, pageSizeType:string, orientation:string, marginTop:string, marginBottom:string, marginLeft:string, marginRight:string, header:string, footer:string, printBackground:boolean, waitForNetworkIdle:boolean, … -
upload_file
— Upload a PDF to PDFGate so it can be referenced by other operations. Provide either 'filePath' (local path) or 'url'.
filePath:string, url:string, preSignedUrlExpiresIn:integer, metadata:object -
get_document
— Retrieve metadata for a stored PDFGate document by its ID.
documentId:string*, preSignedUrlExpiresIn:integer -
delete_document
— Delete a PDFGate document.
documentId:string* -
flatten_pdf
— Flatten an interactive PDF into a static, non-editable PDF. Creates a new document; does not overwrite the original.
documentId:string*, preSignedUrlExpiresIn:integer, metadata:object -
extract_form_data
— Extract form field values from a fillable PDF. Returns a JSON object mapping field names to their values.
documentId:string* -
add_form_fields
— Add interactive form fields to a stored PDF — from placeholder tags (refined via fieldOverrides) and/or explicitly positioned fields.
documentId:string*, fieldOverrides:object, fields:array, preSignedUrlExpiresIn:integer -
compress_pdf
— Compress/optimise a PDF to reduce file size without changing visual content.
documentId:string*, linearize:boolean, preSignedUrlExpiresIn:integer, metadata:object -
protect_pdf
— Encrypt a PDF with a password and optional permission restrictions. Produces a new document; the original is unchanged.
documentId:string*, algorithm:string, userPassword:string, ownerPassword:string, disablePrint:boolean, disableCopy:boolean, disableEditing:boolean, encryptMetadata:boolean, preSignedUrlExpiresIn:integer, metadata:object -
watermark_pdf
— Apply a text or image watermark to a PDF. For type='text' provide 'text'; for type='image' provide 'watermarkImagePath'.
documentId:string*, type:string*, text:string, watermarkImagePath:string, fontFilePath:string, font:string, fontSize:number, fontColor:string, opacity:number, xPosition:number, yPosition:number, imageWidth:number, … -
download_file
— Download the raw PDF bytes of a stored document, returned as an embedded resource. For a shareable link instead, use get_document.
documentId:string* -
create_envelope
— Create a signing envelope from one or more existing PDFGate documents. Returns an envelope in 'created' status; call send_envelope to dispatch signing emails.
documents:array*, requesterName:string*, metadata:object -
send_envelope
— Send a created envelope to its recipients. PDFGate dispatches signing emails with secure, OTP-protected links that expire after 30 days.
envelopeId:string* -
get_envelope
— Retrieve the current state of an envelope including its status, document progress, and per-recipient signing status.
envelopeId:string* -
create_webhook
— Create a PDFGate webhook subscription. The response includes a signing secret — store it securely to verify incoming event signatures.
url:string*, eventTypes:array*, description:string -
get_webhook
— Retrieve a PDFGate webhook subscription by its ID.
webhookId:string* -
delete_webhook
— Delete a PDFGate webhook subscription. Future events will no longer be delivered to the associated endpoint.
webhookId:string*
Overview
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
Frequently asked questions
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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In