# HaoyouBox Publish

> HaoyouBox Publish is an MCP server for files and documents. Publish one local HTML or Markdown file as an expiring, password-protected link. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, API
- **Website:** https://www.haoyoubox.com/agent
- **Repository:** https://github.com/cheng-big/haoyoubox-agent-skill
- **MCP Registry name:** com.haoyoubox/publish
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-15

## About

The server runs locally over stdio, started with npx, and handles exactly one file per call: you give it a path to an HTML or Markdown file, and it returns the full link, the password, the actual expiry and an immutable version ID. Optional arguments set the receiver language, expiry in hours and a custom password. It does not upload directories, repositories, hidden files or credential files.

The password and verifier are generated on your machine; the service receives a salt and verifier rather than the raw password. The link returned to the agent includes the password for prefill, so HaoyouBox says to treat it as a single sensitive credential. For a separate-channel password, use browser workspace sharing instead.

Authorisation is a one-time device approval (npx -y haoyoubox-mcp auth) or a manual publish-only token set as HAOYOUBOX_TOKEN. The same publishing is available as an open-source Agent Skill under Apache 2.0.

## Features

- **One-file publishing:** Publishes a single named HTML or Markdown file, or the only page created in the current turn.
- **Expiring links:** Returns the actual expiry along with the link; the server enforces it.
- **Local password generation:** The raw password is derived locally and only a salt and verifier go to the service.
- **Device approval:** Authorise a computer once by approving a short code while signed in.
- **Chinese or English receiver page:** Pick the receiver language, or let it follow the document text.

## Good for

- Share a generated report with a client behind a password
- Send a one-off HTML page from a coding agent
- Publish Markdown notes that expire after a set number of hours

## Install

### Claude Code (Terminal)

```sh
claude mcp add publish --env HAOYOUBOX_TOKEN='<HAOYOUBOX_TOKEN>' -- npx -y haoyoubox-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "publish": {
      "command": "npx",
      "args": [
        "-y",
        "haoyoubox-mcp"
      ],
      "env": {
        "HAOYOUBOX_TOKEN": "<HAOYOUBOX_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "publish": {
      "command": "npx",
      "args": [
        "-y",
        "haoyoubox-mcp"
      ],
      "env": {
        "HAOYOUBOX_TOKEN": "<HAOYOUBOX_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "publish": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "haoyoubox-mcp"
      ],
      "env": {
        "HAOYOUBOX_TOKEN": "<HAOYOUBOX_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "publish": {
      "command": "npx",
      "args": [
        "-y",
        "haoyoubox-mcp"
      ],
      "env": {
        "HAOYOUBOX_TOKEN": "<HAOYOUBOX_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "publish": {
      "command": "npx",
      "args": [
        "-y",
        "haoyoubox-mcp"
      ],
      "env": {
        "HAOYOUBOX_TOKEN": "<HAOYOUBOX_TOKEN>"
      }
    }
  }
}
```

## FAQ

### What can HaoyouBox Publish upload?

One explicit .html, .htm, .md or .markdown file. Directories, ZIP files, hidden files, environment files and keys are not uploaded.

### Is the password in the link a separate protection?

No. The returned link can prefill the password, so the site says to treat the complete link as one credential.

### How do I authorise HaoyouBox Publish?

Run npx -y haoyoubox-mcp auth and approve the device, or create a manual token in your account.

### Does the recipient need an account?

No. Recipients open the link in a browser and do not need the Skill or an account.

### How do I add HaoyouBox Publish to Claude Code?

Run this command in your terminal: claude mcp add publish --env HAOYOUBOX_TOKEN='<HAOYOUBOX_TOKEN>' -- npx -y haoyoubox-mcp

### What are the best alternatives to HaoyouBox Publish?

The closest alternatives to HaoyouBox Publish are meu.html, Oh My Share, host-html, dochost and Plopino.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [meu.html](https://ai-powered.com/mcp/meu-html): meu.html is a freemium MCP server for developer tools.
- [Oh My Share](https://ai-powered.com/mcp/oh-my-share-2): Oh My Share is a freemium MCP server for developer tools.
- [host-html](https://ai-powered.com/mcp/host-html): host-html is a freemium MCP server for developer tools.
- [dochost](https://ai-powered.com/mcp/dochost): dochost is a freemium MCP server for files and documents.
- [Plopino](https://ai-powered.com/mcp/plopino): Plopino is a freemium MCP server for files and documents.
- [Oh My Share](https://ai-powered.com/mcp/oh-my-share): Oh My Share is a freemium MCP server for developer tools.
- [Brewpage MCP](https://ai-powered.com/mcp/brewpage-mcp): Brewpage MCP is a free MCP server for files and documents.
- [Swolvy](https://ai-powered.com/mcp/swolvy): Swolvy is a freemium MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/haoyoubox-publish
