Skip to content
VS Code

PolyDoc for VS Code

tech.polydoc/polydoc-mcp

HTML/URL to PDF, screenshots, e-invoices. PDF/A and PDF/UA output with optional veraPDF verify.

client:VS Code transport:stdio runtime:npm

Install PolyDoc in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "polydoc-api-key",
      "description": "POLYDOC_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "polydoc-sandbox",
      "description": "POLYDOC_SANDBOX",
      "password": true
    },
    {
      "type": "promptString",
      "id": "polydoc-base-url",
      "description": "POLYDOC_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "polydoc-output-dir",
      "description": "POLYDOC_OUTPUT_DIR",
      "password": true
    }
  ],
  "servers": {
    "polydoc-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "polydoc-mcp"
      ],
      "env": {
        "POLYDOC_API_KEY": "${input:polydoc-api-key}",
        "POLYDOC_SANDBOX": "${input:polydoc-sandbox}",
        "POLYDOC_BASE_URL": "${input:polydoc-base-url}",
        "POLYDOC_OUTPUT_DIR": "${input:polydoc-output-dir}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

PolyDoc in other clients