Integration / 01

Connect your LLM

Point any MCP-capable client at doc.tl and it can publish documents for you.

MCP endpoint

https://doc.tl/api/mcp

Authenticate with a key from the API keys page (sent as Authorization: Bearer …).

Claude Code plugin

One command installs the MCP server plus skills that teach Claude when to publish and search.

# 1. Set your API key (mint one on the API keys page)
export DOCTL_API_KEY="dtl_live_YOUR_KEY"

# 2. Add the marketplace and install the plugin
claude plugin marketplace add doc-tl/doctl-plugin
claude plugin install doctl@doctl

Then run /mcp to confirm the doctl server connected. Set DOCTL_COLLECTION_URLto a collection's MCP URL to enable knowledge search.

Claude Desktop / Claude Code (manual)

{
  "mcpServers": {
    "doc.tl": {
      "type": "http",
      "url": "https://doc.tl/api/mcp",
      "headers": {
        "Authorization": "Bearer dtl_live_YOUR_KEY"
      }
    }
  }
}

Cursor / other clients

{
  "mcpServers": {
    "doc.tl": {
      "url": "https://doc.tl/api/mcp",
      "headers": { "Authorization": "Bearer dtl_live_YOUR_KEY" }
    }
  }
}

Tools your LLM gets

  • publish_document — publish markdown and get a shareable link.
  • update_document — edit a doc you already published.
  • list_documents— see what you've published.