documentero
Enables AI agents to list Documentero templates, inspect their field schemas, and generate Word/PDF/Excel documents via the Documentero API.
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).
- npm:
@documentero/mcp - Source: github.com/documentero/documentero-mcp
- Website: documentero.com
- Docs: docs.documentero.com
Tools
| Tool | Description |
|---|---|
list_templates |
Templates with kind (word|excel), defaultFormat, allowedFormats |
get_template_fields |
JSON Schema (primary, enriched value rules) + field definitions + allowed formats |
generate_document |
Generate 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
- Copy your API key from Documentero → Account settings.
- 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
| Variable | Required | Default | Description |
|---|---|---|---|
DOCUMENTERO_API_KEY |
yes | — | Company API key (Account settings) |
DOCUMENTERO_BASE_URL |
no | https://app.documentero.com/api |
Cloud API base URL |
Typical agent flow
list_templates→ pick atemplateId(respectkind/allowedFormats)get_template_fields→ shapedatafromjsonSchema(usefieldDefinitionsfor extra context like HTML/Markdown/image/link/QR rules)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:xlsxonly. - Remote Streamable HTTP hosting (
https://mcp.documentero.com/mcp) is planned; this release is stdio only.
License
MIT © Documentero
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.