Developers

MCP & assistants

Add Headknot to an AI assistant and it answers from your workspaces, with the sources it used.

The server

Headknot is a remote MCP server (Streamable HTTP) at:

https://api.headknot.com/api/mcp

Your signed-in copy is in the app under Settings → AI assistants, with these steps beside it.

Sign-in and access

The first time an assistant connects, it sends you to Headknot to sign in and approve what it may do: read, ask, and (only if it asks) write. It then acts as you, in the workspaces you can use.

To cut one off, disconnect it under Settings → AI assistants. It gets no new access, and loses what it has within 5 minutes.

Tools

ToolDoesNeeds
list_workspacesThe workspaces it can use.read
searchPassages that match a query, each with its document and a link. Free.read
fetchThe full text of a search result’s document.read
askA cited answer. AI Reasoning counts toward your monthly questions, as in the app; search mode is free.ask
upload_noteSaves a note to a workspace. Listed only when write was approved.write

Answers and passages carry their sources. Assistants are told to quote them, and to treat document text as data, not instructions.

Claude

  1. In Claude (web or desktop), open Settings → Connectors.
  2. Choose Add custom connector, name it Headknot and paste the MCP server URL.
  3. Select Connect, sign in to Headknot and allow access.

ChatGPT

  1. In ChatGPT, open Settings → Apps & Connectors → Advanced settings and turn on Developer mode.
  2. Create a connector, name it Headknot, paste the MCP server URL and choose OAuth.
  3. Sign in to Headknot and allow access.

Claude Code

  1. Run this in your terminal.
  2. Then type /mcp in Claude Code, choose headknot and sign in.
claude mcp add --transport http headknot https://api.headknot.com/api/mcp

Cursor

  1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
  2. Open Cursor Settings → MCP, then sign in to Headknot when asked.
{
  "mcpServers": {
    "headknot": {
      "url": "https://api.headknot.com/api/mcp"
    }
  }
}

VS Code (Copilot)

  1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
  2. Start the server from the file, then sign in to Headknot when asked.
{
  "servers": {
    "headknot": {
      "type": "http",
      "url": "https://api.headknot.com/api/mcp"
    }
  }
}

Gemini CLI

  1. Add this to ~/.gemini/settings.json.
  2. Then run /mcp auth headknot in Gemini CLI and sign in.
{
  "mcpServers": {
    "headknot": {
      "httpUrl": "https://api.headknot.com/api/mcp"
    }
  }
}

Using an API key

IDE and command-line clients can send a key instead of signing in. Create one under Settings → API keys and add it as a header, for example in Cursor:

{
  "mcpServers": {
    "headknot": {
      "url": "https://api.headknot.com/api/mcp",
      "headers": {
        "Authorization": "Bearer hk_live_…"
      }
    }
  }
}

A key is limited to its own scopes and workspaces; see Scopes.