> ## Documentation Index
> Fetch the complete documentation index at: https://00doc-web.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart: Claude + MCP

> Publish documents directly from your Claude conversation via MCP.

<Info>Time to complete: \~5 minutes (includes creating an API key).</Info>

## What is MCP?

Model Context Protocol (MCP) lets Claude use external tools directly in your conversation. Once connected, you can tell Claude to publish a document to Unfurl — and it does it.

<Steps>
  <Step title="Create an API key">
    1. Sign in at [unfurl.pub](https://unfurl.pub).
    2. Open **[API keys](https://unfurl.pub/dashboard/api-keys)** in the dashboard.
    3. Add a label (e.g. `Claude`) and create a key. **Copy the full `oodoc_…` secret** — it is shown only once. You will need it when the Unfurl authorize page opens after you connect MCP.
  </Step>

  <Step title="Add the Unfurl MCP connector">
    <Tabs>
      <Tab title="Claude.ai (web)">
        1. Go to **Settings → Connectors** (or click the plug icon in your chat)
        2. Search for "Unfurl" or add a custom MCP server
        3. Enter the server URL: `https://mcp.unfurl.pub/mcp`
        4. Authorise the connection. On the Unfurl **authorize** page, **paste your API key** from step 1.
      </Tab>

      <Tab title="Claude Desktop">
        Add this to your MCP config file (`claude_desktop_config.json`):

        ```json theme={null}
        {
          "mcpServers": {
            "unfurl": {
              "url": "https://mcp.unfurl.pub/mcp"
            }
          }
        }
        ```

        Restart Claude Desktop. When the browser opens for OAuth, **paste your API key** from step 1 on the Unfurl authorize page.
      </Tab>
    </Tabs>
  </Step>

  <Step title="Publish a document">
    Ask Claude. For example:

    > "Create an executive summary for our Q3 results and publish it to Unfurl"

    Claude will:

    1. Generate the HTML document
    2. Call `publish_document` via MCP
    3. Return `share_url` — your live link to share
  </Step>

  <Step title="Update it later">
    To update the same document, reference the document ID that was returned:

    > "Update the Q3 summary on Unfurl — add a section on customer churn"

    Claude will push a new version to the same URL. Anyone with the link automatically sees the update.
  </Step>
</Steps>

<Tip>
  **Save the document ID and share URL.** Claude returns `document_id` and `share_url` — use the ID for updates and the URL for clients.
</Tip>

## What's next?

<CardGroup cols={2}>
  <Card title="Update an existing document" icon="arrows-rotate" href="/guides/updating-a-document" />

  <Card title="Understand live links" icon="link" href="/core-concepts/live-links" />
</CardGroup>
