VS Code + pdfmcp: setup guide

Add pdfmcp to VS Code / GitHub Copilot agent mode 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: .vscode/mcp.json in your workspace (or user-level MCP config)

{
  "servers": {
    "pdfmcp": {
      "type": "http",
      "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 file, then open the Command Palette → “MCP: List Servers” and start pdfmcp.
  3. In Copilot Chat agent mode, the pdfmcp tools appear in the tools picker.
  4. Try: “Use pdfmcp's pdf_to_text on this file and summarise it”.

Troubleshooting

Try it with

On-devicePDF info & metadataPage count, page sizes, metadata, encryption status as JSON.On-deviceMerge PDFsCombine multiple PDF files into one, in upload order.On-devicePDF to textExtract plain text, one form-feed separated section per page.

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