Skip to content
GitHub

Agents

Connect an agent

In the panel: Account › Connect agents/account/agents

Every agent connects to one endpoint, https://<your instance>/mcp, with a personal token in the Authorization header. Create the token in the panel, paste the setup line into your client, and the agent can read the fleet with your permissions. It takes about a minute.

Open Account › Connect agents (your avatar › Account, then Connect agents) and press New token.

In the panel · Account › Connect agents › New MCP token
NameWork laptop
Expires after90 days30 days, 90 days, 1 year or Never.
CancelCreate

One token per machine or agent. It reads, and proposes learnings.

  1. Give it a name you will recognize in the token list: the machine or the agent that uses it.
  2. Pick how long it lives. 90 days is the default; Never is there for a service account you rotate by hand.
  3. Press Create. The dialog shows the token once, with the ready Claude Code command. Copy it now; it is not shown again.

There is nothing else to choose: every token reads with your permissions and can propose learnings, which people may reject before they activate. It cannot start tasks or run release steps; see Tokens and scopes. Each token also reports exposed secrets under your name unless you switch its Report exposed secrets choice to Anonymously or Off; see Secret reports.

Tokens start with hk_mcp_. Treat one like a password: anyone holding it reads what you can read.

Under the tokens, Client setup shows the endpoint and one tab per client, each with a Copy button. Replace <token> with the secret you just copied.

In the panel · Account › Connect agents
Client setupCopy
MCP endpointhttps://holtkeeper.example.com/mcp
Claude CodeCursor.mcp.jsoncurl check

Client setup: Streamable HTTP, stateless, read by default.

Terminal window
claude mcp add --transport http holtkeeper https://holtkeeper.example.com/mcp \
--header "Authorization: Bearer <token>"

Run it once per machine. claude mcp list should then show holtkeeper as connected.

Add the server to Cursor’s MCP settings (~/.cursor/mcp.json, or .cursor/mcp.json in a project):

mcp.json
{
"mcpServers": {
"holtkeeper": {
"url": "https://holtkeeper.example.com/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}

Any client that speaks Streamable HTTP can use the same block with "type": "http". A project-level .mcp.json is convenient, but keep the token out of version control: put the file in .gitignore or use your client’s environment variable expansion.

.mcp.json
{
"mcpServers": {
"holtkeeper": {
"type": "http",
"url": "https://holtkeeper.example.com/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}

The curl check tab lists the tools the token gets. A JSON answer with a tools array means the token and the endpoint work; 401 means the token is wrong, expired or revoked.

Terminal window
curl -s https://holtkeeper.example.com/mcp \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

The same token also reads the catalog API (/api/api-surface/* and /api/dependencies*) with the same header, for scripts that want the data without MCP.

Agents get server instructions that tell them when to use which tool, so a plain question usually works:

> Which repositories still use the old Modal from @acme/widget-kit, and with which props?
● holtkeeper - package_usage (package: "@acme/widget-kit")
⎿ @acme/widget-kit — used by 7 repositories
- gitlab:acme/checkout-web (team storefront) 4.2.0 — Modal ×12 (jsx; props: open, onClose, size)
- gitlab:acme/admin-ui (team platform) 3.9.1 — Modal ×31 (jsx; props: open, onClose, footer)
…
● Seven repositories use Modal. admin-ui is still on 3.9.1 and passes `footer`,
which 4.x removed; the others are on 4.x.

Paste the token into one client only, and create another token for each machine. Then the token list shows which machine made which calls, and revoking one never cuts off the others.

The rest of the screen fills in as the agent works:

In the panel · Account › Connect agents
Your tokensFilter tokensNew token
2 active1 expires soon0 expired1 never used
Name Status Allows Token Expires Last used Calls, 7 days
Work laptop Active Read hk_mcp_3f9a… 14 Feb 2027 2 min ago 418
CI agent Expires soon Read hk_mcp_b21c… 22 Nov 2026 yesterday 64
Home desktop Never used Read hk_mcp_77e0… never never 0

Your tokens, with calls in the last 7 days per token.

  • My usage shows your own calls over 7, 30 or 90 days and your most used tools, packages and clients.
  • Tool reference lists the tools your token gets right now, grouped into your packages, third-party libraries and team knowledge, each with its arguments. It is the live list, so it matches what your client sees.
Symptom Cause and fix
401 with WWW-Authenticate: Bearer No token, or the token is wrong, expired or revoked. Create a new one.
405 from the endpoint The client sent GET or DELETE. The endpoint is stateless and takes POST only; pick the HTTP transport, not SSE.
A tool answers with a missing permission Your account lacks it on that repository. The answer names the permission; ask an admin, see Permissions.
Fewer tools than a colleague Some tools depend on the instance and your access, for example package_docs needs the library index and ask the mcp.ask setting.
No start_task or release_step tool MCP has no tools that start tasks or run release steps. Start tasks in Chat or Ops › Tasks, run releases in Releases.
No jobs, release_status or security_findings MCP serves developer tools only. Jobs, release state, findings, licenses and stack usage are in the panel and in Chat.
“Tokens are unavailable” in the panel The instance runs without a key–value store. Ask whoever runs it.
A tool “is not a tool of this server any more” Holtkeeper renamed or merged it after your client connected; clients keep the tool list they read then. Reconnect the server (/mcp in Claude Code).
“Holtkeeper knows no repository …” The repository path is misspelled, or Holtkeeper has never seen it. Check the path (group/app, a git remote URL or forge:path).