# host-html

> host-html is a freemium MCP server for developer tools. Publish AI-generated HTML as a shareable link and update the page at the same URL. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, Web
- **Website:** https://host-html.com/api
- **Repository:** https://github.com/phanosh/host-html
- **MCP Registry name:** io.github.phanosh/host-html
- **Categories:** developer tools, files and documents
- **Listing updated:** 2026-11-14

## About

When an assistant builds a page, the awkward part is getting it onto the web. This server offers two tools for that: publish_html takes HTML and returns a public link, and update_page replaces the content while keeping the same link, so a shared URL stays current as the page evolves.

Publishing needs a free, email-verified host-html account. The README says anonymous publishing was retired in v2.0.0, so every call uses a personal API key beginning hh_, set as HOSTHTML_API_KEY. Pages are capped at 1 MB of HTML. Custom URL slugs require a Pro or Team plan, while publishing itself does not.

You can run it over stdio with npx host-html-mcp, use the hosted Streamable HTTP endpoint, call a plain REST publish endpoint with curl, or install the Claude Code plugin. A companion skill exports HTML slides to PDF.

## Features

- **Publish to a link:** Turns an HTML string into a public URL.
- **Update in place:** Replaces a page's content without changing its link.
- **Personal API keys:** Keys start with hh_ and are created under Account, API keys.
- **REST endpoint:** The same publish action is available with one authenticated POST.
- **Custom slugs:** Paid plans can set a lowercase URL path of 2 to 64 characters.
- **Slides to PDF skill:** A companion /host-pdf skill captures slides into a PDF.

## Good for

- Share an AI-generated landing page or report as a link
- Revise a published page while keeping the shared URL
- Publish a slide deck made by an agent
- Post HTML from a script using one API call

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http host-html https://suifgsvtcbrawzdhyuhk.supabase.co/functions/v1/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://suifgsvtcbrawzdhyuhk.supabase.co/functions/v1/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "host-html": {
      "url": "https://suifgsvtcbrawzdhyuhk.supabase.co/functions/v1/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "host-html": {
      "type": "http",
      "url": "https://suifgsvtcbrawzdhyuhk.supabase.co/functions/v1/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "host-html": {
      "serverUrl": "https://suifgsvtcbrawzdhyuhk.supabase.co/functions/v1/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "host-html": {
      "type": "http",
      "url": "https://suifgsvtcbrawzdhyuhk.supabase.co/functions/v1/mcp"
    }
  }
}
```

## Tools

- `publish_html`: Publishes HTML and returns a shareable link.
- `update_page`: Replaces a page's HTML while keeping the same link.

## FAQ

### Do I need an account?

Yes. A free, email-verified account and an API key are required.

### How large can a page be?

The README gives a 1 MB limit for the HTML.

### Can I choose the URL?

Custom slugs need a Pro or Team plan.

### Which clients work?

The README documents Claude Code, Claude Desktop, Cursor and Codex, and other agents through a skills installer.

### Is host-html free?

host-html has a free plan, with paid plans for more usage or features.

### How do I add host-html to Claude Code?

Run this command in your terminal: claude mcp add --transport http host-html https://suifgsvtcbrawzdhyuhk.supabase.co/functions/v1/mcp

### What are the best alternatives to host-html?

The closest alternatives to host-html are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/host-html
