Rendoc Mcp Server

io.github.yoryocoruxo-ai由 GitHub 帳號 yoryocoruxo-ai 發布v1.0.9更新於 Oct 24, 2026

Generate professional PDFs (invoices, contracts, reports) from AI tools via rendoc templates.

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

概覽

AI 產生的概覽

Rendoc MCP 伺服器讓 AI 助理透過 rendoc 範本或內嵌標記產生發票、合約、報告、證書等專業 PDF 文件。

可以做什麼
  • 以已儲存的範本或內嵌 HTML/Handlebars 標記產生 PDF,可指定紙張尺寸與方向
  • 列出可用範本,並檢視範本的標記、樣式與 schema
  • 建立可重複使用的新範本,依 ID 刪除範本
  • 查詢已產生文件的詳細資料,包括下載連結與中繼資料
  • 查看每月 API 用量統計
適用情境
適合希望助理在對話中直接把提示或資料集變成成品 PDF 的情境,例如發票、合約、證書、報告或批次產生;也適合需要具 schema 驗證的可重複使用範本時使用。
執行需求
以 stdio 方式在本機執行,通常透過 npx 啟動 npm 套件 @rendoc/mcp-server,因此需要 Node.js。需要 rendoc 帳號,並透過環境變數 RENDOC_API_KEY 提供 API 金鑰;選用環境變數 RENDOC_API_URL 可指向自架實例。需要能連線至 rendoc API 的網路。
安裝前請注意
RENDOC_API_KEY 是存放在用戶端設定中的密鑰。文件內容與資料會傳送到 rendoc API 以產生 PDF,若不希望外傳請勿在提示中放入敏感資訊。伺服器可建立與刪除範本,會變更帳號中的資料,且用量可能依方案計費。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

@rendoc/mcp-server

[npm version] [License: MIT] [CI]

[rendoc MCP server]

The rendoc MCP server lets AI assistants like Claude Desktop, Cursor, and any other MCP-compatible client generate professional PDF documents on demand. Connect your AI to rendoc and it can create invoices, contracts, reports, certificates, and any other PDF — from reusable templates or inline HTML/Handlebars markup — all from a natural language prompt.

Turn "Generate an invoice for Acme Corp, 40 hours of consulting at €85/h" into a delivered PDF in seconds.

Use Cases

Use CaseExample Prompt
Invoices"Generate an invoice for client X with these line items..."
Contracts"Draft a freelance contract for TechStart SL, €18,000 fee, 50% upfront..."
Certificates"Issue a course completion certificate for María González..."
Reports"Create a March 2026 sales report with these KPIs..."
Bulk generation"Generate certificates for all 50 attendees in this CSV"
Custom documentsAnything you can describe in HTML + data

See detailed walkthroughs in examples/.

Features

  • 7 tools for document generation, template management, and usage tracking
  • Template-based or inline — save reusable templates or pass markup on the fly
  • Handlebars syntax — use {{variables}}, {{#each}}, {{#if}} in your markup
  • Multiple paper sizes — A4, Letter, Legal, A3, A5, portrait or landscape
  • Schema validation — templates can declare a JSON Schema so the AI can't pass invalid data
  • Zero config — just set RENDOC_API_KEY and go
  • Lightweight — ~35 KB unpacked, pure TypeScript, only 2 runtime dependencies
  • Verified on Glama — security, quality, and license checks passed

Quick Setup for Claude Desktop

Add this to your Claude Desktop configuration file (claude_desktop_config.json):

json
{  "mcpServers": {    "rendoc": {      "command": "npx",      "args": ["-y", "@rendoc/mcp-server"],      "env": {        "RENDOC_API_KEY": "your-api-key"      }    }  }}

Restart Claude Desktop. The rendoc tools will appear in the MCP tools menu.

Quick Setup for Claude Code

Add this to your project or global settings (.claude/settings.json):

json
{  "mcpServers": {    "rendoc": {      "command": "npx",      "args": ["-y", "@rendoc/mcp-server"],      "env": {        "RENDOC_API_KEY": "your-api-key"      }    }  }}

Quick Setup for Cursor

Add to ~/.cursor/mcp.json (or your project's .cursor/mcp.json):

json
{  "mcpServers": {    "rendoc": {      "command": "npx",      "args": ["-y", "@rendoc/mcp-server"],      "env": {        "RENDOC_API_KEY": "your-api-key"      }    }  }}

Available Tools

ToolDescriptionKey Parameters
generate_documentGenerate a PDF from a template or inline markuptemplate_id or markup, data, paper_size?, orientation?, filename?
list_templatesList available document templatescategory?
preview_templateInspect a template's markup, styles, and schematemplate_id
create_templateCreate a new reusable templatename, slug, markup, schema, category?, styles?, sample_data?, paper_size?, orientation?, is_public?
delete_templateDelete a template by IDtemplate_id
get_documentGet details of a generated documentdocument_id
get_usageView monthly API usage statistics(none)

Each tool returns structured JSON with download URLs, document IDs, and metadata the assistant can act on.

Get an API Key

  1. Sign up at rendoc.dev
  2. Go to the API Keys dashboard
  3. Create a new key and copy it into your MCP client config

Environment Variables

VariableRequiredDefaultDescription
RENDOC_API_KEYYes—Your rendoc API key for authentication
RENDOC_API_URLNohttps://rendoc.devBase URL for the rendoc API (useful for self-hosted instances)

Examples

Detailed walkthroughs with real prompts and tool calls:

How It Works

┌──────────────┐   MCP/stdio    ┌────────────────────┐   HTTPS   ┌─────────────┐│ Claude Code  │ ─────────────▶ │ @rendoc/mcp-server │ ────────▶ │ rendoc API  ││ / Desktop    │                │   (this package)    │           │  (PDF gen)  │└──────────────┘ ◀───────────── └────────────────────┘ ◀──────── └─────────────┘        ▲         tool results                        download URL        │        └── User prompt: "Generate an invoice for..."

The MCP server translates natural language tool calls from your AI assistant into authenticated REST requests to the rendoc API, and returns structured responses with PDF download URLs.

Contributing

Contributions are welcome. See CONTRIBUTING.md for development setup and PR guidelines.

For security issues, please see SECURITY.md and email [email protected] — do not open a public issue.

Links

License

MIT — see LICENSE.

來源:README.md,提交 c6bb53b

工具

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

版本歷史

1
  1. v1.0.9最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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