Documentero

io.github.documenteroPublished by GitHub account documenterov0.1.2Updated Oct 24, 2026

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

Overview

AI-generated overview

Documentero's local MCP server lets an assistant list document templates, inspect their field schemas, and generate Word, PDF or Excel files from them.

What you can do
List available Documentero templates with their kind and allowed output formats, and inspect a template's field schema and field definitions so data can be shaped correctly. Generate a Word/PDF or Excel document from a chosen template and field values, returned as a signed download link or embedded base64.
When to use it
Use it when an assistant should produce finished business documents from existing Documentero templates, such as contracts, invoices or reports, instead of writing raw files. It fits desktop clients like Cursor or Claude Desktop that can run a local stdio server.
Requirements
Runs locally via npx from the npm package @documentero/mcp, so Node.js is needed. A Documentero company API key is required in the DOCUMENTERO_API_KEY environment variable; DOCUMENTERO_BASE_URL optionally overrides the cloud API base URL. Network access to the Documentero cloud API is required.
Before you install
The API key is a secret and should stay in the MCP environment, not in tool arguments. Document generation sends template field data to Documentero's cloud API, where quotas and rate limits apply. Generated documents are exposed through signed URLs valid for about an hour, so treat those links as sensitive.

Installation

In SourceWeft

  1. Open Documentero in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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)

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.gitcd documentero-mcpnpm installnpm run build
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

bash
npm run buildDOCUMENTERO_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

Source: README.md at commit 4062b12

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts