Lets an AI client instantly publish AI-generated HTML pages with unguessable URLs and track viewer analytics.
Also known as desper/quick-html-sharing, quick-html-sharing
- Stars
- 1
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 0.2.3
- Last commit
- Aug 20, 2026
- License
- —
What is Quick HTML Sharing MCP?
Quick HTML Sharing lets an AI client instantly publish AI-generated HTML pages with unguessable URLs and track viewer analytics.
Summary generated from the project's README
About Quick HTML Sharing MCP server
Publishing AI-generated HTML pages with unguessable URLs and tracking viewer analytics is what this server enables for developers and vibe coders. It provides a way to instantly turn code into live web pages that can be shared with others. The server operates via a stdio connection, making it compatible with Claude Desktop, Cursor, Codex CLI, and other MCP clients through an npx command.
Users can manage their hosted content using five specific tools: qhs_share for publishing, qhs_edit for updates, qhs_delete for removal, qhs_stats for viewing analytics, and qhs_list to see existing shares. The system tracks views, unique visitors, traffic sources, and viewer locations without injecting any JavaScript into the HTML. It also distinguishes between actual human views and link-preview fetches from apps like Slack or Discord. All metadata and view events are stored using Cloudflare D1 and R2, while edit tokens are managed locally in a ~/.qhs/shares.json file.
What you can do with it
- 1Publishing generated web pagesSend a newly created HTML snippet to a friend by turning it into a live URL.
- 2Updating shared contentModify the HTML of a page that is already live on the internet.
Written from the project's README. Every use case is checked against a quote from it.
How to install Quick HTML Sharing MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall Quick HTML Sharing MCP in Claude Code
$ claude mcp add quick-html-sharing -- npx -y quick-html-share-mcpInstall Quick HTML Sharing MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"quick-html-sharing": {
"command": "npx",
"args": [
"-y",
"quick-html-share-mcp"
]
}
}
}Install Quick HTML Sharing MCP in VS Code
.vscode/mcp.json
{
"servers": {
"quick-html-sharing": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"quick-html-share-mcp"
]
}
}
}Install Quick HTML Sharing MCP in VS Code CLI
$ code --add-mcp '{"name":"quick-html-sharing","type":"stdio","command":"npx","args":["-y","quick-html-share-mcp"]}'Install Quick HTML Sharing MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"quick-html-sharing": {
"command": "npx",
"args": [
"-y",
"quick-html-share-mcp"
]
}
}
}Install Quick HTML Sharing MCP in Codex
$ codex mcp add quick-html-sharing -- npx -y quick-html-share-mcpInstall Quick HTML Sharing MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.quick-html-sharing] command = "npx" args = ["-y", "quick-html-share-mcp"]
Install Quick HTML Sharing MCP in Gemini CLI
$ gemini mcp add -s user quick-html-sharing npx -- -y quick-html-share-mcpInstall Quick HTML Sharing MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"quick-html-sharing": {
"command": "npx",
"args": [
"-y",
"quick-html-share-mcp"
]
}
}
}Configuration
PUBLIC_API_BASEPUBLIC_SHARE_BASE
| Name | Description | |
|---|---|---|
| PUBLIC_API_BASE | — | |
| PUBLIC_SHARE_BASE | — |
Automated checks
Ran Nov 15, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work · What to fix for more points
- Source repository linked and reachabledesper/quick-html-sharing is public and reachablegithub.com/desper/quick-html-sharing ↗Pass
- Package names this repository as its sourcequick-html-share-mcp names desper/quick-html-sharing as sourcenpmjs.com/package/quick-html-share-mcp ↗Pass
- Build provenance (Sigstore attestation)No build attestation published for this releaseNot checked
- Open source license (OSI)No licenseFinding
- Commit or release in the last yearLast commit or release 2026-08-20github.com/desper/quick-html-sharing ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNo popular package one edit away from quick-html-share-mcpPass
- No critical advisory in the package or its dependencies99 resolved dependencies checked; no critical advisoryosv.dev ↗Pass
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeNot checked
README
View on GitHubQuick HTML Sharing
Indie SaaS for vibe coders to instantly share AI-generated HTML pages with unguessable URLs and viewer analytics.
Live:
| Surface | URL |
|---|---|
| Dashboard (paste HTML, get URL) | https://qhs.fyi |
| API worker | https://api.qhs.fyi |
| Share worker | https://s.qhs.fyi/`` |
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:
/plugin marketplace add github.com/desper/quick-html-sharing
/plugin install qhs@quick-html-sharing
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
curl -fsSL https://qhs.fyi/install.sh | bash
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:
{
"mcpServers": {
"qhs": { "command": "npx", "args": ["-y", "quick-html-share-mcp"] }
}
}
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
ln -s "$(pwd)/packages/skill/skills/qhs" ~/.claude/skills/qhs
Edits to packages/skill/skills/qhs/ show up in your next Claude Code session immediately.
Dev
bun install
bun run dev:worker # apps/worker on :8787
bun run dev:web # apps/web on :4321
# MCP server
cd packages/mcp && bun run build && node dist/index.js
# Skill helper (standalone)
node packages/skill/skills/qhs/scripts/qhs.mjs share path/to/file.html
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.
# Workers
cd apps/worker
# 1. any unapplied migration (see db/migrations/), e.g.
# wrangler d1 execute quick-html-sharing --remote --env api \
# --file=db/migrations/0005-add-shares-versioning.sql
# 2. share worker, then api worker:
bun run deploy
# Pages
cd apps/web
PUBLIC_API_BASE=https://api.qhs.fyi/api \
PUBLIC_SHARE_BASE=https://s.qhs.fyi \
bun run build
../../node_modules/.bin/wrangler pages deploy dist --project-name=qhs --branch=main
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.
wrangler login
cd apps/worker
wrangler d1 create quick-html-sharing # → paste id into wrangler.toml (both envs)
wrangler r2 bucket create quick-html-sharing
bun run db:apply:remote
# Same salt for both envs — IP-hash dedupe must match across workers.
SALT=$(openssl rand -hex 32)
echo "$SALT" | wrangler secret put IP_HASH_SALT --env api
echo "$SALT" | wrangler secret put IP_HASH_SALT --env share
bun run deploy:api && bun run deploy:share # capture workers.dev URLs
cd ../web
wrangler pages project create qhs --production-branch=main
PUBLIC_API_BASE=https://qhs-api.<your-subdomain>.workers.dev/api \
PUBLIC_SHARE_BASE=https://qhs-share.<your-subdomain>.workers.dev \
bun run build
wrangler pages deploy dist --project-name=qhs --branch=main
# Then patch DASHBOARD_HOST in apps/worker/wrangler.toml to your real
# qhs-XXX.pages.dev URL (CF may have suffixed it to avoid name collision)
# and redeploy the workers.
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.
Quick HTML Sharing MCP questions
How do I add Quick HTML Sharing MCP to Claude Code?
Run claude mcp add quick-html-sharing -- npx -y quick-html-share-mcp in your terminal. Add --scope user to make it available in every project.
How do I add Quick HTML Sharing MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
How do I share HTML using my AI agent?
When the user expresses intent to share, the agent should call the qhs_share tool with the HTML content.
Can I update or delete a shared page later?
Yes, you can use the qhs_edit or qhs_delete tools, but you must save the edit URL found in the URL fragment, as it is not stored on the server.
Does the service inject tracking scripts into my HTML?
No, views are counted server-side when the page is served, so no JavaScript is injected.