Guides

Let your AI agent publish web pages over MCP

Connect a publishing MCP server to your agent and it can turn the HTML it generates into a live link by itself. With PubSpace that's one command: claude mcp add --scope user --transport http pubspace https://pubspace.ai/mcp. Your agent gets tools to publish a page, update it in place at the same link, list and fetch pages, take one offline, and, if you don't have an account yet, sign you up from the chat.

Connect once

In Claude Code:

claude mcp add --scope user --transport http pubspace https://pubspace.ai/mcp

--scope user registers it for every project on your machine. For other MCP clients (Cursor, Claude Desktop, Codex, and others), add the server URL https://pubspace.ai/mcp. Once you have an account, add your key as an X-API-Key header. PubSpace is listed in the official MCP Registry as ai.pubspace/mcp.

Sign up without leaving the chat

Without a key, your agent can still see what PubSpace does. When you ask it to publish, it asks for your email and a name for your space, creates the account, and asks you for the 6-digit code we email you. Then it publishes, in the same conversation. It also gives you the one-line command that keeps you connected next time.

What your agent can do

Every tool is annotated read-only or destructive so your client can ask before anything irreversible. There's plain HTTP too: everything MCP does is also POST /api/publish. Full reference: llms.txt.

Side by side

Agent writes a fileAgent pushes to a repo / static hostAgent publishes to PubSpace
You get a link backNoYes, after a deployYes, at once
Update at the same link—YesYes
Password or work-email lock—Extra setupBuilt in
SetupNoneRepo, host, credentialsOne command

Questions

Which agents does it work with?
Anything that speaks MCP over HTTP: Claude Code, Claude Desktop, Cursor, Codex and others. Agents without MCP can use the HTTP API with the same key.
Who can see what my agent publishes?
Pages are unlisted: only people with the link can open them, and search engines are asked not to index them. Add a password to any page, or lock it to your company's email domain on Pro.
What does it cost?
Free for up to 10 live pages. Pro is $10/month for a bigger library, version history and work-email locks.

Your agent made it. Now share it.

Free for your first pages. No card.

Create your space →

More guides
How to share a Claude artifact as a link →
Share an interactive HTML dashboard with stakeholders →

PubSpace v0.25.1  ·  started 11:37:44 PM