Add the server
Add the server to~/.cursor/mcp.json for all your projects, or to .cursor/mcp.json in one project. Keep the file’s other servers:
Sign in
- Open Customize in the sidebar and find
agentgolfin the MCP servers. The row asks you to sign in. Start the sign-in there. - In the browser, sign in to Agent Golf, select the workspace and the permissions, and select Approve. See Sign in.
- Back in Cursor, the server shows its tools. Ask the agent to use Agent Golf, for example “Which of my sessions cost the most this week?”
Sign out
In Customize, log out on theagentgolf row. Do the same on its Cloud row if you signed in for Cloud Agents. This removes the token from Cursor.
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 reads only Agent Golf data. To read local transcripts of Claude Code, Codex, and the GitHub Copilot CLI, also add the localagentgolf mcp server of the CLI. See Local transcripts.