Skip to content
VS Code

Dokmatiq DocGen for VS Code

io.github.dokmatiq/docgen

PDF/DOCX/Excel generation with stationery overlay, ZUGFeRD/XRechnung, signing, receipt OCR.

client:VS Code transport:stdio runtime:pypi

Install Dokmatiq DocGen in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "docgen-api-key",
      "description": "DOCGEN_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "docgen-base-url",
      "description": "DOCGEN_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "docgen": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "dokmatiq-docgen-mcp"
      ],
      "env": {
        "DOCGEN_API_KEY": "${input:docgen-api-key}",
        "DOCGEN_BASE_URL": "${input:docgen-base-url}"
      }
    }
  }
}

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

Dokmatiq DocGen in other clients