MCP overview
Model Context Protocol (MCP) is a standard way for AI apps to call tools — real actions on real systems — while you stay in the conversation. For Unfurl, that means your assistant can publish HTML, apply small edits, list documents, and read viewer feedback without copy-paste or manual uploads.How to connect
There are three valid paths. None of them is “the only way.”
On OAuth paths, sign in and click Allow. Unfurl auto-provisions a managed connector key — you do not have to paste a key on the authorize page. Create a dashboard key when you want REST access or a client that uses headers.
Full steps: Connect MCP and unfurl.pub/connect.
Unfurl MCP endpoint
Available tools
The same operations are available over REST.
Edit vs publish
For an existing document, read the current HTML once withget_document (include_html: true), then call edit_document with small unique snippets. Reserve publish_document for new documents or large rewrites. update_document never changes HTML.