ReflowPDF

com.reflowpdf由 reflowpdf.com 发布官方发布者v1.0.0更新于 Oct 27, 2026

Paged PDFs from HTML and CSS, document templates, and an editor link for every document.

已验证Streamable HTTP可网页运行效率与工作流文件与存储媒体与设计

概览

AI 生成的概览

ReflowPDF 把 HTML 和 CSS 排版成分页 PDF,可用数据填充模板,并为每份文档返回 PDF 链接和编辑器链接。

可以做什么
  • 将 HTML 与 CSS 渲染为分页 PDF,支持页眉页脚、页码、目录、脚注、分栏、封面和表单
  • 列出并读取发票、合同、报告、简历等模板,用 JSON 数据填充后打印
  • 在 ReflowPDF 编辑器中打开文档,并在用户修改后读回当前源码、模板数据和版本
  • 为已有文档写入新版本并重新打印
  • 上传图片并取得链接,用于在文档中嵌入,替代 data URI
  • 把已有 PDF 导入编辑器,重建为可编辑文档
适用场景
适合需要从 HTML 或模板生成精美、可直接打印的 PDF(发票、合同、报告、证书、信函),并希望用户自己在浏览器编辑器中继续修改的场景。也适合文档生成后用户继续提出修改的反复迭代工作。
运行要求
远程 MCP 端点,无需本地安装。未声明 API 密钥或环境变量。若要去掉 ReflowPDF 标记、使用套餐页数、把文档保存在账户中,或对导入的 PDF 进行 AI 重建,则需要一个免费账户。
安装前请注意
文档和上传的图片会发送到第三方服务,PDF 链接 24 小时后失效。导入非 ReflowPDF 生成的 PDF 会使用 AI 页数并需要免费账户,编辑器会显示费用。update_document 会用新版本覆盖文档,应先读取。通过 connect_account 登录后,后续所有调用都作用于该用户的账户。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.reflowpdf%2Freflowpdf/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "reflowpdf": {
      "type": "http",
      "url": "https://app.reflowpdf.com/mcp"
    }
  }
}

工具

11

render_pdf

Print HTML to PDF

Lays out a whole HTML document (with its CSS) as paged print and returns a download link to the PDF, valid 24 hours, and the document's edit link in the ReflowPDF editor (give the person both). Use @page for paper and margins, margin boxes for headers, footers and page numbers; JavaScript does not run. Read read_guide topic "html" before the first document. To change the document later, use update_document with its document_id.

输入参数html必填previewfilename

render_template

Fill a template and print it

Fills a template with JSON data and prints it to PDF (a download link, valid 24 hours, and the edit link in the editor, where its template and data stay editable — until the person edits it on the page, which makes it a plain HTML document: then change its html). Either a gallery template (template_id from list_templates; without data it prints its sample) or your own template source. Send data in the shape of the template's sample (get_template). The language: read_guide topic "templates".

输入参数datapreviewfilenametemplatetemplate_id

list_templates

Find a document template

Lists the gallery's ready documents — invoices, quotes, receipts, statements, reports, contracts, letters, CVs, certificates, tickets, labels, menus and more — each a template with sample data. Search by a word ("invoice", "contract") or a category.

输入参数querycategory

get_template

Read a template and its sample data

Returns a gallery template's source and its sample data, to fill with the person's values (render_template) or to adapt into your own template.

输入参数id必填

open_in_editor

Open in the ReflowPDF editor

Returns the edit link of a document in the ReflowPDF editor, where the person edits it on the page and downloads it: your HTML, or a template with its data (kept as template and data, both editable). Use when the person wants to change the document themselves; you can read their changes and change it too (get_document, update_document).

输入参数datahtmlnametemplate_id

get_document

Read a document by its link

Returns a document made with ReflowPDF (by you, or opened in the editor from your link) as it is now — the person may have edited it in the editor: its source HTML, template data and revision. Read it before changing it with update_document.

输入参数document_id必填

update_document

Change a document by its link

Writes a new version of a document by its link — e.g. the person asks in the chat to remove something on page 2 — and prints it again: the PDF link, the same edit link (the editor open on it shows the change). Send the whole new html (and data, if it is a template), changed from what get_document returned, with base_revision: a document the person changed after you read it is refused, so read it again.

输入参数datahtmlnamepreviewfilenamedocument_id必填base_revision必填

upload_image

Keep an image for a document

Keeps an image whose bytes you have (one you made, or a small file you can read) and returns its link, to use as <img src> or CSS url() in render_pdf, render_template, open_in_editor and update_document — instead of a data: URI, so the document stays small when you read it back. You send the bytes as base64 text, so this is for small images (a logo, an icon: tens of KB); PNG, JPEG, GIF, WebP or AVIF, at most 10 MB. A picture the person has (their photo, their logo file): ask them to add it in the editor at the edit link — drag it onto the page — and read it back with get_document. An image at a public https address needs no upload: use that address. An SVG goes into the HTML as it is. The image lasts 30 days after a document using it last changed.

输入参数image_base64必填

import_pdf

Import a PDF into the editor

Returns a link (valid 24 hours) that opens an existing PDF in the ReflowPDF editor's import, which rebuilds it as an editable document. A PDF made by ReflowPDF opens from its own source at once; any other is rebuilt by AI, which needs a free account and uses its AI pages (the editor shows the cost first). Give a public https URL of the PDF, or its bytes in base64 (small files).

输入参数urlnamepdf_base64

connect_account

Connect the person's ReflowPDF account

Signs the person in to their ReflowPDF account (a free one is enough), when they want PDFs without the ReflowPDF mark, their plan's pages, or the documents you make kept in their account. Their client shows a Connect button; once they have signed in, every call of yours is their account's. Without it everything works too, as a guest: every page, with a small mark.

无需输入参数。

read_guide

How to write documents for ReflowPDF

The engine's guide: "overview" (the tools), "html" (paper, headers/footers, page numbers, tables of contents, footnotes, fonts, images, accessibility), "pages" (page kinds, breaks and keeping together, covers, numbering, bleed and crop marks), "design" (columns, drop caps, page decorations and watermarks, spacing, images and text wrap, typography), "charts" (the chart block), "codes" (QR codes and barcodes), "forms" (fillable fields), "templates" (the template language).

输入参数topic

版本历史

1
  1. v1.0.0最新Oct 26, 2026

评分

已满足适用检查项的 83%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。