Documentero

Official registry Productivity

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package @documentero/mcp
Claude Code
claude mcp add documentero -e 'DOCUMENTERO_API_KEY=<your documentero_api_key>' -e 'DOCUMENTERO_BASE_URL=<DOCUMENTERO_BASE_URL>' -- npx -y @documentero/mcp@0.1.2
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "documentero": {
            "command": "npx",
            "args": [
                "-y",
                "@documentero/mcp@0.1.2"
            ],
            "env": {
                "DOCUMENTERO_API_KEY": "<your documentero_api_key>",
                "DOCUMENTERO_BASE_URL": "<DOCUMENTERO_BASE_URL>"
            }
        }
    }
}

Environment variables

  • DOCUMENTERO_API_KEY required secret Company API key from Documentero Account settings
  • DOCUMENTERO_BASE_URL Optional Cloud API base URL (default: https://app.documentero.com/api)

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. @documentero/mcp
  2. Tools
  3. Setup
  4. Environment
  5. Typical agent flow
  6. Smoke test
  7. Notes
  8. License

@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)
{
  "mcpServers": {
    "documentero": {
      "command": "npx",
      "args": ["-y", "@documentero/mcp"],
      "env": {
        "DOCUMENTERO_API_KEY": "your-api-key"
      }
    }
  }
}
Local development
git clone https://github.com/documentero/documentero-mcp.git
cd documentero-mcp
npm install
npm run build
{
  "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

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

Frequently asked questions

What is Documentero?

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

How do I install Documentero?

It runs on your machine. In Claude Code: claude mcp add documentero -e 'DOCUMENTERO_API_KEY=<your documentero_api_key>' -e 'DOCUMENTERO_BASE_URL=<DOCUMENTERO_BASE_URL>' -- npx -y @documentero/mcp@0.1.2. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Documentero need an API key?

Yes. It expects DOCUMENTERO_API_KEY, which you set in its configuration.

Is Documentero open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Documentero?

It is published by documentero. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.