> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agent.golf/llms.txt
> Use this file to discover all available pages before exploring further.

# ChatGPT

> Add Agent Golf to ChatGPT as a custom MCP server, sign in, and disconnect.

ChatGPT on the web connects to the Agent Golf MCP server as a custom MCP server, which ChatGPT turns into a plugin. Server URL:

```text theme={null}
https://mcp.agent.golf/mcp
```

ChatGPT connects from OpenAI's cloud, not from your machine. Use ChatGPT on the web to add the server. In a ChatGPT workspace, the workspace permissions decide who can add and use custom MCP servers.

## Add the server

1. Open [ChatGPT Plugins](https://chatgpt.com/plugins).
2. Select the plus button, then **Add custom MCP server**.
3. Enter the name `Agent Golf`. Under **Connection**, enter the server URL `https://mcp.agent.golf/mcp`.
4. For authentication, select **OAuth**. Do not enter a client ID or a client secret.
5. Review the risk warning and select **I understand and want to continue**.
6. Select **Create as a plugin**. ChatGPT lists the tools of the server.
7. Install the plugin from your personal plugins.

## Sign in

1. Connect the Agent Golf plugin. ChatGPT opens the sign-in.
2. In the browser, sign in to Agent Golf, select the workspace and the permissions, and select **Approve**. See [Sign in](https://docs.agent.golf/mcp/access.md#sign-in).
3. In a chat, type `@` and select Agent Golf. Ask, for example, "Which of my sessions cost the most this week?" The tools are read-only, so ChatGPT does not ask you to confirm each call.

ChatGPT keeps the token and renews it. When the sign-in ends, ChatGPT asks you to connect again.

## Sign out

Open the Agent Golf plugin in [ChatGPT Plugins](https://chatgpt.com/plugins) and disconnect it, or remove it. This removes the token from your ChatGPT account.

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](https://docs.agent.golf/mcp/access.md#revoke-a-client).

## Local transcripts

The remote server reads only Agent Golf data. For AI tools on your machine, the local [`agentgolf mcp`](https://docs.agent.golf/cli/commands#agentgolf-mcp) server of the CLI reads local transcripts of Claude Code, Codex, and the GitHub Copilot CLI. See [Local transcripts](https://docs.agent.golf/mcp/overview.md#local-transcripts).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.