DocMake

io.docmake由 docmake.io 發布v0.1.1更新於 Oct 24, 2026

Generate DOCX and PDF documents from your DocMake templates

發布方自己的服務:Make

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

概覽

AI 產生的概覽

DocMake 官方 MCP 伺服器,讓助理用資料填入你的 DocMake 範本並算繪成 DOCX 或 PDF 檔案。

可以做什麼
列出並檢視範本,包含每個範本的欄位樹、預設值與範例,支援搜尋與分頁。將範本算繪成 PDF 或 DOCX 並存到本機,預設為嚴格模式,缺少變數時會回報。從文件 schema JSON 建立範本,或將本機 .docx 檔匯入為新範本。查詢目前計費週期的方案、算繪配額與速率限制。範本同時以 MCP 資源形式提供,並附有引導式產生文件提示。
適用情境
適合在 DocMake 中維護文件範本、希望助理透過對話起草發票、合約或報告的情境,也適合在填寫前先確認範本需要哪些欄位。
執行需求
透過 npx(Node.js)以 stdio 在本機執行,或使用以 streamable HTTP 提供的託管遠端端點。需要在 DOCMAKE_API_KEY 中提供 DocMake API 金鑰,可在 DocMake 主控台建立,免費方案即可。選用的 DOCMAKE_OUTPUT_DIR 與 DOCMAKE_API_BASE 可設定儲存目錄與 API 基礎位址。需要連線至 DocMake API 的網路。
安裝前請注意
API 金鑰屬於憑證,應保存在用戶端設定或作業系統鑰匙圈中。每次工具呼叫都會透過 HTTPS 將範本 ID、算繪資料或匯入的 .docx 傳送到 DocMake API,並在你的工作區中處理與保存,直到刪除。算繪會消耗方案配額。算繪檔案寫入 DOCMAKE_OUTPUT_DIR,且不會覆蓋既有檔案。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@docmake/mcp

Official Model Context Protocol server for DocMake, the AI-native document generation platform. It lets AI assistants like Claude generate DOCX and PDF documents from your DocMake templates: no glue code, just a conversation.

"Generate the invoice for Acme Corp: 10 hours of consulting at 100 EUR, due in 14 days."

The assistant picks your invoice template, fills in the data, renders a PDF through the DocMake API, and hands you the file path.

Example prompts

  • "Generate the invoice for Acme Corp: 10 hours of consulting at 100 EUR, due in 14 days."
  • "Which fields does my employment contract template need? Then fill it in for Maria Ionescu, starting 1 October, and save it as a DOCX."
  • "Import ~/Documents/quarterly-report.docx as a DocMake template, then show me the variables it found."

Setup

You need a DocMake API key. Create one at app.docmake.io under Settings > API Keys (free plan works).

Claude Desktop

Add to claude_desktop_config.json (Settings > Developer > Edit Config):

json
{  "mcpServers": {    "docmake": {      "command": "npx",      "args": ["-y", "@docmake/mcp@latest"],      "env": {        "DOCMAKE_API_KEY": "dm_your_key_here"      }    }  }}

Claude Code

bash
claude mcp add docmake --env DOCMAKE_API_KEY=dm_your_key_here -- npx -y @docmake/mcp@latest

Cursor / other MCP clients

Any client that supports stdio MCP servers works with the same command: npx -y @docmake/mcp@latest with DOCMAKE_API_KEY in the environment.

Remote server (no install)

DocMake also hosts the same six tools over streamable HTTP, so a client that speaks remote MCP needs nothing installed:

json
{  "mcpServers": {    "docmake": {      "url": "https://app.docmake.io/mcp/v1",      "headers": { "Authorization": "Bearer dm_your_key_here" }    }  }}

Two differences from this package. render_document returns a short-lived download link instead of writing the file to your machine, and import_docx takes the document as base64 rather than a path, because the server runs remotely and cannot read your disk. Everything else, including strict rendering, behaves the same.

Configuration

VariableRequiredDefaultPurpose
DOCMAKE_API_KEYyesAPI key from app.docmake.io, Settings > API Keys
DOCMAKE_OUTPUT_DIRno~/Downloads/DocMakeWhere rendered documents are saved
DOCMAKE_API_BASEnohttps://app.docmake.io/api/v1API base URL, override for self-hosted setups

Tools

ToolWhat it does
list_templatesList the templates in your workspace, with search and pagination
get_templateA template's field tree: every variable it expects, ready to map to render data
render_documentRender a template to PDF or DOCX and save the file locally
create_templateCreate a new template from a document schema JSON
import_docxImport a local .docx file as a new template (base64 on the remote server)
get_usagePlan, render quota, and rate limits for the current billing period

The server also exposes your templates as MCP resources and ships a generate-document prompt for a guided render flow.

How rendering works

render_document is strict by default: if any template variable has no value in data, the render fails and returns the list of missing keys, so the assistant can ask you for the values instead of producing an incomplete document. Pass strict: false to render with each variable's fallback text instead.

Variables can declare a default value in the template editor. A defaulted variable never counts as missing: omit it from data and the default is rendered, even in strict mode. get_template shows each field's default (and example, a preview-only sample that is never rendered).

Rendered files are saved to DOCMAKE_OUTPUT_DIR and never overwrite an existing file.

Privacy Policy

Full policy: https://docmake.io/privacy

What this server collects. Nothing of its own. It has no telemetry and no analytics, and it never reads your chat history, memory, or files other than a .docx you explicitly pass to import_docx.

What it sends, and where. Every tool call is a request to the DocMake API at https://app.docmake.io/api/v1 over HTTPS, authenticated with your API key. Those requests carry only what the call needs: a template id, the data you asked to render, or the .docx you asked to import. DocMake processes that data to render your document.

Storage and retention. Your templates and account data live in your DocMake workspace and are retained until you delete them or close the account. Rendered documents are written to your own machine, under DOCMAKE_OUTPUT_DIR (~/Downloads/DocMake by default), and are never uploaded anywhere else. Your API key stays on your machine: the desktop extension keeps it in your operating system keychain, and a manual setup keeps it in your MCP client's config file.

Third-party sharing. Render data is not sold, and it is not shared with third parties beyond the subprocessors DocMake needs to run the service, listed in the full policy.

Contact. [email protected] for privacy questions, data export, or deletion.

Links

License

MIT

來源:README.md,提交 c648a6d

工具

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

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

其他 Make 整合