MCP Integration

AdvancedPro

Connect your Relink knowledge base to Claude, Cursor, Windsurf, VS Code, Gemini CLI, Codex CLI, and more. Requires a Pro or Team plan.

Model Context Protocol

Relink implements the open standard Model Context Protocol (MCP) over HTTP. Plug your entire personal knowledge base directly into any MCP-compatible AI tool — the agent can then query your bookmarks, retrieve full article content, and save new links autonomously.

Client Setup

Generate an API Token from the Account page, then pick your client below and paste the config snippet into the corresponding file.

Quick add

claude mcp add --transport http relink https://userelink.com/api/mcp \
  --header "Authorization: Bearer nlk_YOUR_TOKEN_HERE"

Or edit config manually

macOS~/Library/Application Support/Claude/claude_desktop_config.json

Windows%APPDATA%\Claude\claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "relink": {
      "type": "http",
      "url": "https://userelink.com/api/mcp",
      "headers": {
        "Authorization": "Bearer nlk_YOUR_TOKEN_HERE"
      }
    }
  }
}

Restart Claude Desktop completely after saving the config file.

Available Tools

Once connected, the AI agent gains access to the following tools, which it can call autonomously to solve your requests:

search_links

Executes a hybrid semantic/keyword search against your archive.

Input: query (string)

get_link

Retrieves the full markdown extracted content of a specific saved link.

Input: id (string)

save_link

Ingests a new URL. The AI can find interesting pages and proactively save them for you.

Input: url (string)

list_recent_links

Returns a chronological list of your most recently saved articles.