MCP directory
DM

Docgen Mcp Server

by github.com/cyanheads · v0.5.0 · updated Nov 22, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

  • DOCGEN_DOCUMENT_TTL_SECONDS

    How long a rendered document is retrievable before it expires, in seconds.

  • DOCGEN_MAX_DOCUMENT_BYTES

    Hard ceiling on a single rendered artifact in bytes; exceeding it aborts the render.

  • DOCGEN_RENDER_TIMEOUT_MS

    Per-render wall-clock budget in milliseconds; exceeding it aborts the render.

  • DOCGEN_INLINE_MAX_BYTES

    Artifacts at or under this byte size are returned inline as base64; larger ones omit it.

  • DOCGEN_PDF_ENGINE

    PDF rendering engine. Only 'lightweight' is implemented; 'chromium' is reserved and rejected at startup.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MCP_TRANSPORT_TYPE

    Selects the HTTP transport.

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

  • DOCGEN_DOCUMENT_TTL_SECONDS

    How long a rendered document is retrievable before it expires, in seconds.

  • DOCGEN_MAX_DOCUMENT_BYTES

    Hard ceiling on a single rendered artifact in bytes; exceeding it aborts the render.

  • DOCGEN_RENDER_TIMEOUT_MS

    Per-render wall-clock budget in milliseconds; exceeding it aborts the render.

  • DOCGEN_INLINE_MAX_BYTES

    Artifacts at or under this byte size are returned inline as base64; larger ones omit it.

  • DOCGEN_PDF_ENGINE

    PDF rendering engine. Only 'lightweight' is implemented; 'chromium' is reserved and rejected at startup.

More from github.com/cyanheads

More MCP servers