Documentero MCP
Use Documentero from AI agents (Cursor, Claude Desktop, and other MCP-compatible clients) to list templates, inspect field schemas, and generate Word, PDF, or Excel documents.
Last updated
Use Documentero from AI agents (Cursor, Claude Desktop, and other MCP-compatible clients) to list templates, inspect field schemas, and generate Word, PDF, or Excel documents.
Package: @documentero/mcp
Source: github.com/documentero/documentero-mcp
Website: documentero.com
A Documentero account with at least one uploaded template (app.documentero.com)
Your company API key (Account settings)
Node.js 18+ available to the MCP client (npx is used to run the server)
Copy your API key from Documentero → Account settings.
Add the Documentero MCP server to your client config:
{
"mcpServers": {
"documentero": {
"command": "npx",
"args": ["-y", "@documentero/mcp"],
"env": {
"DOCUMENTERO_API_KEY": "your-api-key"
}
}
}
}Restart the client (or reload MCP servers) so Documentero tools appear.
Once connected, the agent can use these tools:
list_templates
List templates for your API key (id, name, kind, defaultFormat, allowedFormats)
get_template_fields
Get field schema and format options for a template
generate_document
Generates a document for given template and fields. Returns a signed download URL (~1 hour) by default, or base64 if embed: true
How to use
Ask the agent to list your templates and pick one.
Ask it to load the template fields (get_template_fields) — you can ask what field data is required and which data types (Text/HTML/Markdown/Image/Link) are needed to generate the document.
Ask it to generate the document based on the template and data you provide.
Format rules
Word templates (kind: word): docx or pdf
Excel templates (kind: excel): xlsx only
If format is omitted, the template defaultFormat is used
Quotas and rate limits are the same as the Documentero Cloud API.
Last updated