docgen mcp server for Grok
io.github.cyanheads/docgen-mcp-server
Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.
client:Grok
transport:stdio
runtime:npm
Install docgen mcp server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"docgen-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>",
"DOCGEN_DOCUMENT_TTL_SECONDS": "<DOCGEN_DOCUMENT_TTL_SECONDS>",
"DOCGEN_MAX_DOCUMENT_BYTES": "<DOCGEN_MAX_DOCUMENT_BYTES>",
"DOCGEN_RENDER_TIMEOUT_MS": "<DOCGEN_RENDER_TIMEOUT_MS>",
"DOCGEN_INLINE_MAX_BYTES": "<DOCGEN_INLINE_MAX_BYTES>",
"DOCGEN_PDF_ENGINE": "<DOCGEN_PDF_ENGINE>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs