dochost
Publish Markdown or HTML to a clean, shareable public link straight from your AI assistant โ OAuth sign-in, no API keys. Tools: publish and list_my_pages.
README
dochost MCP server
Publish Markdown or HTML to a clean, shareable link โ straight from your AI
assistant. The dochost MCP server gives Claude, ChatGPT, Cursor and any other MCP
client a publish tool: ask your assistant to share a document and it hands back
a public dochost link. No copy-paste, no separate dashboard.
- ๐ Website: https://dochost.io
- ๐ MCP server: https://dochost.io/mcp
- ๐ฐ๏ธ Endpoint:
https://dochost.io/api/mcp(Streamable HTTP, OAuth) - ๐ Auth: OAuth sign-in โ no API keys
Why
Your LLM produced a report, a README, an HTML artifact. Sending it shouldn't mean
a screenshot or a raw .md blob. dochost turns that output into a normal web page
at its own URL, in one tool call. Markdown and HTML are rendered live.
Quick start
Claude Code (one line):
claude mcp add --transport http dochost https://dochost.io/api/mcp
Then run /mcp inside Claude Code and approve in the browser. Add --scope user
to use it in every project.
Claude Desktop / Cursor / VS Code / Windsurf โ add a remote HTTP server:
{
"mcpServers": {
"dochost": {
"type": "http",
"url": "https://dochost.io/api/mcp"
}
}
}
You authorize once via OAuth in the browser; the assistant then publishes as you, and output follows your dochost plan's entitlements.
Which auth method?
| Client | Recommended auth | Why |
|---|---|---|
| OpenClaw, Hermes | API key | Headless agents (e.g. a Telegram orchestrator). A static Bearer key works with the plain-HTTP skill and any MCP runner, with no browser step per session. |
| Claude, Cursor, ChatGPT, VS Code, Windsurf, and all other MCP clients | OAuth | One browser approval, nothing long-lived stored in config; the assistant publishes as you. |
Keep the API key like any secret: store it as an environment variable / host secret (never commit it), and revoke or rotate it from Settings โ API keys if it leaks.
Agents (OpenClaw, Hermes) โ API key
OpenClaw and Hermes are headless, so they authenticate with an API key. Create
one at dochost.io โ Settings โ API keys, export it as
DOCHOST_API_KEY, and either:
- Install the skill โ a self-contained
publishskill that works on any agent that can make an HTTP request:skills/dochost-publish/. - Wire the MCP โ point the agent at
https://dochost.io/api/mcpwith the key as a Bearer header:examples/mcporter.config.json.
Per-host install guides:
- OpenClaw โ
clients/openclaw.md - Hermes โ
clients/hermes.md
One-shot from a shell: examples/publish.sh.
Tools
publish
Publish Markdown or HTML as a hosted page and get a shareable URL.
| Parameter | Type | Notes |
|---|---|---|
body |
string (required) | The Markdown or HTML content to publish. |
format |
"markdown" | "html" |
Auto-detected when omitted. |
public |
boolean | List on Explore. Defaults to false (unlisted). |
customSlug |
string ยท Pro | Choose the link path instead of a random slug. |
password |
string ยท Pro | Gate the page behind a password. |
noBranding |
boolean ยท Pro | Hide the dochost footer badge. |
Returns url, slug, expiresAt, and an editToken.
Example: "Publish my Q3 report as a private page with a password." โ
dochost.io/d/q3-report(password-gated, 7-day link on free).
list_my_pages
List the pages you have published, newest first (paginated).
Notes
- Ownership and entitlements come from your authenticated account, never from tool input.
- Free links last 7 days; permanent links, password, custom slug, custom subdomain and branding removal are on the paid plans โ see dochost.io.
Links
- Homepage โ https://dochost.io
- MCP setup & docs โ https://dochost.io/mcp
License
MIT โ see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.