docgen-mcp-server
About
Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
MCP_LOG_LEVEL DOCGEN_DOCUMENT_TTL_SECONDS DOCGEN_MAX_DOCUMENT_BYTES DOCGEN_RENDER_TIMEOUT_MS DOCGEN_INLINE_MAX_BYTES DOCGEN_PDF_ENGINEClaude Code
claude mcp add --env MCP_LOG_LEVEL= --env DOCGEN_DOCUMENT_TTL_SECONDS= --env DOCGEN_MAX_DOCUMENT_BYTES= --env DOCGEN_RENDER_TIMEOUT_MS= --env DOCGEN_INLINE_MAX_BYTES= --env DOCGEN_PDF_ENGINE= docgen-mcp-server -- npx @cyanheads/docgen-mcp-server
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"docgen-mcp-server","command":"npx","args":["@cyanheads/docgen-mcp-server"],"env":{"MCP_LOG_LEVEL":"","DOCGEN_DOCUMENT_TTL_SECONDS":"","DOCGEN_MAX_DOCUMENT_BYTES":"","DOCGEN_RENDER_TIMEOUT_MS":"","DOCGEN_INLINE_MAX_BYTES":"","DOCGEN_PDF_ENGINE":""}}'
JSON
{
"mcpServers": {
"docgen-mcp-server": {
"command": "npx",
"args": [
"@cyanheads/docgen-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "",
"DOCGEN_DOCUMENT_TTL_SECONDS": "",
"DOCGEN_MAX_DOCUMENT_BYTES": "",
"DOCGEN_RENDER_TIMEOUT_MS": "",
"DOCGEN_INLINE_MAX_BYTES": "",
"DOCGEN_PDF_ENGINE": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.