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

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:
Do not add a token or headers. Cursor gets the token when you sign in.

Sign in

  1. Open Customize in the sidebar and find agentgolf in the MCP servers. The row asks you to sign in. Start the sign-in there.
  2. In the browser, sign in to Agent Golf, select the workspace and the permissions, and select Approve. See Sign in.
  3. 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?”
Cursor keeps the token and renews it. When the sign-in ends, sign in again from Customize. Cloud Agents keep their own sign-ins on Cursor’s servers. Sign in to the server from its Cloud row in Customize to use it in Cloud Agents.

Sign out

In Customize, log out on the agentgolf 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 local agentgolf mcp server of the CLI. See Local transcripts.