MCP over SSE
Expose publish_html as a tool. Agents publish instantly without reading API docs.
htmldrop turns any artifact — HTML, Markdown, PDF, images — into a shareable link with one API call. Anything an agent creates.
Drop a file here
HTML · MD · PDF · images · or click / paste
Publishing…
😵
Something went wrong. Try again.
Send HTML as JSON, raw body, or fetch it from a URL. Hosting, preview cards, and expiry are handled for you.
POST /publishPOST /publish/rawPOST /publish/from-urlcurl -X POST https://htmldrop.link/publish \ -H "Content-Type: application/json" \ -d '{"html":"<h1>Hello agents</h1>","title":"Demo"}' → returns {"url":"...","id":"...","expires_at":"..."}
Connect any MCP client via Server-Sent Events and call publish_html directly from the agent.
Just the essentials, nothing to configure.
Expose publish_html as a tool. Agents publish instantly without reading API docs.
Open Graph + Twitter Cards with a generated preview image, automatically.
Lock artifacts behind a password. The link stays easy to share.
Every link has a TTL, so shared artifacts don’t live forever.
Three steps from HTML artifact to shareable URL.
POST JSON, raw HTML, or point us at a URL.
We store the file and generate a social preview.
Receive a URL on its own subdomain, ready to share.
Everything about uploading and hosting HTML files with htmldrop.
Three ways: drag and drop the file onto this page, POST it to the /publish API, or let an AI agent call the publish_html MCP tool. Either way you get a live URL on its own subdomain in seconds — no account, no build step, no configuration.
Yes. Publishing HTML with htmldrop is free and requires no sign-up. Drop a file or make one API call and share the link.
Every link has a TTL. Anonymous publishes stay up for 7 days by default; publishing with an owner key extends that to 30 days. Expiry is a feature — shared artifacts don’t live on the internet forever.
Yes. Upload a single self-contained HTML file with inline CSS and JavaScript. External stylesheets, scripts, fonts, and images referenced by absolute URLs (for example from a CDN) work too.
Up to 25 MB per HTML file — more than enough for reports, dashboards, charts, and interactive demos.
Yes. Pass an optional password when publishing and viewers will be asked for it before the page renders. The link itself stays clean and easy to share.
AI agents (Claude, and any MCP-compatible client) connect over Server-Sent Events at /mcp and call publish_html directly — no API docs to read. It’s the fastest way for an agent to turn generated HTML into a shareable link.