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
E-Signatures
Recipients
Webhook Management
Webhook Triggers
The server listens for incoming PDFGate events on port 3599 by default. To receive events:
- Expose port
3599to the internet (e.g. via ngrok) - Use the
create_webhooktool to register your public URL
Supported events:
Received events are available via the pdfgate://events MCP resource and pushed to the client in real time.