Skip to main content
Claude Code connects to the Agent Golf MCP server over HTTP and signs in with OAuth. Server URL:

Add the server

Use one of these.
The Agent Golf plugin 0.8.0 adds the server and the /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:
Claude Code names the server plugin:agentgolf:agentgolf. Use that name in the steps below.

Sign in

  1. In Claude Code, run /mcp, select the server, and select Authenticate. Or run claude mcp login <server name> in a shell. Without a local browser, add --no-browser and paste the redirect URL back.
  2. In the browser, sign in to Agent Golf, select the workspace and the permissions, and select Approve. See Sign in.
  3. /mcp shows the server as connected, with its tools.
Claude Code keeps the token and renews it. When the sign-in ends, /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 needs agentgolf login:
The plugin’s 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.