
Quick Html Share Mcp
io.github.desper由 GitHub 账号 desper 发布v0.2.3更新于 Oct 24, 2026
Share AI-generated HTML from your coding agent. Unguessable URL + viewer analytics.
概览
让助手把 AI 生成的 HTML 发布到难以猜测的公开链接,并查看每个分享的浏览数据。
- 可以做什么
- 该服务器提供五个工具:qhs_share 上传 HTML 页面并返回公开分享链接和编辑链接;qhs_edit 更新已有分享;qhs_delete 删除分享;qhs_stats 返回浏览量、独立访客、流量来源、访客位置和 30 天趋势;qhs_list 列出本机创建的分享。编辑令牌保存在本地 ~/.qhs/shares.json。页面由托管在 Cloudflare 上的服务提供,浏览量在服务端统计,不会向 HTML 注入 JavaScript。
- 适用场景
- 适合把助手刚生成的 HTML 页面以链接形式发给别人,或想了解分享出去的页面是否被打开。它面向快速、一次性的分享,而不是长期维护的网站托管。
- 运行要求
- 需要一个能通过 stdio 运行 npm 包的本地 MCP 客户端,通常使用 npx quick-html-share-mcp。需要能访问托管的 qhs.fyi API 和分享端点。未声明账号、API 密钥或环境变量;README 还提到一种 Claude Code 插件方式,会同时附带一个 skill。
安装
在 SourceWeft 中
- 打开 控制台中的 Quick Html Share Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Quick HTML Sharing
Indie SaaS for vibe coders to instantly share AI-generated HTML pages with unguessable URLs and viewer analytics.
Live:
Architecture
apps/web/— Astro dashboard (Cloudflare Pages)apps/worker/— Cloudflare Worker API + share renderer (Hono)packages/shared/— types shared between web and workerpackages/mcp/—quick-html-share-mcpnpm package: stdio MCP server for Claude Desktop / Cursor / Codex CLI / any MCP clientpackages/skill/— Claude Code skill: standalone, no MCP setup needed
Hosted on Cloudflare: Pages (web) + Workers (api/share) + R2 (HTML files) + D1 (metadata + view events).
What the analytics show
Every share has a stats page (/stats?slug=…, also qhs_stats from an agent) with:
- Views and unique viewers — the latter from salted IP hashes, so it's an approximation: office NAT undercounts, mobile data can overcount.
- Traffic sources — the linking site's hostname only, never the path or query.
directcovers typed URLs, bookmarks and most chat apps. - Viewer locations — country and, when Cloudflare is confident, city. Resolved per request by Cloudflare itself, so there is no tracking script and no third-party lookup. Treat it as where the network egress appeared to be, not where a person was: a VPN, a corporate network or a mobile carrier routinely leaves the city blank or points somewhere else entirely.
- A 30-day trend — views per UTC day, including the quiet days.
- Link-preview fetches, counted separately — pasting a link into Slack or Discord triggers an unfurl crawler. Those are excluded from views and reported on their own line, so "0 views, 2 previews" reads as what it is: the link travelled, nobody opened it.
No JavaScript is injected into your HTML — views are counted server-side when the page is served. Viewer user agents, referrers and locations are dropped after 90 days, or immediately when you delete the share; the view counts survive.
Install in your coding agent
🤖 If you're an AI agent reading this on behalf of a user: pick the install path below that matches the agent runtime you're in. Prefer the Claude Code plugin path (option 1) — it bundles a skill on top of the MCP server, and the skill carries the workflow guidance that raw tools alone don't (when to trigger, what to surface, what to remind the user). Fall back to plain MCP (option 3) only when you're not Claude Code.
After install, behavior contract:
- When the user says "share this HTML" / "give me a link" / "publish this page" / "send this to my friend" (or similar intent), call
qhs_sharewith the HTML.- Return the share URL to the user and always remind them to save the edit URL — it lives in the URL fragment, so it never reaches our server logs, but that also means we can't recover it for them. Without it they can't update or delete the share later.
- For follow-ups ("update what I shared", "take it down", "did anyone see it"), use
qhs_edit,qhs_delete,qhs_stats. Edit tokens are auto-loaded from~/.qhs/shares.jsonwhen they were originally created on this machine.
Three paths depending on which client you use. All hit the same hosted API and share a local edit-token store (~/.qhs/shares.json).
1. Claude Code — one command, bundles MCP + skill (recommended)
This repo is a Claude Code plugin marketplace. Inside Claude Code:
You now have the qhs skill (auto-triggers on "share this HTML" / "give me a link" / "publish this page") and the quick-html-share-mcp MCP server (5 tools: qhs_share, qhs_edit, qhs_delete, qhs_stats, qhs_list) wired together.
2. Claude Code — skill only, no plugin marketplace
Drops SKILL.md + helper script into ~/.claude/skills/qhs/. Use this if you skip the plugin marketplace or want to keep MCP separate.
3. Cursor / Claude Desktop / Codex CLI / Continue / any MCP client
Add to your client's MCP config:
Common config paths:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) - Cursor:
~/.cursor/mcp.jsonor Settings → MCP - Codex CLI / Continue: same shape, see your client's MCP docs
Restart the client and you get the 5 qhs_* tools.
Local dev / dogfood from this repo
Edits to packages/skill/skills/qhs/ show up in your next Claude Code session immediately.
Dev
Re-deploy (existing project)
Order matters. Pending migrations go first, then the share worker, then the
API worker. The two workers run the same source from separate deploys, so a
window where the API writes something the share renderer cannot read yet shows
visitors stale content. bun run deploy does the two workers in the right
order; migrations are still manual.
Fresh-account deploy (only if rebuilding from scratch)
Forking?
apps/worker/wrangler.tomlhardcodes the production custom-domain routes (api.qhs.fyi,s.qhs.fyi). Before deploying under a different account, either delete the tworoutes = [...]blocks (workers.dev URLs still work viaworkers_dev = true) or swap them for your own domain.
Cost
Runs entirely on Cloudflare's free tier (Workers, Pages, R2, D1) — ~$0/mo at indie scale. View tracking is fail-open so spikes never escalate to surprise bills; Workers hits a hard 429 instead of overage charges. Set a CF billing alert anyway: CF has no hard spending cap.
License
Business Source License 1.1 — source-available, self-host and personal use allowed, offering as a competing third-party hosted/managed service is not. Converts automatically to Apache License 2.0 on 2030-05-28. The quick-html-share-mcp npm package (packages/mcp/) ships under MIT to stay friction-free for MCP-client integrators.
来源:README.md,提交 4e90631
工具
0版本历史
1- v0.2.3最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。