npm @documentero/mcpstdioMITupdated 1mo ago
Official MCP server for Documentero — list templates, inspect field schemas, and generate Word/PDF/Excel documents from AI agents (Cursor, Claude Desktop, and more).
Documentero で何ができる?
@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
インストール
Documentero をクライアントに追加します。お使いのものを選んでください。
claude mcp add mcp -- npx -y @documentero/mcpcodex mcp add mcp -- npx -y @documentero/mcpamp mcp add mcp -- npx -y @documentero/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@documentero/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@documentero/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp","command":"npx","args":["-y","@documentero/mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@documentero/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@documentero/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@documentero/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@documentero/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@documentero/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @documentero/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
3 個のツール
Documentero は接続したエージェントに 3 個のツールを提供します。
- list_templates
- Templates with `kind` (word\
- 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).
スコア
67 / 100
良好
- ドキュメント22/25
- メンテナンス16/25
- 信頼性13/20
- 機能4/15
- 導入のしやすさ12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 38 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 3 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
バージョン履歴
| バージョン | 公開日 |
|---|---|
| 0.1.2最新 | 2026年7月24日 |