Koskamo

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.

docgen-mcp-server logo, by cyanheadsCommunity listingLocal stdioSource reviewed; not executedPublished by cyanheads
Vendor documentation

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

Community listingRegistry 0.3.0
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

npmnpx
@cyanheads/docgen-mcp-server package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.