By · Founder, Stacktree · Last updated
for Claude.ai

Add Stacktree to Claude.ai as a custom connector.

Paste https://api.stacktr.ee/mcp as a custom Claude.ai connector and Claude can publish any HTML it generates to a private, unguessable URL — straight from chat, no CLI required.

Get started free

What is the Stacktree Claude.ai connector?

It's an MCP server reachable over streamable HTTP at https://api.stacktr.ee/mcp. Claude.ai discovers the OAuth 2.1 metadata, registers a client via Dynamic Client Registration, and Claude can then call publish_html + the six other Stacktree verbs from any conversation. The result: HTML Claude generates in chat can be handed back to you as a private link without leaving the browser.

The 30-second install

  1. Open Claude.ai → Settings → Connectors → Add custom connector.
  2. Paste https://api.stacktr.ee/mcp as the server URL.
  3. Claude.ai performs OAuth discovery + DCR automatically.
  4. Approve the consent screen with your Stacktree account.
  5. Done — Stacktree's seven tool calls are now visible to Claude in every chat.

What changes in your chats

Suppose you ask Claude.ai to draft a one-page status report for stakeholders. Without the connector, Claude shows you the HTML in the chat and you copy it somewhere. With the connector, Claude can say "I'll publish that for you privately" and call publish_html directly — you get a URL back in the chat that's private, expiring, and replaceable.

Per-link controls Claude can apply

  • Password. Claude calls set_password when you ask it to lock the link.
  • Email-domain gate. "Lock to @yourco.com" → Claude calls set_email_gate with the domain.
  • Expiry. "Expire in 24 hours" → set_expiry handles it.
  • Replace in place. Asking Claude to revise the report later → update_site updates the same URL.

Privacy + security

The connector runs against your authenticated Stacktree account — Claude.ai cannot see your other sites, your billing, or any data outside the OAuth scope. Revoke the connector at any time from Stacktree settings; the token is invalidated immediately and Claude.ai loses access on the next request.

FAQ

Frequent questions

How do I add a custom MCP connector to Claude.ai? +
In Claude.ai go to Settings → Connectors → Add custom connector. Paste https://api.stacktr.ee/mcp as the server URL. Claude.ai reads the OAuth 2.1 metadata, performs Dynamic Client Registration, and prompts you to authorise. After that, the seven Stacktree tool calls are available in any chat.
Does this work on the free Claude.ai plan? +
Custom connectors are available on Claude.ai's paid plans. The Stacktree side is free — the only requirement is having an account that can add connectors.
What transport does Claude.ai use? +
Streamable HTTP (the MCP transport for hosted clients). Stacktree exposes POST /mcp and GET /mcp with Server-Sent Events for streaming responses.
How does authentication work? +
OAuth 2.1 with Dynamic Client Registration (RFC 7591). Claude.ai registers itself at /oauth/register, you authorise via /oauth/authorize, and Claude.ai stores the token. You can revoke it at any time from Stacktree settings.
Can Claude in the browser still publish HTML it generates? +
Yes — once the connector is installed, Claude can call publish_html with HTML it generated in the chat, get back a private URL, and paste it for you to share.
Keep reading

Related guides

References

Sources and further reading

Wire Stacktree into Claude.ai.

Paste one URL. Claude can hand you private links from any chat.

Sign up free →