Docgen MCP Server
Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.
- Pricing
- Open source
- Runs
- Locally or Remotely
- Version
- 0.4.0
- Listing updated
- 4 days ago
About Docgen MCP Server
Docgen MCP Server is an open-source MCP server for files and documents. It can run locally on your machine or as a hosted remote server.
Install
Run in a terminal
claude mcp add docgen-mcp-server -- npx -y @cyanheads/docgen-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"docgen-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"docgen-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"docgen-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"docgen-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"docgen-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/docgen-mcp-server"
]
}
}
}Configuration
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_TRANSPORT_TYPESelects the HTTP transport.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'.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.
Pricing
Open source
Docgen MCP Server FAQ
Is Docgen MCP Server free?
Yes. Docgen MCP Server is open source, so you can use and self-host it for free.
How do I add Docgen MCP Server to Claude Code?
Run this command in your terminal: claude mcp add docgen-mcp-server -- npx -y @cyanheads/docgen-mcp-server
What are the best alternatives to Docgen MCP Server?
The closest alternatives to Docgen MCP Server are ASTra, CARTESIAN ECU, Invoices, SigPen and ConvertAudioToText.
Alternatives to Docgen MCP Server

ASTra
MCP serverLet agents read, edit, validate and undo Word .docx files with exact operations
Runs locally- 5 tools
- Freemium
- Files and documents

CARTESIAN ECU
MCP serverCheck and repair ECU and TCU flash-file checksums from Claude (Ultimate plan)
Not checked yet- 5 tools
- Remote
- Paid
- Files and documents
Invoices
MCP serverMCP server that reads supplier invoices and returns data plus DATEV, CSV or Excel files
- 4 tools
- Remote
- Paid
- Files and documents

SigPen
MCP serverMCP server that drafts e-signature documents while you approve every send
Not checked yet- 13 tools
- Remote
- Freemium
- Files and documents

ConvertAudioToText
MCP serverTranscribe audio and video links from Claude or ChatGPT and read the results
Not checked yet- 5 tools
- Remote
- Freemium
- Design and media

WhoScribe
MCP serverSearch and read your WhoScribe audio and video transcripts from ChatGPT, read-only
Not checked yet- Remote
- Freemium
- Design and media