Docgen MCP Server

@cyanheads/docgen-mcp-server Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs via MCP. STDIO or Streamable HTTP. Its README documents 4 tools, including docgen_render_pdf, docgen_export_spreadsheet, docgen_fill_form.

People who work with cyanheads, document generation and pdf and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-22 · ★ 2 · #406 OF 998 MAINTAINED OTHER · VERIFIED 2026-09-30

Apache-2.0 · TypeScript servers · how we verify → /methodology

01 · Install Docgen MCP Server

before you install - you'll need

Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL before connecting.

Claude Code

claude mcp add cyanheads-docgen-mcp-server -- npx -y @cyanheads/docgen-mcp-server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cyanheads-docgen-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/docgen-mcp-server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license Apache-2.0 - declared in the repository

npm package @cyanheads/docgen-mcp-server - published under the repo owner's npm scope (@cyanheads)

registry namespace io.github.cyanheads is GitHub-verified and matches the repo owner

03 · What Docgen MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

An agent gets 4 documented tools, including docgen_render_pdf, docgen_export_spreadsheet, docgen_fill_form, docgen_get_document.

The 4 tools it gives your agent

Extracted from the project's README - what docgen-mcp-server lets an agent do.

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

Latest releases

v0.2.3 · 2026-09-22

mcp-ts-core 0.13.6, stateless session mode, entity decoding fix · createApp() now declares sessionMode: 'stateless', so an HTTP deployment with MCP_SESSION_MODE unset serves statelessly - a 2025-era initialize receives…

v0.2.2 · 2026-08-21

MCP SDK v2 adoption and portable packaging · @cyanheads/mcp-ts-core ^0.10.9 → ^0.12.3 moves docgen onto MCP SDK v2 without changing its four-tool, one-resource surface. · Smoke, integration, fuzz, and edge-case…

v0.2.1 · 2026-06-28

writer-tool input validation · Three input-validation fixes across the writer tools, plus a design-doc correction. · Fixed: · docgen_export_spreadsheet validates worksheet names against Excel's constraints before…

04 · Who maintains Docgen MCP Server

docgen-mcp-server is maintained by cyanheads. We track 137 MCP servers from cyanheads - 131 actively maintained, 1,856 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from cyanheads.

  1. obsidian-mcp-server Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP. ★ 690
  2. mcp-ts-core Agent-native TypeScript framework for MCP servers. ★ 152
  3. git-mcp-server Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more. ★ 240
  4. clinicaltrialsgov-mcp-server Search ClinicalTrials.gov - find studies, retrieve results, match patients to eligible trials. ★ 96
  5. openalex-mcp-server Access the OpenAlex academic research catalog - 270M+ publications. ★ 14
  6. mcp-ts-template TypeScript template for building MCP servers with declarative tooling, observability, and auth. ★ 152

05 · Facts

category
other - ranked #406 of 998 actively-maintained other servers as of 2026-09-30.
release cadence
2 releases in the last 90 days (latest 2026-09-22)
registry
io.github.cyanheads/docgen-mcp-server (active, first published 2026-06-28 · 4 versions)
packages
npm:@cyanheads/docgen-mcp-server · npm:@cyanheads/docgen-mcp-server

06 · Docgen MCP Server FAQ

Is Docgen MCP Server still maintained?

Yes - as of 2026-09-30, its last commit was 2026-09-22 and it shipped 2 releases in the last 90 days. We re-verify nightly.

What can Docgen MCP Server do?

An agent gets 4 documented tools, including docgen_render_pdf, docgen_export_spreadsheet, docgen_fill_form, docgen_get_document.

How do I install Docgen MCP Server?

Run `npx -y @cyanheads/docgen-mcp-server`. The README documents 2 environment variables (MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL) to set first. Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL before connecting. You can also paste the ready-made client config above.

Does Docgen MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Docgen MCP Server