mortal-web-mcp
v0.1.0
Published
MCP server for Mortal Web — publish HTML to a public URL that dies unless visited.
Maintainers
Readme
mortal-web-mcp
MCP server backing Mortal Web. Used internally by the Mortal Web Claude Code plugin.
If you're an end user, install the plugin instead, not this raw MCP package.
/plugin marketplace add k-1627/mortal-web /plugin install mortal-web@k-1627-mortal-webThen use
/publishinside Claude Code.
What this package does
Exposes a single MCP tool, mortal_publish(html, title?), that:
- Lazily registers an anonymous device token with the backend (cached at
~/.mortal-token-<host-hash>). POST /api/publishwith the HTML body.- Returns the public URL, creator-cookie URL, manage URL, QR URL, OG image URL, lifetime stats.
The companion skill (/publish slash command) that knows which HTML to publish lives in the plugin repo, not here.
Custom backend (self-hosted)
MORTAL_BACKEND_URL=https://your-host \
claude mcp add mortal-web-local -- npx -y mortal-web-mcpLicense
MIT
