all posts
·4 min read·The hostdocs team
Publish from Claude with MCP
The fastest way to publish with hostdocs isn't the dashboard — it's your AI assistant. The hostdocs MCP server gives Claude and ChatGPT a small set of tools to manage your pages directly.
What the assistant can do
Once connected, your assistant can call:
create_page— publish a new page from HTML at a pathupdate_page— replace a page's HTML, creating a new versionlist_pages— see your pages, their status, and last updateget_page— download a page's current HTMLdelete_page— remove a page
A typical exchange
You: Build me a launch page and publish it at /launch.
Claude: Done — calling
create_page… published toyou.hostdocs.io/launch.
That's the whole loop. The page your assistant just wrote is live, versioned, and ready to share.
Setting it up
Add the server to your assistant's MCP config with your API URL and token, and you're connected. See the docs for the exact snippet.