Documentero

io.github.documentero由 GitHub 帳號 documentero 發布v0.1.2更新於 Oct 24, 2026

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

已驗證STDIO僅桌面效率與工作流檔案與儲存

概覽

AI 產生的概覽

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 的網路。
安裝前請注意
API 金鑰屬於機密,應只放在 MCP 環境變數中,不要寫入工具參數。產生文件會把範本欄位資料傳送到 Documentero 雲端 API,並受其配額與速率限制約束。產生的文件透過約一小時有效的簽章連結提供,應將這些連結視為敏感資訊。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Documentero,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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).

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

來源:README.md,提交 4062b12

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分