Claude Code has no guided setup in GateRook 2.0.0, and it isn't among the apps GateRook lists as supported. If you use Claude Code through Claude Desktop's Code sessions, connect Claude Desktop instead: those sessions use its GateRook extension. For the Claude Code CLI, you can try the generic path, Add app manually:
- In GateRook, open AI apps and select Add app manually. Name the app, choose an endpoint and a token lifetime, then select Add app.
- Copy the Endpoint URL and the token, which is shown once.
- Add the server with the HTTP form from Claude Code's documentation, using your own URL and token:
claude mcp add --transport http gaterook-default --scope user http://127.0.0.1:7465/mcp/default --header "Authorization: Bearer <token>"- In Claude Code, run
/mcpto check the server. GateRook shows the app as Awaiting connection until its first request arrives.
With --scope user, the server is available in all your projects. Claude Code keeps the token in plain text in ~/.claude.json, and your shell history may keep the command, so choose a short lifetime. Don't put the token in a project's shared .mcp.json. To end access, select Remove app in GateRook and run claude mcp remove gaterook-default. See Claude Code's MCP documentation (opens in a new tab).