Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.
Most developer tooling work still happens through a UI a human drives. Docgen MCP server moves it into the conversation instead. Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
The server publishes 6 tools. What each one is for:
docgen_render_pdf — Render HTML, markdown, or a {{key}} template + data object to a downloadable PDFdocgen_export_spreadsheet — Render one or more named worksheets of row objects to a downloadable .xlsx workbookdocgen_fill_form — Fill the AcroForm fields of a supplied PDF (base64 or https URL) and optionally flatten itdocgen_get_document — Re-fetch a previously rendered document by the id a render/export/fill tool returnedPrerequisites — The Prerequisites tool exposed by this serverInstallation — The Installation tool exposed by this serverConfiguration is passed through the environment: MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, MCP_PUBLIC_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Docgen's toolset — docgen_render_pdf, docgen_export_spreadsheet, docgen_fill_form and 3 more — is a fair guide to whether it matches your workflow. It is maintained by cyanheads; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Docgen's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| docgen_render_pdf | Render HTML, markdown, or a {{key}} template + data object to a downloadable PDF. |
| docgen_export_spreadsheet | Render one or more named worksheets of row objects to a downloadable .xlsx workbook. |
| docgen_fill_form | Fill the AcroForm fields of a supplied PDF (base64 or https URL) and optionally flatten it. |
| docgen_get_document | Re-fetch a previously rendered document by the id a render/export/fill tool returned. |
| Prerequisites | The Prerequisites tool exposed by this server. |
| Installation | The Installation tool exposed by this server. |
{
"mcpServers": {
"docgen-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": ["@cyanheads/docgen-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| MCP_TRANSPORT_TYPE | Configuration value read at startup. | Optional |
| MCP_LOG_LEVEL | Configuration value read at startup. | Optional |
| MCP_PUBLIC_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.