Documentero logo

Documentero

List Documentero templates, inspect field schemas, and generate Word/PDF/Excel documents.

Install Documentero

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "documentero": {
      "command": "npx",
      "args": [
        "-y",
        "@documentero/mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y @documentero/mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Tools3

What Documentero lets your agent do. Expand a tool for its parameters.

Self-reported~80 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @documentero/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads176Package downloads in the last 30 days.
Last commit4mo agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Tools exposed3Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

@documentero/mcp

Official MCP server for Documentero — list templates, inspect field schemas, and generate Word/PDF/Excel documents from AI agents (Cursor, Claude Desktop, and more).

Tools

ToolDescription
list_templatesTemplates with kind (word|excel), defaultFormat, allowedFormats
get_template_fieldsJSON Schema (primary, enriched value rules) + field definitions + allowed formats
generate_documentGenerate Word/PDF or Excel document for given template and fields; signed URL (~1h) by default, or base64 if embed: true. format optional (template default).

Setup

  1. Copy your API key from Documentero → Account settings.
  2. Add the MCP server to your client config.

Cursor / Claude Desktop (npx)

config.json
{
  "mcpServers": {
    "documentero": {
      "command": "npx",
      "args": ["-y", "@documentero/mcp"],
      "env": {
        "DOCUMENTERO_API_KEY": "your-api-key"
      }
    }
  }
}

Local development

bash
git clone https://github.com/documentero/documentero-mcp.git
cd documentero-mcp
npm install
npm run build
config.json
{
  "mcpServers": {
    "documentero": {
      "command": "node",
      "args": ["/absolute/path/to/documentero-mcp/dist/index.js"],
      "env": {
        "DOCUMENTERO_API_KEY": "your-api-key",
        "DOCUMENTERO_BASE_URL": "https://app.documentero.com/api"
      }
    }
  }
}

Use https://documentero-dev.web.app/api for the development environment.

Environment

VariableRequiredDefaultDescription
DOCUMENTERO_API_KEYyes—Company API key (Account settings)
DOCUMENTERO_BASE_URLnohttps://app.documentero.com/apiCloud API base URL

Typical agent flow

  1. list_templates → pick a templateId (respect kind / allowedFormats)
  2. get_template_fields → shape data from jsonSchema (use fieldDefinitions for extra context like HTML/Markdown/image/link/QR rules)
  3. generate_document → download URL (or embedded base64)

Smoke test

Terminal
npm run build
DOCUMENTERO_API_KEY=your-key npm run smoke

Notes

  • Thin client of the public Cloud API (/api/templates, /api/meta, /api/generate). Quotas and rate limits are enforced by Documentero as usual.
  • Do not put the API key in tool arguments — keep it in MCP env only.
  • Word templates support output format: docx / pdf; Excel templates support output format: xlsx only.
  • Remote Streamable HTTP hosting (https://mcp.documentero.com/mcp) is planned; this release is stdio only.

License

MIT © Documentero

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Documentero

Documentero is an MCP server that lets AI agents list Documentero templates, inspect their field schemas, and generate Word, PDF, or Excel documents. It uses the Documentero Cloud API and works with MCP clients such as Cursor and Claude Desktop. The server runs over stdio and requires a Documentero API key.

Install it with npx using @documentero/mcp, then set the DOCUMENTERO_API_KEY environment variable in your MCP client configuration. The API key is copied from Documentero Account settings. Local development is also supported by building the repository and running its dist/index.js file.

Generate a document by listing templates, selecting a templateId, inspecting its fields with get_template_fields, and calling generate_document with the template data. The result is normally a signed URL valid for approximately one hour, or base64 content when embed is set to true.

Documentero MCP supports DOCX and PDF output for Word templates, and XLSX output for Excel templates. Use list_templates to check each template's kind, defaultFormat, and allowedFormats; generate_document accepts an optional format and otherwise uses the template default.

Use get_template_fields to retrieve the template's JSON Schema, field definitions, and allowed formats. Shape the generate_document data from jsonSchema, while fieldDefinitions provide additional context for rules involving HTML, Markdown, images, links, and QR codes.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDocumentero AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/documentero?style=directory)](https://allmcps.com/mcp/documentero)
HTML Embed
<a href="https://allmcps.com/mcp/documentero"><img src="https://allmcps.com/api/badge/documentero?style=directory" alt="Documentero on AllMCPs" /></a>