Add the server
Use one of these.- Agent Golf plugin
- claude mcp add
The Agent Golf plugin 0.8.0 adds the server and the Claude Code names the server
/agentgolf:attribute and /agentgolf:health commands. It also adds skills for rework, session health, and pull-request cost. Its tools need Claude Code 2.1.308 or later. Enter in Claude Code:plugin:agentgolf:agentgolf. Use that name in the steps below.Sign in
- In Claude Code, run
/mcp, select the server, and select Authenticate. Or runclaude mcp login <server name>in a shell. Without a local browser, add--no-browserand paste the redirect URL back. - In the browser, sign in to Agent Golf, select the workspace and the permissions, and select Approve. See Sign in.
/mcpshows the server as connected, with its tools.
/mcp shows that the server needs authentication. Sign in again.
Sign out
Run/mcp, select the server, and select Clear authentication. Or run claude mcp logout <server name> in a shell. This removes the token from Claude Code.
To end the access on the Agent Golf side too, revoke the client on the MCP Clients card of the Account page. See Revoke a client.
Local transcripts
The remote server cannot read your local Claude Code transcripts. To let Claude read them, also add the local server of the CLI. It needsagentgolf login:
agentgolf-session-health skill then reads the transcript around a failing tool call. For the CLI versions that the local server needs, see Local transcripts.