htmlbook MCP Server
Publish AI-generated HTML & Markdown to a hosted, shareable URL via MCP.
htmlbook scores 57 (Fair), licensed MIT. It can be reached as a remote MCP endpoint. It declares 1 tool. Filed under Knowledge. GitHub shows 1 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
57 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 57 comes from
22 + 10 + 1 + 10 + 4 + 10 = 57. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: OAuth sign-in. Your client opens a browser window to sign in with the provider. No key goes in the config file. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "streamize-llc-htmlbook": { "url": "https://htmlbook.io/api/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools1Tool docs quality grade D
All capabilitiesset_accesstoolMake a document public, password-protected, or private
About
htmlbook
Publish AI-generated HTML and Markdown to a hosted, shareable URL. htmlbook is
an MCP server and REST API that takes a document
your coding agent just generated โ an HTML report, a data dashboard, a spec, meeting
notes, an interactive page โ and turns it into a clean link you can open on your
phone or send to someone, instead of leaving it as a local .html file buried in a
project folder.
Push from Claude Code, Cursor, Codex, or claude.ai. htmlbook stores the document, re-themes it for comfortable reading on any device (paper / sepia / dark), keeps every edit as a version, and gives each document one share link with three modes โ public (anyone, no login), password-protected (anyone with the password, no login), or a private secret link only you and your workspace can open.
Share the output as a link, not a file. When an agent makes HTML, the awkward part is everything after: getting it off your laptop, onto your phone, in front of someone else. htmlbook is the shelf that part lives on.
- ๐ Website: https://htmlbook.io
- ๐ MCP endpoint:
https://htmlbook.io/api/mcp - ๐ก REST publish:
POST https://htmlbook.io/api/docs - ๐ฌ Community: Discord
Quickstart
1. Connect your agent
Get an API key at https://htmlbook.io โ Settings, then add the MCP server.
Claude Code (browser login, no key needed):
claude mcp add --transport http htmlbook https://htmlbook.io/api/mcp
# then run `claude` and approve the htmlbook login
Claude Code (with an API key):
claude mcp add --transport http htmlbook https://htmlbook.io/api/mcp \
--header "Authorization: Bearer $HTMLBOOK_API_KEY"
Cursor โ ~/.cursor/mcp.json:
{
"mcpServers": {
"htmlbook": {
"url": "https://htmlbook.io/api/mcp",
"headers": { "Authorization": "Bearer hb_live_REPLACE_WITH_YOUR_KEY" }
}
}
}
Codex CLI โ ~/.codex/config.toml:
[mcp_servers.htmlbook]
url = "https://htmlbook.io/api/mcp"
bearer_token_env_var = "HTMLBOOK_API_KEY"
claude.ai / Claude Desktop โ add a custom connector with URL
https://htmlbook.io/api/mcp (OAuth โ no key to paste).
See docs/getting-started.md for every client.
2. Publish a document
Just ask your agent. With the MCP server connected, it calls the publish tool:
You: Write up the Q3 numbers as a dashboard and put it on htmlbook.
Agent: htmlbook โ publish
โ shelved (hbdoc) ยท acme/q3-dashboard ยท v1 ยท read: https://htmlbook.io/app/p/acme/q3-dashboard
Prose (a report, a plan, notes) is easiest as Markdown โ htmlbook keeps the .md
as the source of truth and renders a themed reader view from it:
{
"tool": "publish",
"project": "acme",
"markdown": "# Q3 Review\n\nRevenue is up 8% QoQ...\n\n## Highlights\n- ..."
}
3. Share it
Documents are private by default. Make one public to get a link anyone can open:
Agent: htmlbook โ set_access (visibility: public)
โ acme/q3-dashboard is now public ยท https://htmlbook.io/d/a1b2c3
That's the whole loop: generate โ publish โ share.
What you can publish
| Format | When | What htmlbook does |
|---|---|---|
| Markdown | Prose: reports, plans, notes, specs | Keeps the .md as the source of truth, renders a themed reader view (TOC, tables, callouts, task lists), stays downloadable + editable as Markdown |
| hb-doc HTML | Rich docs: dashboards, KPIs, inline SVG charts | A <article class="hb-doc"> fragment styled only with hb-* classes + --hb-* tokens โ the reader supplies the stylesheet and re-themes it (paper / sepia / dark, width, font size) |
| Bundle | A self-contained page with its own CSS/JS | Stored verbatim and rendered in a sandboxed iframe โ your scripts run, your styling is preserved. Can be multi-file (index.html + sub-pages + assets, โค10MB) for a small static site with working relative links |
The format is auto-detected at publish. You never have to declare it โ push Markdown, push an hb-doc fragment, or push a full standalone HTML page and htmlbook routes it.
See docs/publishing.md and docs/hb-doc-contract.md.
Why htmlbook
- Off your laptop. An agent's HTML output is stuck on the machine that made it. htmlbook gets it onto your phone and into a shareable link.
- Readable everywhere. Because an hb-doc carries no CSS of its own, the reader themes it โ the same document looks right on a phone in the dark and a desktop in daylight.
- Versioned. Every publish and every in-reader edit is a new immutable version. The History panel shows who changed what; any version restores.
- Markdown stays Markdown. A Markdown push is not lossily converted to HTML โ the
original
.mdis the source of truth and round-trips on download. - Private by default. Nothing is public until you flip it. Three share modes: public (anyone), password-protected (anyone with the password, no login โ changing it revokes prior access), or a secret link session-gated to your workspace.
- Token-cheap. Push a large document as a file over the REST API so its bytes never pass back through your agent's context. See docs/rest-api.md.
The MCP tools
The htmlbook MCP server exposes 10 tools. Full reference: docs/mcp-tools.md.
| Tool | Purpose |
|---|---|
publish | Shelve a document (HTML or Markdown) to a hosted URL; new version if it exists |
guide | Get the authoring contract (hb-doc classes, tokens, components) before composing HTML by hand |
list | Browse your library, optionally filtered by project |
get | Fetch a document's metadata + current body (for markdown, the .md source) |
search | Full-text search across everything you've shelved (recall before re-deriving) |
organize | Set title / tags / path, move between projects, rename |
set_access | Make a document public, password-protected, or private |
cite | Get a shareable deep-link to a specific section (heading) of a document |
restore | Roll a document back to an earlier version |
delete | Move a document to the trash |
Supported clients
| Client | Auth |
|---|---|
| Claude Code | API key over MCP, or browser login; also REST |
| Cursor | API key over MCP |
| Codex CLI | API key over MCP; also REST |
| claude.ai | OAuth (custom connector) |
| Claude Desktop | OAuth (custom connector) |
| Any MCP client | Streamable HTTP + Bearer key or OAuth 2.1 |
Documentation
- Getting started โ connect every client, get a key
- Publishing โ the three formats, the
publishtool, examples - Markdown โ source of truth, frontmatter, folder sync
- The hb-doc contract โ classes, tokens, components
- Sharing & access โ public, password, secret links, workspaces
- MCP tools reference โ all 10 tools with example calls
- REST API โ
POST /api/docs, token-cheap file pushes - examples/ โ a report, a dashboard, a folder-sync setup
Made by Streamize. Documentation is MIT-licensed; htmlbook itself is a hosted service at htmlbook.io.
Frequently asked questions
What is htmlbook MCP Server?
Publish AI-generated HTML & Markdown to a hosted, shareable URL via MCP.
How do I install htmlbook MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. htmlbook MCP Server connects to the remote endpoint https://htmlbook.io/api/mcp, so there is nothing to install locally.
Is htmlbook MCP Server free and open source?
Yes. htmlbook MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does htmlbook MCP Server support remote (HTTP) connections?
Yes. htmlbook MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does htmlbook MCP Server provide?
htmlbook MCP Server provides 1 tool: set_access. See the full tool list for descriptions and parameters.
How is htmlbook MCP Server's trust score calculated?
htmlbook MCP Server scores 57 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetโBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.