docgen-mcp-server
Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.
What this server provides
Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.
Packages
npxTransport stdio- MCP_LOG_LEVELOptional
Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
Format: string · Default: info - DOCGEN_DOCUMENT_TTL_SECONDSOptional
How long a rendered document is retrievable before it expires, in seconds.
Format: string · Default: 900 - DOCGEN_MAX_DOCUMENT_BYTESOptional
Hard ceiling on a single rendered artifact in bytes; exceeding it aborts the render.
Format: string · Default: 26214400 - DOCGEN_RENDER_TIMEOUT_MSOptional
Per-render wall-clock budget in milliseconds; exceeding it aborts the render.
Format: string · Default: 30000 - DOCGEN_INLINE_MAX_BYTESOptional
Artifacts at or under this byte size are returned inline as base64; larger ones omit it.
Format: string · Default: 5242880 - DOCGEN_PDF_ENGINEOptional
PDF rendering engine. Only 'lightweight' is implemented; 'chromium' is reserved and rejected at startup.
Format: string · Default: lightweight
npxTransport streamable-httphttp://localhost:3010/mcp- MCP_HTTP_HOSTOptional
The hostname for the HTTP server.
Format: string · Default: 127.0.0.1 - MCP_HTTP_PORTOptional
The port to run the HTTP server on.
Format: string · Default: 3010 - MCP_HTTP_ENDPOINT_PATHOptional
The endpoint path for the MCP server.
Format: string · Default: /mcp - MCP_AUTH_MODEOptional
Authentication mode to use: 'none', 'jwt', or 'oauth'.
Format: string · Default: none - MCP_LOG_LEVELOptional
Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
Format: string · Default: info - DOCGEN_DOCUMENT_TTL_SECONDSOptional
How long a rendered document is retrievable before it expires, in seconds.
Format: string · Default: 900 - DOCGEN_MAX_DOCUMENT_BYTESOptional
Hard ceiling on a single rendered artifact in bytes; exceeding it aborts the render.
Format: string · Default: 26214400 - DOCGEN_RENDER_TIMEOUT_MSOptional
Per-render wall-clock budget in milliseconds; exceeding it aborts the render.
Format: string · Default: 30000 - DOCGEN_INLINE_MAX_BYTESOptional
Artifacts at or under this byte size are returned inline as base64; larger ones omit it.
Format: string · Default: 5242880 - DOCGEN_PDF_ENGINEOptional
PDF rendering engine. Only 'lightweight' is implemented; 'chromium' is reserved and rejected at startup.
Format: string · Default: lightweight