quick-html-share-mcp
v0.2.3Share AI-generated HTML from your coding agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
qhs_edit
Replace the HTML at a previously shared slug. Use when the user wants to update a share they already created — e.g. 'fix the typo on the page I shared', 'update that demo with the new code'. The shareUrl stays the same; viewers who already loaded the page need to refresh. Requires an edit token in ~/.qhs/shares.json (populated when qhs_share or the companion Claude Code skill created the share). If the slug is unknown, ask the user to paste their edit URL — the part after #edit= is the token.
| Parameter | Type | Description |
|---|---|---|
html * | string | |
slug * | string | |
editToken | string | Override the locally-stored edit token. Pass this if the user supplied a fresh edit URL. |
qhs_delete
Permanently delete a previously shared HTML. After this, the share URL returns 404. Use when the user says 'delete my share', 'take that page down', 'remove the demo I posted'. Requires an edit token (same as qhs_edit). Idempotent: re-deleting an already-deleted slug returns ok.
| Parameter | Type | Description |
|---|---|---|
slug * | string | |
editToken | string |
qhs_stats
Get view statistics for a share: total view count, last viewed time, created time, and whether the share is deleted. Use when the user asks 'did anyone see my share', 'how many views', 'check who looked at it', 'is the demo getting traffic'. No edit token required — anyone with the slug can read stats (matches the product’s "link is the secret" model).
| Parameter | Type | Description |
|---|---|---|
slug * | string |
qhs_list
List shares this machine has created via qhs_share or the companion skill. Use when the user asks 'what have I shared', 'list my shares', 'show recent links'. Returns slug + shareUrl + createdAt + optional title from local storage only (~/.qhs/shares.json). Does NOT include shares created from other machines.