Skip to main content

API reference

Unfurl exposes four MCP tools on the remote server. Your AI client calls them the same way it calls any other MCP tool — no REST boilerplate in the chat.
Endpoint: https://mcp.unfurl.pub/mcp — add this URL in Claude or Cursor. Follow Before you start to generate an API key and complete OAuth on the Unfurl authorize page.

Tools

publish_document

Create a document or push a new version to an existing document_id.

get_document

Fetch metadata and optional HTML for a document you already published.

update_document

Change title or description without publishing new HTML.

delete_document

Permanently delete a document and its share links.

REST API

The same operations are available over HTTP if you prefer scripts or custom integrations. See REST API (v1).

Before you start

  1. Unfurl account — Sign in at unfurl.pub.
  2. API key — Open Dashboard → API keys. Create a key with a label (e.g. MCP), then copy the full oodoc_… secret — it is displayed only once. You will paste it on the Unfurl authorize page when your AI client connects to MCP.
  3. MCP connection — Add the endpoint https://mcp.unfurl.pub/mcp in Claude or Cursor and complete OAuth in the browser.

MCP overview

Claude quickstart