docgen-mcp-server
A community MCP server that allows agents to generate documents locally. It renders HTML, markdown, or template data to PDF, exports row objects to Excel spreadsheets, and fills AcroForm PDF fields. It supports STDIO and Streamable HTTP transports.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Render HTML or markdown content to downloadable PDF files
- Export structured row data to Excel (.xlsx) workbooks
- Fill AcroForm fields in existing PDF documents
- Inspect AcroForm field names and types without modifying the PDF
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@cyanheads/docgen-mcp-server 0.3.0
{
"version": "0.3.0",
"transport": "stdio",
"identifier": "@cyanheads/docgen-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
},
{
"name": "DOCGEN_DOCUMENT_TTL_SECONDS",
"format": "string",
"default": "900",
"description": "How long a rendered document is retrievable before it expires, in seconds."
},
{
"name": "DOCGEN_MAX_DOCUMENT_BYTES",
"format": "string",
"default": "26214400",
"description": "Hard ceiling on a single rendered artifact in bytes; exceeding it aborts the render."
},
{
"name": "DOCGEN_RENDER_TIMEOUT_MS",
"format": "string",
"default": "30000",
"description": "Per-render wall-clock budget in milliseconds; exceeding it aborts the render."
},
{
"name": "DOCGEN_INLINE_MAX_BYTES",
"format": "string",
"default": "5242880",
"description": "Artifacts at or under this byte size are returned inline as base64; larger ones omit it."
},
{
"name": "DOCGEN_PDF_ENGINE",
"format": "string",
"default": "lightweight",
"description": "PDF rendering engine. Only 'lightweight' is implemented; 'chromium' is reserved and rejected at startup."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"docgen-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server@0.3.0"
],
"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>"
}
}
}
}Cline
{
"mcpServers": {
"docgen-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server@0.3.0"
],
"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>"
}
}
}
}VS Code
{
"servers": {
"docgen-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server@0.3.0"
],
"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>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"docgen-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server@0.3.0"
],
"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>"
}
}
}
}Let your agent find its tools
Find servers like docgen-mcp-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.