htmldrop — Claude Code MCP server: what it does, how to install
Publishes HTML, Markdown, PDFs, and images as shareable links with expiry and optional passwords. Useful for reports, demos, and agent-created files.
claude mcp add --transport http htmldrop https://htmldrop.link/mcpWhat htmldrop does
htmldrop turns HTML, Markdown, PDF, and image files into links that others can open. Markdown, text, and JSON become reader pages, while PDFs and images are delivered in their original form. Each published item receives its own subdomain, an expiry time, and a preview card.
The hosted MCP endpoint is https://htmldrop.link/mcp. Its publish_html tool accepts HTML, Markdown, or a remote URL, with optional title, TTL, password, and owner key fields. The same service also exposes REST publishing endpoints.
A self-hosted deployment needs BASE_DOMAIN and wildcard DNS for artifact subdomains. Storage can use the local filesystem or an S3-compatible service; ephemeral hosts need persistent storage or published files disappear after redeployment.
What it helps with
- publish an HTML report as a link
- turn Markdown into a reader page
- share a PDF or image without building a site
- add password protection to a published artifact
- set an expiry period for shared content
Example prompts for the agent
- Publish this HTML report with htmldrop and return the link.
- Turn
report.mdinto a reader page with the title “Results”. - Publish this PDF with a password and the requested expiry.
How to install htmldrop
Platform CLI: remote server
claude mcp add --transport http htmldrop https://htmldrop.link/mcpPlatform CLI: remote server
codex mcp add htmldrop --url https://htmldrop.link/mcpConfig file
{
"mcpServers": {
"htmldrop": {
"url": "https://htmldrop.link/mcp"
}
}
}Config file
{
"servers": {
"htmldrop": {
"type": "http",
"url": "https://htmldrop.link/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http htmldrop https://htmldrop.link/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about htmldrop
How do I install htmldrop in Claude Code?
Run claude mcp add --transport http htmldrop https://htmldrop.link/mcp. Claude Code can then use the hosted MCP server.
What does htmldrop do?
It publishes HTML, Markdown, PDFs, and images as links on separate subdomains. A publication can include an expiry period and password protection.
What is required to self-host htmldrop?
Set BASE_DOMAIN and configure wildcard DNS for the artifact subdomains. Storage can be local or S3-compatible.