# Quick HTML Sharing MCP server

> Lets an AI client instantly publish AI-generated HTML pages with unguessable URLs and track viewer analytics.

- Repository: https://github.com/desper/quick-html-sharing
- Page: https://hostedmcp.org/servers/desper/quick-html-sharing
- Transport: stdio
- Stars: 1
- Latest version: 0.2.3

## Install

### Claude Code

```sh
claude mcp add quick-html-sharing -- npx -y quick-html-share-mcp
```

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

```json
{
  "mcpServers": {
    "quick-html-sharing": {
      "command": "npx",
      "args": [
        "-y",
        "quick-html-share-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "quick-html-sharing": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "quick-html-share-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"quick-html-sharing","type":"stdio","command":"npx","args":["-y","quick-html-share-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "quick-html-sharing": {
      "command": "npx",
      "args": [
        "-y",
        "quick-html-share-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add quick-html-sharing -- npx -y quick-html-share-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.quick-html-sharing]
command = "npx"
args = ["-y", "quick-html-share-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user quick-html-sharing npx -- -y quick-html-share-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "quick-html-sharing": {
      "command": "npx",
      "args": [
        "-y",
        "quick-html-share-mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `PUBLIC_API_BASE` | no | no |  |
| `PUBLIC_SHARE_BASE` | no | no |  |

## FAQ

### How do I share HTML using my AI agent?

When the user expresses intent to share, the agent should call the qhs_share tool with the HTML content.

### Can I update or delete a shared page later?

Yes, you can use the qhs_edit or qhs_delete tools, but you must save the edit URL found in the URL fragment, as it is not stored on the server.

### Does the service inject tracking scripts into my HTML?

No, views are counted server-side when the page is served, so no JavaScript is injected.
