mcp-server

v1.5.0
com.pdfgate/mcp-server Checked 20 hours ago Published 1 month ago

MCP server for the PDFGate API.

Values you need

VariableWhat it is
PDFGATE_API_KEYoptional Your PDFGate API key (starts with live_ for production or test_ for sandbox)
PDFGATE_WEBHOOK_PORToptional Port for the local webhook listener (default: 3599)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-server -- npx -y --package=@pdfgate/mcp-server@1.5.0 pdfgate-mcp-server
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@pdfgate/mcp-server@1.5.0",
        "pdfgate-mcp-server"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@pdfgate/mcp-server@1.5.0",
        "pdfgate-mcp-server"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@pdfgate/mcp-server@1.5.0",
        "pdfgate-mcp-server"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@pdfgate/mcp-server@1.5.0", "pdfgate-mcp-server"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp-server https://mcp.pdfgate.com/server --header 'X-API-KEY: <X-API-KEY>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.pdfgate.com/server",
        "--header",
        "X-API-KEY: <X-API-KEY>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "headers": {
        "X-API-KEY": "<X-API-KEY>"
      },
      "url": "https://mcp.pdfgate.com/server"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "headers": {
        "X-API-KEY": "<X-API-KEY>"
      },
      "type": "http",
      "url": "https://mcp.pdfgate.com/server"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.pdfgate.com/server", "--header", "X-API-KEY: <X-API-KEY>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: generate_pdf, upload_file, get_document, delete_document, flatten_pdf, extract_form_data, add_form_fields, compress_pdf, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json