Skip to content
Agentmart
Submit a tool

Docgen MCP Server

Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.

Connector by cyanheads · GitHub account verified by the MCP Registry

IndexedApache-2.0Local (stdio)Remote (HTTP)★ 2
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/cyanheads-docgen-mcp-server

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Render HTML/markdown to PDF, export rows to xlsx, and fill AcroForm PDFs.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
2 read · 1 write · 2 delete
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Node.js package

Tools by what they do 5

Read from the source code; the running server may list different tools.

Read 2 · Look things up without changing anything.

  • docgen_get_document
  • docgen_list_form_fields

Write 1 · Create, change, send or run things.

  • docgen_fill_form

Delete 2 · Delete, drop, revoke or wipe things.

  • docgen_export_spreadsheet
  • docgen_render_pdf

Secrets and settings it asks for

Other settings (environment variables or headers).

  • DOCGEN_DOCUMENT_TTL_SECONDS
  • DOCGEN_INLINE_MAX_BYTES
  • DOCGEN_MAX_DOCUMENT_BYTES
  • DOCGEN_PDF_ENGINE
  • DOCGEN_RENDER_TIMEOUT_MS
  • MCP_LOG_LEVEL

Tools (5)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • docgen_export_spreadsheetExport Spreadsheet

    Render one or more named worksheets of row objects to a downloadable .xlsx workbook. Each sheet is a name plus an array of row objects (property → scalar), with an optional column spec controlling header label, value type, width, and number/date format. An empty rows array yields a header-only sheet; provide at least one sheet. Returns a delivery envelope with a documentId, resource URI, sheetCount, byte size, and inline base64 when small enough. The natural export stage for tabular data pulled from another server — reshape its rows into sheets[] and render.

  • docgen_fill_formFill PDF Form

    Fill the AcroForm fields of a supplied PDF and optionally flatten it. Provide the source PDF as exactly one of { base64 } or { url } (a public https URL serving application/pdf; base64 avoids any fetch), plus a fields map of AcroForm field name → value. Obtain exact case-sensitive names and choice options with docgen_list_form_fields. Signatures and buttons are discovery only. Names with no AcroForm counterpart come back in unmatchedFields[] rather than failing — correct them and re-render. Set flatten to bake the values in so the result is no longer editable. Returns a delivery envelope with …

  • docgen_get_documentGet Documentread-only

    Re-fetch a previously rendered document by the id a docgen render/export/fill tool returned. Returns the same delivery envelope (metadata plus resource URI, and inline base64 when small enough). Use it to recover a document whose inline copy was dropped (over the inline size limit) while it is still within its TTL. The documentId is obtainable ONLY from an earlier docgen_render_pdf, docgen_export_spreadsheet, or docgen_fill_form result — it is not guessable, and an expired or unknown id returns document_expired.

  • docgen_list_form_fieldsList PDF Form Fieldsread-only

    List the AcroForm fields in a PDF before calling docgen_fill_form. Provide exactly one sourcePdf.base64 or sourcePdf.url; URL sources must be public https serving application/pdf. Returns exact case-sensitive names (including nested names), canonical field types, required flags and options on dropdown, optionList and radioGroup fields. Signature and button entries are discovery only; docgen_fill_form does not sign PDFs or invoke buttons. Does not change the PDF or store a document.

  • docgen_render_pdfRender PDF

    Render content to a downloadable PDF document. Provide exactly one source: { html } (raw HTML you compose — the recommended path), { markdown } (converted to HTML then rendered), or { template, data } (a {{key}} template filled from a data object, server-owned layout). Control page size, orientation, margins, header/footer, and page numbers via pageOptions. Returns a delivery envelope with a documentId, resource URI, pageCount, byte size, and inline base64 when small enough. The lightweight engine renders structured layout (headings, paragraphs, lists, tables) but not arbitrary CSS. The degrad…

Signals

Stars
2
Forks
0
Open issues
1
Weekly downloads
86
Last commit
Oct 17, 2026 (12 days ago)
Last release
Oct 13, 2026 (16 days ago)
Last package publish
Oct 13, 2026 (16 days ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.cyanheads/docgen-mcp-server
Version
0.3.0
Auth
No auth
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from cyanheads

Cite this page

Docgen MCP Server. Agent Mart. https://agentmart.dev/connectors/cyanheads-docgen-mcp-server (last updated 2026-10-24)