io.github.cyanheads/docgen-mcp-server MCP Server
io.github.cyanheads/docgen-mcp-server
What this kind of tool is for
- Automate a build, test, or deployment step you repeat by hand.
- Review or refactor code in an existing repository without leaving your agent.
- Bridge an internal service or CLI into the agent toolset.
How to compare servers like this
- Scope of control:
- Repos and CI are hard to undo; prefer tools that ask before anything irreversible.
- Environment fit:
- Match the runtime it expects (Node, Python, a container) to what you actually run.
- Maintenance signal:
- Check the last-commit date — dev tooling that lags upstream breaks first.
- Config surface:
- Prefer tools whose environment-variable or config keys are documented plainly.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the io.github.cyanheads/docgen-mcp-server MCP server?
Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.
How to install io.github.cyanheads/docgen-mcp-server
Copy-paste configuration for popular MCP clients.
MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
DOCGEN_DOCUMENT_TTL_SECONDSHow long a rendered document is retrievable before it expires, in seconds.
DOCGEN_MAX_DOCUMENT_BYTESHard ceiling on a single rendered artifact in bytes; exceeding it aborts the render.
DOCGEN_RENDER_TIMEOUT_MSPer-render wall-clock budget in milliseconds; exceeding it aborts the render.
DOCGEN_INLINE_MAX_BYTESArtifacts at or under this byte size are returned inline as base64; larger ones omit it.
DOCGEN_PDF_ENGINEPDF rendering engine. Only 'lightweight' is implemented; 'chromium' is reserved and rejected at startup.
MCP_HTTP_HOSTThe hostname for the HTTP server.
MCP_HTTP_PORTThe port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.
MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.
{
"mcpServers": {
"docgen-mcp-server": {
"command": "bun",
"args": [
"-y",
"@cyanheads/docgen-mcp-server",
"run",
"start:stdio"
],
"env": {
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"DOCGEN_DOCUMENT_TTL_SECONDS": "<YOUR_DOCGEN_DOCUMENT_TTL_SECONDS>",
"DOCGEN_MAX_DOCUMENT_BYTES": "<YOUR_DOCGEN_MAX_DOCUMENT_BYTES>",
"DOCGEN_RENDER_TIMEOUT_MS": "<YOUR_DOCGEN_RENDER_TIMEOUT_MS>",
"DOCGEN_INLINE_MAX_BYTES": "<YOUR_DOCGEN_INLINE_MAX_BYTES>",
"DOCGEN_PDF_ENGINE": "<YOUR_DOCGEN_PDF_ENGINE>",
"MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
}
}
}
}Related MCP servers
Search USGS and EMSC seismic data — real-time feeds, event queries, and earthquake counts.
Browse and query the EIA API v2 — electricity, petroleum, natural gas, coal, forecasts via MCP.
Look up genes, sequences, variants, homologs, and cross-database xrefs from Ensembl REST.
Search EPA compliance, TRI, Superfund, drinking-water, EJScreen, and AirNow data.
Search EU legislation, CJEU case law, and treaties; traverse CELLAR graph; browse EuroVoc concepts.
Search and query the Eurostat catalogue — EU economy, demography, trade, and NUTS regional data.
