SuperAPIAI Directory

htmldrop

github.com · AI developer platforms

🎖️ 📇 ☁️ - Publish HTML reports, dashboards and demos as shareable links with expiry, social preview cards and optional password protection. Self-hostable.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

htmldrop is an HTML publishing tool for agents and humans, with the core goal of converting any HTML, Markdown, PDF, or image file into a shareable link within seconds. It requires no Git, no build, and no dashboard; publishing is completed with a single API call, and it includes a built-in MCP server for agents to call directly.

Purpose

htmldrop is mainly used to publish various artifacts created by agents or humans, including reports, dashboards, charts, presentations, and more. Markdown, plain text, and JSON are rendered as clean reading pages; PDFs and images are served as-is. Each published link gets its own subdomain, an automatically generated Open Graph preview card, and a TTL (time to live), ensuring that shared artifacts do not exist permanently.

Main capabilities

  • Supports publishing in multiple formats such as HTML, Markdown, PDF, and images.
  • Each link has its own subdomain and an automatically generated Open Graph preview card.
  • Supports a TTL expiration mechanism; all artifacts eventually expire.
  • Optional per-artifact password protection.
  • Provides a hosted MCP server (https://htmldrop.link/mcp,Streamable HTTP), exposing one tool: publish_html.
  • Provides a self-hosted MCP server package htmldrop-mcp (npm, stdio), which can publish to your own storage and domain.
  • Supports passing an owner key via the x-htmldrop-key request header to get higher rate limits and a longer default TTL (x-pin-key remains backward compatible).
  • Secure defaults: artifacts are served with X-Robots-Tag: noindex, nofollow, noarchive; new HTML artifacts use a versioned CSP sandbox (inline scripts are allowed, but external network requests/resources, forms, pop-ups, and top-level navigation are blocked); rate limits by IP and by key; optional password protection.

How to use

Users can go directly to htmldrop.link and publish content by dragging and dropping an HTML file, pasting HTML source code, or sending a POST request to the API.

For agent integration, the hosted MCP server is located at https://htmldrop.link/mcp(Streamable HTTP), exposing the publish_html tool. Claude Desktop uses stdio, so it needs to be bridged to the hosted server via mcp-remote, with the configuration written in claude_desktop_config.json. Cursor can connect directly to the remote MCP URL, with the configuration written in .cursor/mcp.json. Codex's configuration is written in ~/.codex/config.toml.

Self-hosted instances can use the npm package htmldrop-mcp, which is a local stdio MCP server that can publish to your own storage and domain.

Complete agent-oriented documentation is located in AGENTS.md and can also be accessed at htmldrop.link/agents.md.

Self-Hosting and Deployment

When self-hosting, the only variable that needs to be set is BASE_DOMAIN; all other variables have usable defaults. When object storage is not configured, storage falls back to the local file system (./data), with no database required.

Regarding environment variables, any S3-compatible storage can be used for the CLOUDFLARE_R2_* variables (such as Cloudflare R2, AWS S3, MinIO, etc.). On ephemeral or container hosts, either use object storage or mount a persistent volume at ./data, otherwise artifacts will be lost on redeployment.

A production environment requires a wildcard DNS record (*.your-domain) pointing to the server so that artifact subdomains can resolve.

It can be deployed to Railway, then set BASE_DOMAIN and (optionally) the R2 variables in the Railway dashboard, and attach the domain and its wildcard.

Use Cases

htmldrop is suitable for scenarios that require quickly sharing agent- or human-generated HTML reports, dashboards, charts, presentations, and similar content, and is especially suited for users who want to avoid Git and build processes and pursue one-click publishing. It is also suitable for developers who need to provide publishing capabilities for agents, integrating into tools such as Claude Desktop, Cursor, and Codex through the MCP server.

Limitations

  • All artifacts expire via TTL and are not suitable for content that needs to be preserved permanently.
  • New HTML artifacts have CSP sandboxing enabled by default, and external network requests, resource loading, forms, pop-ups, and top-level navigation are blocked.
  • A production environment requiresa wildcard DNS record.
  • On ephemeral or container hosts, if object storage or a persistent volume is not used, redeployment will cause artifacts to be lost.
  • For more information on fees, pricing, platform support, etc., the materials do not currently provide it.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools