Stacktree MCP Server

MCP server for stacktr.ee. Publish HTML artifacts from any MCP client (Claude Desktop, Claude Code, Cursor, Continue, etc).

Local + remotestreamable-httpstdioMIT

What is the Stacktree MCP Server?

Stacktree is an MCP project maintained in the stevysmith/stacktree-mcp repository. The maintainer describes its purpose as “MCP server for stacktr.ee. Publish HTML artifacts from any MCP client (Claude Desktop, Claude Code, Cursor, Continue, etc)”. Read the project documentation for the complete scope.

Installation

The documented npm package is stacktree-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares STACKTREE_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
publish_htmlPublish HTML; returns { url, id, expires_at, ... }. Pass client to file it under a client space.
update_siteReplace the HTML of an existing site in place; URL is preserved.
get_siteRead a site's current HTML source — edit it, then update_site.
set_passwordAdd or clear a passcode gate. Works on every plan.
set_expirySet hours-from-now expiry, or null for never. Clamped to the plan ceiling.
set_email_gateRestrict viewers to an email domain (one-time magic-link verify). Paid plans only.
set_client_feedbackLet the people you send a page to comment on it (words, images, video) and react, with no account.
set_agentationOlder developer mark-up toolbar. Prefer set_client_feedback.
list_sitesList sites owned by this API key. Paged (has_more + cursor); filter with client.
delete_siteTake a page down. The link dies at once; the content is kept 30 days, then destroyed.
restore_sitePut a deleted or expired page back at the same URL, inside those 30 days.
claim_siteAdopt a page published without an account, using its claim_token. Same URL; a claim counts as a publish.
get_contentRead a page back as html (exact stored source, editable) or text (stripped, cheap to read).
get_meThis key's account, plan, counts and enforced limits. Read limits from here, never from a description.
link_walletLink your wallet so pages you publish are owned by your account.
list_feedbackRead client comments, unresolved first, each with what it is on and whether it is still on the page.
create_share_linkMint a link addressed to one person — every open through it is attributed to that name.
list_share_linksThe links on a page, with attributed opens and when each was last opened.
revoke_share_linkKill one link; the page and every other link keep working.
resolve_feedbackMark a feedback item addressed, with an optional note.
set_clientFile a page under a client space by name or slug (auto-created), or null to detach.
list_client_spacesThe client spaces on the account: page counts, bound hostname, portal state.
create_client_spaceCreate a space up front. Rarely needed — publishing with client creates one.
update_client_spaceRename, archive, or set the space-wide viewer gate every page under it inherits.
delete_client_spaceRemove a space. Its pages detach and keep their URLs.
get_design_guideThe house design guide — read it before generating or restyling a page.
get_passcodeShow the passcode on a page you own, to send it to the client again (passcodes set since 13 September 2026).
list_versionsEarlier versions of a page, newest first: one snapshot per update.
restore_versionPut an earlier version back at the same URL after a bad update.

How to install the Stacktree MCP Server

{
  "mcpServers": {
    "stacktree": {
      "command": "npx",
      "args": [
        "-y",
        "stacktree-mcp"
      ],
      "env": {
        "STACKTREE_API_KEY": "YOUR_STACKTREE_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
STACKTREE_API_KEYDeclared in the maintainer’s client configuration.Check documentation