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

Add the server

  1. Run MCP: Add Server from the Command Palette.
  2. Select HTTP, enter https://mcp.agent.golf/mcp, and name the server agentgolf.
  3. Select where VS Code keeps the server: your user profile for all workspaces, or the current workspace.
Or run MCP: Open User Configuration and add the server to mcp.json. Keep the file’s other servers:
Do not add a token or headers. VS Code gets the token when you sign in.

Sign in

  1. Start the server: run MCP: List Servers, select agentgolf, and select Start Server. When VS Code asks, allow the server to sign in.
  2. In the browser, sign in to Agent Golf, select the workspace and the permissions, and select Approve. See Sign in.
  3. In Copilot Chat, select agent mode. The tools of agentgolf show in the tool list.
VS Code keeps the token and renews it. When the sign-in ends, VS Code asks you to sign in again when the server starts.

Sign out

Open the Accounts menu in the Activity Bar, select the Agent Golf account, and select Sign Out. To also remove the client registration from VS Code, run Authentication: Remove Dynamic Authentication Providers and select the Agent Golf entry. 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.