把 HTML 文档变成一键打开、在聊天里显示预览卡的分享链接;支持发布、更新,以及导出 PNG/PDF/Word。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:jcaiagent7143-ui/sendpage-mcp
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Publish an HTML document as a shareable link the recipient can open in one tap — without leaving the conversation that wrote it.
Endpoint: https://sendpageapp.com/mcp · Transport: Streamable HTTP
(stateless) · Auth: bearer API key, free, no signup
Why
An HTML file is a set of drawing instructions, not a document. Sent as an attachment it arrives as raw source, gets stripped by corporate mail filters as a known phishing vector, or simply will not open on a phone — which is where most people read first. Printing to PDF loses interactive charts and quietly cuts the right-hand columns off wide tables, which is the failure worth fearing: nobody notices until a client asks about a figure that is not in the document.
A link avoids all of it. The recipient taps once and reads the page as designed, on whatever device they have.
Connect it
Generate a free key at https://sendpageapp.com/docs/mcp, then:
claude mcp add --transport http sendpage https://sendpageapp.com/mcp \
--header "Authorization: Bearer sp_live_..."
Or by hand, in .mcp.json:
{
"mcpServers": {
"sendpage": {
"type": "http",
"url": "https://sendpageapp.com/mcp",
"headers": { "Authorization": "Bearer sp_live_..." }
}
}
}
Tools
| Tool | What it does |
|---|---|
publish_document |
HTML in, share link out. Returns the link, the document id and an edit token — plus a warning naming any images that would fail to load. |
update_document |
Replace the contents or title. The link does not change, so a typo found after sending costs a correction rather than a second URL. |
list_documents |
Documents published with this key, with links and view counts. |
The missing-image warning
AI tools emit a page plus an images/ folder, and people paste only the HTML —
so the images 404 and every reader sees broken icons. publish_document returns
the offending files by name, so they can be inlined as data URIs and the
document updated before the link is handed over. This is the single most common
way a published page is quietly wrong.
The Skill
skills/sendpage/SKILL.md teaches Claude when to
offer a link, how to repair a document whose images would not load, and to update
an existing document rather than publish a second one.
mkdir -p ~/.claude/skills/sendpage
curl -o ~/.claude/skills/sendpage/SKILL.md \
https://sendpageapp.com/skills/sendpage/SKILL.md
Limits
- Free: 5 documents a month, each with a small "Made with SendPage" footer. Pro removes both.
- 2 MB per document, inlined images included.
- Links are unlisted, not secret. Anyone with the URL can read the document,
and
robots.txtkeeps them out of search results. Password protection exists for anything confidential, and it gates the exports and the preview thumbnail too — not just the page. - The API key is stored only as a hash. It is shown once when generated and cannot be recovered; if you lose it, revoke it and generate another.
Notes on the transport
Stateless Streamable HTTP: a single POST returns one JSON body, and GET
answers 405 to decline the optional server-initiated SSE stream. Sessions are
never created, so any instance can serve any request — which is what makes the
server hostable on a serverless runtime, where a long-lived SSE connection would
be killed by the execution limit rather than by anything the client did.
Without a key the endpoint answers 401 with a WWW-Authenticate header —
that is a missing credential, not a broken server.
Issues
This repository holds the connection metadata and the Skill. For problems with the server itself, open an issue here.
Use it in DeepSeek Harness (dsh)
This repo is also a DeepSeek Harness bundle — install it and SendPage's tools mount straight into dsh, with no manual MCP config:
dsh plugin --profile web add https://github.com/jcaiagent7143-ui/sendpage-mcp
Then set your free key (get one at https://sendpageapp.com/docs/mcp) so publishing
and exporting work — in the environment, or in $DSH_HOME/.credentials.yaml:
SENDPAGE_API_KEY: <your key>
The tools appear under the sendpage namespace — mcp__sendpage__publish_document,
mcp__sendpage__export_document (png/pdf/docx), and the rest. Prefer to wire the raw
endpoint yourself? It's https://sendpageapp.com/mcp (Streamable HTTP).
链接
同类插件
tt-a1i/archify#integrations/deepseek-harness★ 73620
从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。
dream-num/dsh-univer-office★ 429
为 DeepSeek Harness 打造一个真正的办公环境。Univer Office 插件将电子表格、文档、幻灯片、画布、多维表格等汇聚到同一个运行时——数据互联、修改经过校验、变更按版本管理,并以隔离工作树支持多 Agent 协作。
PerryLink/dsh-industry-research★ 182
面向 DeepSeek Harness 的确定性行业研究报告:公司与行业研究流程基于分阶段证据产出结构化、可核验的报告。
HuanLinOTO/dsh-plugin-mineru★ 47
向模型暴露 MineRU 文档解析工具。
kw78/dsh-office-tools★ 26
面向 agent 的工作区安全 Office 工具集:创建/读取 Word、创建/读取/更新 Excel、创建/读取 PowerPoint,并支持 PNG/JPG/GIF 图片排版。
PolinniZhong/dsh-knit★ 16
把会话工作区里已有的 Markdown 文档、图片与视频列进 DSH 侧边栏,按与当前对话的相关性排序:用最近几条消息在本地与文档标题、摘要、正文做带 IDF 权重的匹配,不调用模型,也没有网络出口。列表来自工作区扫描,而不是「最近打开记录」,所以重启 DSH 或新开会话都不会变空。图片与视频可就地预览,相对路径图片真实渲染,视频走 HTTP Range 流式播放。预览头下方的引用条显示当前这篇被哪些文档引用、又引用了哪些,点一项即可跳过去。同一份排序也作为 knit_docs 工具交给 agent:它返回最相关的若干篇,并附上每篇里命中的那段原文(有命中时才附)。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。