Package

docgen-mcp-server

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

io.github.cyanheads/docgen-mcp-serverSource repository
Version0.5.0latest catalog version
ConnectionPackagenpm
PublishedNov 22, 2026catalog
UpdatedNov 22, 2026catalog
Overview

What this server provides

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

Install

Packages

2
Package 1npm
@cyanheads/docgen-mcp-server0.5.0
  • MCP_LOG_LEVEL

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

    Format: string · Default: info
    Optional
  • DOCGEN_DOCUMENT_TTL_SECONDS

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

    Format: string · Default: 900
    Optional
  • DOCGEN_MAX_DOCUMENT_BYTES

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

    Format: string · Default: 26214400
    Optional
  • DOCGEN_RENDER_TIMEOUT_MS

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

    Format: string · Default: 30000
    Optional
  • DOCGEN_INLINE_MAX_BYTES

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

    Format: string · Default: 5242880
    Optional
  • DOCGEN_PDF_ENGINE

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

    Format: string · Default: lightweight
    Optional
Package 2npm
@cyanheads/docgen-mcp-server0.5.0
http://localhost:3010/mcp
  • MCP_HTTP_HOST

    The hostname for the HTTP server.

    Format: string · Default: 127.0.0.1
    Optional
  • MCP_HTTP_PORT

    The port to run the HTTP server on.

    Format: string · Default: 3010
    Optional
  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

    Format: string · Default: /mcp
    Optional
  • MCP_AUTH_MODE

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

    Format: string · Default: none
    Optional
  • MCP_LOG_LEVEL

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

    Format: string · Default: info
    Optional
  • DOCGEN_DOCUMENT_TTL_SECONDS

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

    Format: string · Default: 900
    Optional
  • DOCGEN_MAX_DOCUMENT_BYTES

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

    Format: string · Default: 26214400
    Optional
  • DOCGEN_RENDER_TIMEOUT_MS

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

    Format: string · Default: 30000
    Optional
  • DOCGEN_INLINE_MAX_BYTES

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

    Format: string · Default: 5242880
    Optional
  • DOCGEN_PDF_ENGINE

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

    Format: string · Default: lightweight
    Optional
View server metadata