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

# omp

> Connect omp to the Agent Golf MCP server, sign in, and sign out.

omp connects to the Agent Golf MCP server over HTTP and signs in with OAuth. Server URL:

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

## Add the server

Use one of these. Both name the server `agentgolf`.

> [tab] Agent Golf plugin
>
> The Agent Golf plugin 1.5.0 adds the server, the `agentgolf_read_session` tool for local omp sessions, and the `/agentgolf:attribute` and `/agentgolf:health` commands. It also adds skills for rework, session health, and pull-request cost. It needs omp 18.18.6 or later. Clone [agentgolf/agent-plugins](https://github.com/agentgolf/agent-plugins) and run from the clone:
>
> ```bash theme={null}
> omp plugin link "$PWD/omp"
> ```
>
> Keep the clone at that path. Start a new omp session.

> [tab] mcp.json
>
> Add the server to `~/.omp/agent/mcp.json`, and keep the file's other servers:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "agentgolf": {
>       "type": "http",
>       "url": "https://mcp.agent.golf/mcp"
>     }
>   }
> }
> ```
>
> Start a new omp session.

## Sign in

1. In omp, run:

   ```text theme={null}
   /mcp reauth agentgolf
   ```

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. omp connects the server. `/mcp list` shows it with its tools.

omp keeps the token and renews it. When the sign-in ends, run `/mcp reauth agentgolf` again.

## Sign out

```text theme={null}
/mcp unauth agentgolf
```

This removes the token from omp. 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 cannot read your local omp sessions. The plugin's `agentgolf_read_session` tool reads them on your machine, and the plugin's `agentgolf-session-health` skill uses it. The local [`agentgolf mcp`](https://docs.agent.golf/cli/commands#agentgolf-mcp) server of the CLI has the same Agent Golf tools. 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.