Skip to content
Windsurf

docgen mcp server for Windsurf

io.github.cyanheads/docgen-mcp-server

Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.

client:Windsurf transport:stdio runtime:npm

Install docgen mcp server in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "docgen-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/docgen-mcp-server"
      ],
      "env": {
        "MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>",
        "DOCGEN_DOCUMENT_TTL_SECONDS": "<DOCGEN_DOCUMENT_TTL_SECONDS>",
        "DOCGEN_MAX_DOCUMENT_BYTES": "<DOCGEN_MAX_DOCUMENT_BYTES>",
        "DOCGEN_RENDER_TIMEOUT_MS": "<DOCGEN_RENDER_TIMEOUT_MS>",
        "DOCGEN_INLINE_MAX_BYTES": "<DOCGEN_INLINE_MAX_BYTES>",
        "DOCGEN_PDF_ENGINE": "<DOCGEN_PDF_ENGINE>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

docgen mcp server in other clients