
Documentero
io.github.documentero由 GitHub 账号 documentero 发布v0.1.2更新于 Oct 24, 2026
List Documentero templates, inspect field schemas, and generate Word/PDF/Excel documents.
概览
Documentero 的本地 MCP 服务器让助手列出文档模板、查看字段结构,并据此生成 Word、PDF 或 Excel 文档。
- 可以做什么
- 列出可用的 Documentero 模板及其类型和允许的输出格式,并查看模板的字段结构与字段定义,以便正确组织数据。按选定模板和字段值生成 Word/PDF 或 Excel 文档,默认返回有时效的签名下载链接,也可选择内嵌 base64。
- 适用场景
- 当助手需要基于已有的 Documentero 模板产出成品业务文档(如合同、发票或报告),而不是直接写原始文件时使用。适合 Cursor、Claude Desktop 等能运行本地 stdio 服务器的桌面客户端。
- 运行要求
- 通过 npx 从 npm 包 @documentero/mcp 在本地运行,需要 Node.js。必须在 DOCUMENTERO_API_KEY 环境变量中提供 Documentero 公司 API 密钥;DOCUMENTERO_BASE_URL 可选择性覆盖云 API 基础地址。需要能访问 Documentero 云 API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Documentero,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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
Setup
- Copy your API key from Documentero → Account settings.
- Add the MCP server to your client config.
Cursor / Claude Desktop (npx)
Local development
Use https://documentero-dev.web.app/api for the development environment.
Environment
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
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
来源:README.md,提交 4062b12
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分