Stacktree
@stevysmith
About Stacktree
Publish HTML to a private, unguessable URL from any MCP client. Gate by password or email domain; replace in place.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"stacktree": {
"command": "npx",
"args": [
"-y",
"stacktree-mcp"
],
"env": {
"STACKTREE_API_KEY": "stk_live_..."
}
}
}
}Tools
7Publish HTML; returns `{ url, id, expires_at, ... }`.
Replace HTML of an existing site in place; URL is preserved.
Hard delete a site.
Add or clear a basic-auth password.
Set hours-from-now expiry, or `null` for never.
Toggle the on-page Agentation feedback toolbar.
List sites owned by this API key.
Overview
What is Stacktree?
Stacktree is an MCP server for stacktr.ee that lets you publish HTML artifacts directly from any MCP client, including Claude Desktop, Claude Code, Cursor, and Continue.
How to use Stacktree?
Add the server to your MCP client configuration with the command npx -y stacktree-mcp and set the STACKTREE_API_KEY environment variable. Generate an API key at https://app.stacktr.ee. Once configured, use the server’s tools to publish, update, delete, password‑protect, set expiry, toggle a feedback toolbar, and list your sites.
Key features of Stacktree
- Publish HTML artifacts to a unique URL
- Update an existing site’s HTML while preserving its URL
- Delete a site permanently
- Add or remove basic‑auth passwords
- Set an expiration time (or never expire)
- Toggle the Agentation feedback toolbar on the page
- List all sites owned by the API key
- PII check warns (or blocks) on common secrets and PII
Use cases of Stacktree
- Deploy AI‑generated HTML quickly from your MCP client
- Host prototypes or demos with automatically expiring URLs
- Share password‑protected HTML pages with collaborators
- Manage a collection of HTML artifacts programmatically from any MCP environment
FAQ from Stacktree
How do I publish HTML?
Use the publish_html tool. It returns the site’s URL, ID, expiration time, and other metadata.
How do I update an existing site?
Use the update_site tool to replace the HTML of a site in place; the URL stays the same.
Can I password protect my sites?
Yes, the set_password tool lets you add or clear a basic‑auth password for any site.
How is privacy handled?
Every site gets an unguessable URL. The pii_check parameter defaults to warn, flagging secrets and PII in the response; you can pass block to refuse such uploads.
How do I get an API key?
Generate an API key at https://app.stacktr.ee and set it as the STACKTREE_API_KEY environment variable.
Frequently asked questions
How do I publish HTML?
Use the `publish_html` tool. It returns the site’s URL, ID, expiration time, and other metadata.
How do I update an existing site?
Use the `update_site` tool to replace the HTML of a site in place; the URL stays the same.
Can I password protect my sites?
Yes, the `set_password` tool lets you add or clear a basic‑auth password for any site.
How is privacy handled?
Every site gets an unguessable URL. The `pii_check` parameter defaults to `warn`, flagging secrets and PII in the response; you can pass `block` to refuse such uploads.
How do I get an API key?
Generate an API key at https://app.stacktr.ee and set it as the `STACKTREE_API_KEY` environment variable.
Basic information
More Other MCP servers

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
ICSS
chokcoco不止于 CSS
Nginx UI
0xJackyYet another WebUI for Nginx
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Comments