RenderDock

io.github.haitao-66由 GitHub 账号 haitao-66 发布v0.1.1更新于 Nov 24, 2026

Render Markdown, HTML, URLs, or templates to polished PDF and PNG files

发布方自己的服务:Dock

已验证STDIO仅桌面文件与存储媒体与设计

概览

AI 生成的概览

RenderDock 为助手提供一个 render 工具,可将 Markdown、HTML、公开网址或 Handlebars 模板渲染为 PDF 或 PNG 文件。

可以做什么
将 Markdown、HTML、公开网址或带数据的 Handlebars 模板渲染为 PDF 或 PNG,每次调用只能选择一种输入来源。把结果保存为本地文件并返回路径,或以 base64 形式返回文件内容。
适用场景
适合让助手根据文本或模板直接生成可分享的文档或图片,例如报告、发票或单页摘要,无需离开对话。
运行要求
需要本地 Node.js 运行环境来运行该 npm 包(全局安装或通过 npx)。需要在 RENDERDOCK_API_KEY 环境变量中提供 RenderDock API 密钥,并能访问渲染端点;该端点默认指向本地地址,可通过 RENDERDOCK_API_URL 修改。
安装前请注意
需要 RenderDock API 密钥(RENDERDOCK_API_KEY),属于机密信息,且可能关联付费账户。该工具会向磁盘写入文件,用于渲染的内容(包括所填网址)会发送到配置的渲染端点。

AI 概览如何生成和校验

安装

在 SourceWeft 中

  1. 打开 控制台中的 RenderDock,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@renderdock/mcp

Give your AI agent a render tool — RenderDock turns Markdown, HTML, public URLs, and Handlebars templates into polished PDF and PNG files.

Install & run

npm install -g @renderdock/mcp
renderdock-mcp

Or with npx:

npx @renderdock/mcp

Configuration

VariableRequiredDescription
RENDERDOCK_API_KEYyesYour RenderDock API key (starts with rd_)
RENDERDOCK_API_URLnoRender endpoint (default http://127.0.0.1:8787)

Tools

render

Renders exactly one of markdown, html, url, or template (+ data) into pdf (default) or png.

Returns the local path of the written file (default) or base64 with response_mode: "base64".

Example arguments:

{ "markdown": "# Weekly report\n\nShipped the queue.", "format": "pdf", "filename": "weekly-report" }
{ "template": "<h1>Invoice for {{company}}</h1>", "data": { "company": "Acme GmbH" }, "format": "pdf" }

Adding to Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "renderdock": {
      "command": "npx",
      "args": ["@renderdock/mcp"],
      "env": { "RENDERDOCK_API_KEY": "rd_your_key", "RENDERDOCK_API_URL": "https://api.renderdock.dev/v1/render" }
    }
  }
}

Get an API key: https://renderdock.dev

来源:mcp/README.md,提交 b25b0ca

工具

1

render

Render to PDF or PNG

Render Markdown, HTML, a public URL, or a Handlebars template with data into a PDF or PNG file. Exactly one of markdown, html, url, or template is required. Returns the local path of the written output file (response_mode: path, default) or the file as base64 (response_mode: base64).

输入参数urldatahtmlpaperwidthformatheightout_dir另有 4 个

版本历史

1
  1. v0.1.1最新Nov 19, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

这个评分如何计算

其他 Dock 集成