# Stacktree for developers: MCP server, CLI and API

Source: https://stacktr.ee/developers

[Skip to content](#main) [Stacktree](/)[Developers](/developers)[Agents](/agents)[Docs](/docs)[Use cases](/use-cases)[Pricing](/pricing)[Blog](/blog)[Dashboard](https://app.stacktr.ee)[Sign in →](https://app.stacktr.ee)      By [ Steve Smith ](/about) · Founder, Stacktree  ·  Last updated September 3, 2026

#  ~ stacktr.ee/developers a private link for the HTML your agents make

  # Add the MCP server and your agent publishes to a private link. No build, no DNS.

   $ npx stacktree-install  Copy   # works with [           Claude ](/claude-ai-connector)[           ChatGPT ](/agents#chatgpt)[           Claude Code ](/claude-code)[           Cursor ](/cursor)[           Codex ](/codex)[           Slack ](/slack)[           n8n ](/n8n)[           MCP ](/agents)   #
or publish directly, no install, no account:  curl -X POST https://api.stacktr.ee/sites -F file=@index.html copy

  #
That's it. Now you've got a link to share: they open it in a browser, no account. Add a passcode on any plan, or your own domain from $19 a month.
Here it is in motion  ↓

  [→stacktr.ee/p/QrjPDNuaW1T0chXXXTDdfc— a real Stacktree-hosted pageopen ↗](https://stacktr.ee/p/QrjPDNuaW1T0chXXXTDdfc/)[Watch on its own page with timestamps →](/demo)    # Links, for when you're back   #  [a real one](https://stacktr.ee/p/QrjPDNuaW1T0chXXXTDdfc/)                            an agent published this page  #  [stacktr.ee/agents](/agents)                     per-agent setup, all twenty-eight verbs  #  [stacktr.ee/docs](/docs)                       API + MCP reference  #  [npmjs.com/package/stacktree-mcp](https://www.npmjs.com/package/stacktree-mcp)       the server  #  [stacktr.ee/n8n](/n8n)                        publish from n8n workflows  #  [stacktr.ee/self-host](/self-host)                  run the whole stack yourself, source-available  #  [an agent paid us $1](/blog/agent-paid-to-provision-itself)                   real USDC on Base, receipt  #  [app.stacktr.ee](https://app.stacktr.ee)                        dashboard  #  [stacktr.ee/changelog](/changelog)                  what shipped, dated    $      ← go on, paste it

         $ curl -sL stacktr.ee/prompt.md

  # Or just tell any agent: Fetch and follow the setup instructions at https://stacktr.ee/prompt.md

  # It installs the MCP server, verifies the connection, and learns the rules that keep a shared link working across revisions.

      $ crontab # the standing report

  # The stickiest pattern we see: a scheduled agent publishes at 05:01, update_site swaps content on the same URL, and the humans bookmark one link that is always current.

  # set_expiry recycles slots for dailies you do not need on Friday. Solo handles 1,000 publishes a day; Firm has no daily cap.

  # Plain agent HTML? [The design pass](/design-pass) previews a client-ready restyle — the same design guide agents get at GET /design-guide — and applies only if you say so.

      $ stacktree publish --paste

  # No agent, no install. Paste an artifact's HTML and get a private link right now. Sign up later to keep it.

   Paste HTMLDrop a fileno account · 24 h linkHTML to publishAdd a passwordPublish private link     Private hosting for the HTML your agents make.

[](https://betalist.com/startups/stacktree?utm_campaign=badge-stacktree&utm_medium=badge&utm_source=badge-featured)[Featured on](https://devhunt.org/tool/stacktree)[](https://buildlist.io)[Get started free](https://app.stacktr.ee/?join=1)

## Product

- [Example deliverables](/examples)
- [Custom domains](/custom-domains)
- [Client feedback](/client-feedback-loop)
- [One-time links](/one-time-view-links)
- [See how pages get read](/page-engagement)
- [Made with Stacktree](/made-with)
- [Security](/security)
- [Watch the demo](/demo)

## Agents

- [All integrations](/agents)
- [Claude Code](/claude-code)
- [OpenAI Codex](/codex)
- [Cursor](/cursor)
- [Claude.ai connector](/claude-ai-connector)
- [MCP server](/mcp-publish-html)
- [Deploy from Claude Code](/deploy-html-from-claude-code)
- [Skills](/skills)
- [Slack app](/slack)
- [n8n node](/n8n)
- [Agent payments (x402)](/x402)

## Alternatives

- [All comparisons](/alternatives)
- [Head-to-head comparisons](/compare)
- [Tiiny Host](/tiiny-host-alternative)
- [GitHub Pages (private)](/github-pages-private-alternative)
- [Vercel](/vercel-alternative-for-agents)
- [ngrok](/ngrok-alternative-for-html)
- [Display.dev](/display-dev-alternative)
- [Static.app](/static-app-alternative)
- [OpenAI Codex Sites](/openai-codex-sites-alternative)
- [here.now](/here-now-alternative)
- [Shippage](/shippage-ai-alternative)
- [Best private hosting](/best-private-html-hosting)

## Use cases

- [All use cases](/use-cases)
- [Share with clients](/share-with-clients)
- [Send a file to a client](/share-html-file-with-client)
- [Share Claude artifacts](/share-claude-artifacts)
- [Share Jupyter notebooks](/share-jupyter-notebook-html)
- [Host Storybook privately](/host-storybook-privately)
- [Architecture diagrams](/share-architecture-diagrams)
- [AI-generated reports](/host-ai-reports)
- [Internal HTML tools](/internal-tool-hosting)
- [Private HTML hosting](/private-html-hosting)
- [Vibe-coded page hosting](/vibe-coding-hosting)
- [Leave a website builder](/website-builder-migration)

## Learn

- [Blog](/blog)
- [Glossary](/glossary)
- [FAQ](/faq)
- [Agent-loop hosting](/agent-loop-hosting)
- [Why agents need a publish primitive](/blog/why-agents-need-a-publish-primitive)
- [MCP servers explained](/blog/mcp-servers-explained-for-developers)
- [What changed in the 2026-07 MCP spec](/blog/mcp-2026-spec-changes)
- [Sites in Codex explained](/blog/sites-in-codex-explained)
- [Private-by-default hosting](/blog/private-by-default-html-hosting)
- [An agent paid us $1 (x402)](/blog/agent-paid-to-provision-itself)
- [When a loop hits a paywall](/blog/loop-engineering-paywall)
- [Pricing](/pricing)
- [Self-host (new)](/self-host)
- [Changelog](/changelog)
- [Docs](https://stacktr.ee/docs)
- [About](/about)
© 2026 Stacktree · stacktr.ee

[Privacy](/privacy)[Terms](/terms)[Security](/security)[Dashboard](https://app.stacktr.ee)[npm](https://www.npmjs.com/package/stacktree-mcp)[Sitemap](/sitemap.xml)[llms.txt](/llms.txt)[API spec](/openapi.json)

---
Full markdown summary of the Stacktree marketing surface: https://stacktr.ee/llms-full.txt
