Our homepage publishes for you now.
We put a WebMCP publish tool on the public site. A browsing AI agent, or you in a single sentence, can generate an HTML page and ship it live from stacktr.ee itself. No account, no file, no dashboard.
Can an AI agent build and publish a website from a web page?
Yes. Stacktree registers a WebMCP tool, stacktree_publish_html, on its public marketing site. An AI agent operating in a WebMCP-capable Chrome reads that tool and calls it with a complete HTML document, and receives a live, unlisted URL in return. No sign-in, no upload, no dashboard. The whole act, generate and publish, happens from the page you are reading.
A sentence in the ⌘K palette generates a complete page and publishes it live. No sign-in.
Manage was the first half. Create is the second.
A couple of weeks ago we wired WebMCP into the dashboard: an in-browser agent could set a password, mint a share link, or change expiry on a site you already owned, all behind a sign-in. That covered managing. It left the more interesting half open. The first thing an agent wants to do is not manage an existing site, it is make one. So we moved the publish tool to the front door.
What we added
The public site now registers stacktree_publish_html on document.modelContext. It takes a complete HTML document and an optional password or expiry, and it calls the same anonymous endpoint our curl and CLI paths use. There is no new backend and no auth. The agent gets back a live URL and a single-use claim link, so a human can adopt the site into a free account later and keep it past the 24-hour anonymous window.
One catalog, three consumers now: the MCP server for agents outside the browser, the in-page palette for humans, and WebMCP for agents inside the browser. They share the same verbs, so whoever shows up speaks the same language.
Two doors to the same tool
An agent calls it. Open stacktr.ee in a WebMCP-capable Chrome and a browsing agent sees the tool and can publish a page it generated, with no keystrokes from you.
You describe it. Press ⌘K and the palette runs a natural-language mode. Say "a coming-soon page for a coffee roaster" or "a one-page manifesto for the agentic web," and a model writes a complete, considered HTML document and calls the publish tool for you. That mode is bring-your-own-key: your provider key lives only in your browser and goes straight to the provider. The plain tool needs no key at all. We also gave it a real design brief, not just "make it nice," so the output aims for premium rather than the templated look agents usually default to.
Why the marketing site, not just the app
The instinct is to keep tools behind a login. But an agent's first contact with Stacktree is this page, not a dashboard it has no account for. If the web is turning into a surface agents act on instead of only read, the public front door should be actionable. A publish primitive whose entire pitch is "one call to a live link" should honor that from the very first call, before anyone signs up. So the homepage itself can publish.
The honest part
WebMCP is in a Chrome origin trial, so most people's browsers cannot call this tool yet, which is why the clip above is a recording. We ship the surface anyway, for the same reason we publish llms.txt and machine-readable pricing: agent-readable surfaces compound, and the day the standard lands widely is the day this already works. The deeper how-it-works, the tool schema, and the registration code live on the WebMCP page.
Frequent questions
Can an AI agent publish a website from a web page? +
How is this different from the dashboard WebMCP post? +
Do I need an API key? +
Why put the tool on the marketing site instead of only the app? +
Related guides
- WebMCP on Stacktree The reference: the tools we expose, the schema, and the registration code.
- Our dashboard already speaks WebMCP The first half: managing sites with in-browser tools.
- Stacktree for AI agents Every door: MCP, REST, the CLI, and pay-to-provision.
- Let an agent pay for its own hosting WebMCP for the page, x402 for the payment.
Sources and further reading
Open it in Chrome and ask.
Press ⌘K on any Stacktree page and describe a page, or point your browsing agent at stacktr.ee. The first publish is anonymous and free.
Sign up free →