Docgen MCP Server
by cyanheadsio.github.cyanheads/docgen-mcp-serverv0.2.4
Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install Docgen MCP server
Install in Claude Code
claude mcp add docgen -- npx -y @cyanheads/docgen-mcp-serverInstall in Cursor
{
"mcpServers": {
"docgen": {
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"docgen": {
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"docgen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"docgen": {
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
| DOCGEN_DOCUMENT_TTL_SECONDS | — | — | How long a rendered document is retrievable before it expires, in seconds. |
| DOCGEN_MAX_DOCUMENT_BYTES | — | — | Hard ceiling on a single rendered artifact in bytes; exceeding it aborts the render. |
| DOCGEN_RENDER_TIMEOUT_MS | — | — | Per-render wall-clock budget in milliseconds; exceeding it aborts the render. |
| DOCGEN_INLINE_MAX_BYTES | — | — | Artifacts at or under this byte size are returned inline as base64; larger ones omit it. |
| DOCGEN_PDF_ENGINE | — | — | PDF rendering engine. Only 'lightweight' is implemented; 'chromium' is reserved and rejected at startup. |
| MCP_TRANSPORT_TYPE | — | — | Selects the HTTP transport. |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-07 · 2d ago · GitHub
Latest release
2026-10-07 · 2d ago · GitHub · v0.2.4
Package published
no data · npm/PyPI
Registry entry updated
2026-10-07 · 2d ago · official registry · v0.2.4
FAQ
›How do I install the Docgen MCP server in Claude Code?
Run: claude mcp add docgen -- npx -y @cyanheads/docgen-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Docgen require an API key?
No required environment variables are declared in its published metadata.
›Can I use Docgen as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Docgen in the official MCP registry?
Yes, as io.github.cyanheads/docgen-mcp-server.
Alternatives to Docgen
Other cloud platforms MCP servers.