Connect an agent

Add PDFox to any MCP-compatible AI assistant in under 2 minutes. All you need is an API key and Node.js ≥ 18.

MCP is available on Pro and above. Check your plan on the Pricing page or upgrade from the dashboard.

Claude Desktop

1
Open the config file

On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%\Claude\claude_desktop_config.json

2
Add the PDFox server block

Paste the config on the right into the mcpServers object. Replace the placeholder with your real API key.

3
Restart Claude Desktop

The PDFox tools will appear in the tool list. Ask Claude to "generate a PDF from template X" to verify.

Cursor

Add a .cursor/mcp.json file to your project root (or globally in ~/.cursor/mcp.json) with the same shape:

VS Code (GitHub Copilot)

Create .vscode/mcp.json in your workspace. VS Code 1.99+ picks this up automatically when the MCP extension is active:

You can also connect via our hosted OAuth endpoint — no npx required. Visit Developer → MCP Connectors in the dashboard to generate an OAuth connection URL.
{
  "mcpServers": {
    "pdfox": {
      "command": "npx",
      "args": ["-y", "@pdfox/mcp-server"],
      "env": {
        "PDFOX_API_KEY": "sk_live_••••••••••••••••"
      }
    }
  }
}
{
  "mcpServers": {
    "pdfox": {
      "command": "npx",
      "args": ["-y", "@pdfox/mcp-server"],
      "env": {
        "PDFOX_API_KEY": "sk_live_••••••••••••••••"
      }
    }
  }
}
{
  "servers": {
    "pdfox": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@pdfox/mcp-server"],
      "env": {
        "PDFOX_API_KEY": "sk_live_••••••••••••••••"
      }
    }
  }
}