Stacktree for AI agents.
Stacktree is the publish primitive for HTML emitted by AI agents. Wherever the agent runs, Claude Code, Codex, Cursor, Claude.ai, or raw MCP HTTP, it can call publish_html and hand you back a private link.
No card · 3 pages free · about a minute
Which AI agents can publish HTML to Stacktree?
Any agent that speaks MCP — the Model Context Protocol. The stacktree-mcp npm package exposes twenty-nine tool calls (publish, replace, read, gate, expire, list, delete, password, adopt an anonymous page, read your plan limits, file under a client, manage client spaces, design guide, feedback toolbar, read feedback, resolve feedback, claim wallet) that show up in Claude Code, OpenAI Codex CLI, Cursor, Claude.ai custom connectors, and any MCP-compatible client. Stdio and streamable HTTP transports are both supported.
Every supported integration
- integration Publish HTML from Meta Muse Muse runs its own browser in its own VM and writes its own tools, so it can publish a page to Stacktree with no plugin, no API key and no account. You get back a private link that previews as a card in WhatsApp, where Muse already lives. Meta opened Muse to connectors on 18 September 2026; Stacktree is submitted and in review.
- integration Publish HTML from Grok Bot Ask your Grok Bot to publish a page to Stacktree and it works with no plugin, no API key and no account. You get a private, unguessable URL back. Claim it to keep it and update it in place.
- integration Publish HTML from n8n Install the n8n-nodes-stacktree community node and any n8n workflow can publish HTML to a private, unguessable URL. Update in place, gate, expire, and read viewer feedback. Works as an AI Agent tool.
- integration Deploy HTML from Claude Code: 4 ways, one command each Netlify, Vercel, Cloudflare Wrangler, or Stacktree over MCP: the exact command for each, what breaks in practice, and which one fits agent output. Tested.
- integration Stacktree for developers · MCP server, CLI and API The developer surface: add the MCP server and your agent publishes HTML to a private link. npx installer, curl-first API, source-available.
- integration Publish HTML from Claude Code Add Stacktree as an MCP server and Claude Code will publish the HTML it writes to a private, unguessable URL — or replace the previous one in place.
- integration Publish HTML from Codex: private link in one MCP call Wire Stacktree into Codex CLI as an MCP server. Codex emits HTML, calls publish_html, and hands you back a private, unguessable link. The private alternative to public ChatGPT Sites.
- integration Publish HTML from Cursor Add the Stacktree MCP server to Cursor and every HTML file your AI agent writes gets a private, unguessable URL you can share.
- integration Add Stacktree to Claude.ai as a custom connector Add Stacktree to Claude.ai as a custom MCP connector over HTTP with OAuth. Anywhere Claude writes HTML in a chat, it can hand you back a private link.
- integration What is Claude Cowork? Plans, platforms and what it makes Claude Cowork is where Claude works with your files and connected tools instead of just answering. What it does, which paid plans have it, Mac and Windows, how it differs from Claude chat, and what to do with the documents it produces.
- integration Claude Cowork vs Claude Code: which one your work belongs in Same agentic engine, two front doors. Claude Code is the terminal agent for codebases; Claude Cowork is the desktop agent for documents, numbers and connected tools. Audience, interface, plugins and plans compared, plus when to use each.
- integration Claude Cowork plugins and skills: what they are and how to install one A Cowork plugin bundles skills, MCP connectors, subagents and hooks into one install. What the format contains, how to add one from the marketplace or a Git repo, the 43 Claude for Small Business workflows, and the Stacktree publish plugin.
- protocol MCP server for publishing HTML A Model Context Protocol server that gives any MCP client twenty-nine tool calls to publish, gate, replace, delete, file under a client, and collect viewer feedback on HTML artifacts.
- integration Share HTML files in Slack as private links (Slack app) HTML files pasted into Slack render as unreadable code blocks. One click turns the file on any message into a private link. Installing needs no account.
- integration npx skills: the agent skills CLI, explained npx skills is Vercel Labs' CLI for the open agent skills ecosystem: one command installs a SKILL.md folder into Claude Code, Codex, Cursor, OpenCode and 75 other agents. What the commands do, where files land, and a real skill to try it on.
What every integration shares
- Same twenty-nine verbs. publish_html, update_site, delete_site, restore_site, claim_site, set_password, set_expiry, create_share_link, list_share_links, revoke_share_link, set_agentation, set_client_feedback, set_email_gate, list_sites, get_me, list_client_spaces, set_client, create_client_space, update_client_space, delete_client_space, get_design_guide, get_site, get_content, get_passcode, list_versions, restore_version, list_feedback, resolve_feedback, link_wallet.
- Same npm package.
stacktree-mcp— single source of truth. - Same auth model. Anonymous first publish (24 h),
stacktree loginfor persistence, OAuth 2.1 + DCR for hosted clients. - Same replace-in-place loop.
update_siteworks identically across every agent. - Same client filing.
publish_htmltakes an optionalclientargument, so the agent files the page under a client space in the same call it publishes. The space is created on first use, and filing is free on every plan. - Same code you can run yourself. Stacktree is source-available — the whole stack (worker, MCP server, dashboard) deploys onto your own Cloudflare account, no lock-in. Self-host it.
How to pick the right install
- Claude Code, Codex, Cursor — pick the matching agent page above. Each has the one-line install.
- Claude.ai (web) — paste
https://api.stacktr.ee/mcpas a custom connector. - Slackbot — connect Stacktree in the Slack app's MCP settings, then ask Slackbot to publish in plain language. How it works.
- n8n workflows — install the
n8n-nodes-stacktreecommunity node and any workflow (or AI Agent node) gets publish, update, gates, and feedback as typed operations. How it works. - Anything else MCP-compatible — use the package via
npx -y stacktree-mcpover stdio, or hit the HTTP endpoint with OAuth. - In-browser agents (WebMCP) — the dashboard registers its site actions on
document.modelContextwhere the browser supports it, so an agent working alongside a signed-in human calls the same verbs without an API key. How and why.
Agents can pay for their own hosting
Most agents inherit an identity a human set up: the installer signs you in, or you drop in an API key. A fully autonomous agent has no human to do that. So Stacktree lets the agent pay for itself, with no person in the loop, two ways.
Pay per publish at the front-door. The simplest path: POST your HTML to agents.stacktr.ee/api/publish, get back a 402, pay $0.50, and the page publishes to a private link. No key, no account. It is multi-rail on one endpoint, so the agent pays with whatever it holds: x402 on Base or Solana, or MPP (the standard from Stripe and Tempo) on Tempo. Gas is covered, so the agent only signs.
Or buy a persistent key. For an agent that publishes repeatedly, /provision returns a 402; pay $1 over x402 or MPP and get a persistent stk_live_ key, then buy unlocks the same way. No wallet? One call to /pay/sessions returns a pay link plus a terminal QR, the human at the terminal pays by card in about two taps, and the agent continues mid-task.
Claim it later. The wallet that pays at the front-door is recorded with each page, so a human can claim those pages from the dashboard, or the agent can self-link them with the link_wallet MCP tool. Anonymous publishing stays free; paying is just how a headless agent earns durable, ownable hosting. We walked the whole loop, including the real on-chain payments, in An AI agent paid us $1 to provision itself and how agents pay us over MPP.
Set up your agent in one line
Paste this into your agent. It fetches the setup instructions, installs Stacktree, checks the connection, and learns the parts agents usually get wrong: replacing a page in place so a link you already sent keeps working, reading the real expiry instead of promising permanence, and filing work under the client it belongs to.
Fetch and follow the setup instructions at https://stacktr.ee/prompt.md Works in any agent that can fetch a URL. Nothing to install first, and the instructions are plain Markdown you can read before you run them.
Frequent questions
Which AI agents can publish HTML to Stacktree? +
stacktree-mcp package works across all of them.What transports are supported? +
Do I need a different setup per agent? +
npx stacktree-install and pick any combination of Claude Code, Cursor, Codex, OpenCode, or Amp — it signs you in via browser, then writes the right config for each. Claude.ai is a one-URL paste into its connectors dialog instead.Will Stacktree support MCP server lists like the ChatGPT app directory? +
Can an agent pay for its own Stacktree identity? +
Sources and further reading
Pick your agent. Install in 60 seconds.
Same package across Claude Code, Codex, Cursor, and Claude.ai. Pick yours above.
Sign up free →