Skip to content
MCP server

HaoyouBox Publish

Publish one local HTML or Markdown file as an expiring, password-protected link

Runs locally
Install

HaoyouBox Publish is an MCP server for files and documents. It runs locally on your machine and is started by your AI client.

Platforms
CLI, API
Runs
Locally
Version
1.0.0
Listing updated

Similar MCP servers

Install

Run in a terminal

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

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Configuration

  • HAOYOUBOX_TOKENOptional publish-only HaoyouBox Agent token

About HaoyouBox Publish

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.

What it does

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

Pricing

Pricing unknown

Prices not published; MCP package and Agent Skill (Apache 2.0) are free to install

Prices change. Check haoyoubox.com before you buy.

HaoyouBox Publish 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.

How AIPoweredBot checks servers