Agents
Connect an agent
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.
1. Create a token
Section titled “1. Create a token”Open Account › Connect agents (your avatar › Account, then Connect agents) and press New token.
One token per machine or agent. It reads, and proposes learnings.
- Give it a name you will recognize in the token list: the machine or the agent that uses it.
- Pick how long it lives. 90 days is the default; Never is there for a service account you rotate by hand.
- 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.
2. Add the server to your client
Section titled “2. Add the server to your client”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.
Client setup: Streamable HTTP, stateless, read by default.
Claude Code
Section titled “Claude Code”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.
Cursor
Section titled “Cursor”Add the server to Cursor’s MCP settings (~/.cursor/mcp.json, or .cursor/mcp.json in a project):
{ "mcpServers": { "holtkeeper": { "url": "https://holtkeeper.example.com/mcp", "headers": { "Authorization": "Bearer <token>" } } }}.mcp.json and other clients
Section titled “.mcp.json and other clients”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.
{ "mcpServers": { "holtkeeper": { "type": "http", "url": "https://holtkeeper.example.com/mcp", "headers": { "Authorization": "Bearer <token>" } } }}Check with curl
Section titled “Check with curl”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.
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.
3. Ask about your code
Section titled “3. Ask about your code”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.
What you see after connecting
Section titled “What you see after connecting”The rest of the screen fills in as the agent works:
| 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.
Troubleshooting
Section titled “Troubleshooting”| 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). |
Related
Section titled “Related”- Tokens and scopes — what a token can see and how to revoke it.
- What agents can ask — the tools with example questions.
- Account › Connect agents — the panel screen in full.
- MCP tools — every tool and its arguments.