Share HTML MCP Server

Create sandboxed public-unlisted or access-key-protected HTML previews through a remote MCP server.

Remote serverstreamable-httpTypeScript

What is the Share HTML MCP server?

Create sandboxed public-unlisted or access-key-protected HTML previews through a remote MCP server. The share html mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

What it actually does

Upload one HTML file, then share a sandboxed preview as an unlisted public link or an access-key-protected private link.

  • Anonymous upload flow with a 365-day expiry
  • Supabase magic-link sign-in for keeping and deleting shares, with auth email delivery handled by Cloudflare Email Service
  • Claim token flow for attaching an anonymous upload to an account later
  • Public-unlisted and access-key-protected private-link visibility modes
  • Share page with status, risk score, and embedded preview after any required private-link unlock
  • Direct preview URL for opening the uploaded HTML by itself

Configuration

You will need 6 environment variables: PRIVATE_ACCESS_KEY, MCP_REGISTRY_PRIVATE_KEY, INDEXNOW_KEY, SUPABASE_REST_KEY, WORKER_API_SECRET, SUPABASE_SEND_EMAIL_HOOK_SECRET. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Adding it to your client

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

When to reach for it

Among the team communication options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by lifeodyssey; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Share HTML's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the share html mcp server does with a few real requests.

How to install the Share HTML MCP server

{
  "mcpServers": {
    "share-html": {
      "command": "npx",
      "args": ["-y", "wrangler"],
      "env": {
        "PRIVATE_ACCESS_KEY": "your-value",
        "MCP_REGISTRY_PRIVATE_KEY": "your-value",
        "INDEXNOW_KEY": "your-value",
        "SUPABASE_REST_KEY": "your-value",
        "WORKER_API_SECRET": "your-value",
        "SUPABASE_SEND_EMAIL_HOOK_SECRET": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
PRIVATE_ACCESS_KEYCredential the server authenticates with.Yes
MCP_REGISTRY_PRIVATE_KEYCredential the server authenticates with.Yes
INDEXNOW_KEYCredential the server authenticates with.Yes
SUPABASE_REST_KEYCredential the server authenticates with.Yes
WORKER_API_SECRETCredential the server authenticates with.Yes
SUPABASE_SEND_EMAIL_HOOK_SECRETCredential the server authenticates with.Yes

Frequently asked questions

It connects Share HTML to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Share HTML directly.