🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

stacktree-mcp

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stacktree-mcp

MCP server for stacktr.ee — publish HTML artifacts from agents.

latest
Source
npmnpm
Version
0.4.1
Version published
Weekly downloads
42
-37.31%
Maintainers
1
Weekly downloads
 
Created
Source

stacktree-mcp

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

Install

Add to your MCP client config:

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

Generate an API key at https://app.stacktr.ee.

Tools

ToolWhat it does
publish_htmlPublish HTML; returns { url, id, expires_at, ... }.
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.
delete_siteHard delete a site.
set_passwordAdd or clear a basic-auth password.
set_expirySet hours-from-now expiry, or null for never.
set_email_gateRestrict viewers to an email domain (one-time magic-link verify).
set_agentationToggle the on-page Agentation feedback toolbar.
list_sitesList sites owned by this API key.
link_walletLink your wallet so pages you publish are owned by your account.

Linking a wallet

If your agent pays for publishes from its own wallet (x402 / MPP), link that wallet to your Stacktree account so every page it publishes — past and future — is owned there:

  • Your human generates a link code at https://app.stacktr.ee/wallets.
  • link_wallet({ code }) → returns the exact message to sign.
  • Sign it with your wallet (personal_sign).
  • link_wallet({ code, wallet, signature }) → links the wallet and adopts the pages it already published.

Privacy defaults

Every site gets an unguessable https://stacktr.ee/p/{token}/ URL. Pass public_slug to opt into https://{slug}.stacktr.ee/.

pii_check defaults to block — uploads matching common secrets and PII shapes (emails, SSNs, credit cards, OpenAI/GitHub/Stripe API-key prefixes) are refused. Pass warn to publish anyway (matches are flagged in the response), or off to skip the scan.

Keywords

mcp

FAQs

Package last updated on 27 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts