> ## 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.

# Claude and Claude Desktop

> Add Agent Golf as a custom connector in claude.ai and Claude Desktop, sign in, and disconnect.

claude.ai and Claude Desktop connect to the Agent Golf MCP server as a custom connector. You add the connector once for your Claude account, and it works in both. Server URL:

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

Claude connects from Anthropic's cloud, not from your machine. Do not add the server to `claude_desktop_config.json`. That file is for local servers only.

## Add the connector

> [tab] Free, Pro, Max, or Ultra plan
>
> 1. Open **Customize > Connectors**.
> 2. Select **+ Add**, then **Add custom connector**.
> 3. Enter the name `Agent Golf` and the URL `https://mcp.agent.golf/mcp`, then select **Continue**.
> 4. Keep the authentication settings that Claude detected, and select **Continue**.
> 5. Under **Authentication**, select **Sign in now** or **Sign in when needed**. Do not select **No sign in**.
> 6. Under **OAuth client**, keep **Use Claude's published identity (Recommended)**. **Register automatically** also works. Do not add request headers.
> 7. Select **Add**.
>
> A Free plan allows one custom connector.

> [tab] Team or Enterprise plan
>
> An Owner adds the connector for the organization:
>
> 1. Open **Organization settings > Connectors**.
> 2. Select **Add**, then hold the pointer on **Custom** and select **Web**.
> 3. Enter the name `Agent Golf` and the URL `https://mcp.agent.golf/mcp`, then select **Continue**.
> 4. Keep the authentication settings that Claude detected, and select **Continue**.
> 5. Under **Authentication**, select **Sign in now** or **Sign in when needed**. Do not select **No sign in**.
> 6. Under **OAuth client**, keep **Use Claude's published identity (Recommended)**. **Register automatically** also works. Do not add request headers.
> 7. Select **Add**.
>
> Each user then signs in with their own Agent Golf account. The connector shows in **Customize > Connectors** with the **Custom** label.

## Sign in

1. In **Customize > Connectors**, select **Connect** on the Agent Golf connector.
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, select **+**, then **Connectors**, and turn on Agent Golf for the chat. Ask, for example, "Which of my sessions cost the most this week?"

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

## Sign out

In **Customize > Connectors**, select the Agent Golf connector and select **Disconnect**. This removes the token from your Claude account. To remove the connector, select **Remove**.

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. 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. Claude Desktop can run it from `claude_desktop_config.json`. 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.