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 分