Cursor + pdfmcp: setup guide

Add pdfmcp to Cursor via mcp.json.

What you need: a free pdfmcp API key — sign in with your email (no password) and copy the key shown at first login. Then replace pdfmcp_live_YOUR_KEY in the config below.

Where it goes: ~/.cursor/mcp.json (global) or .cursor/mcp.json in a project

{
  "mcpServers": {
    "pdfmcp": {
      "url": "https://mcp.pdfmcp.org/mcp",
      "headers": {
        "X-API-Key": "pdfmcp_live_YOUR_KEY"
      }
    }
  }
}

Steps

  1. Get a free API key from the pdfmcp dashboard and replace pdfmcp_live_YOUR_KEY in the config.
  2. Save the config at the location above (Cursor → Settings → MCP → Add new server also works).
  3. Restart Cursor; pdfmcp should show a green dot with the full tool list.
  4. In Agent mode, try: “Use pdfmcp to compress report.pdf”.

Troubleshooting

Try it with

On-deviceMerge PDFsCombine multiple PDF files into one, in upload order.On-devicePDF to textExtract plain text, one form-feed separated section per page.On-deviceCompress PDFReduce file size with Ghostscript. Presets: light (printer quality), medium (ebook), heavy (screen, smallest).

More clients: Claude Desktop MCP setup · Claude Code MCP setup · ChatGPT MCP setup · All MCP setup guides · REST API quickstart