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
| Tool | Does | Needs |
|---|---|---|
list_workspaces | The workspaces it can use. | read |
search | Passages that match a query, each with its document and a link. Free. | read |
fetch | The full text of a search result’s document. | read |
ask | A cited answer. AI Reasoning counts toward your monthly questions, as in the app; search mode is free. | ask |
upload_note | Saves 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
- In Claude (web or desktop), open Settings → Connectors.
- Choose Add custom connector, name it Headknot and paste the MCP server URL.
- Select Connect, sign in to Headknot and allow access.
ChatGPT
- In ChatGPT, open Settings → Apps & Connectors → Advanced settings and turn on Developer mode.
- Create a connector, name it Headknot, paste the MCP server URL and choose OAuth.
- Sign in to Headknot and allow access.
Claude Code
- Run this in your terminal.
- Then type /mcp in Claude Code, choose headknot and sign in.
claude mcp add --transport http headknot https://api.headknot.com/api/mcp
Cursor
- Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
- Open Cursor Settings → MCP, then sign in to Headknot when asked.
{
"mcpServers": {
"headknot": {
"url": "https://api.headknot.com/api/mcp"
}
}
}VS Code (Copilot)
- Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
- 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
- Add this to ~/.gemini/settings.json.
- 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.