Add the server
Use one of these. Both name the serveragentgolf. A server in config.toml with that name takes the place of the plugin server.
- Agent Golf plugin
- codex mcp add
The Agent Golf plugin 1.7.0 adds the server and the attribution and health skills. It also adds skills for rework, session health, and pull-request cost. Its tools need Codex 0.167.0 or later. Clone agentgolf/agent-plugins and run from the clone:Restart Codex. Open
/hooks to review and trust the plugin hook.Sign in
-
Run in a shell:
Without a local browser, add
--no-browser, open the printed URL, and paste the redirect URL back. In the Codex app or the IDE extension, select Authenticate next to the server instead. - In the browser, sign in to Agent Golf, select the workspace and the permissions, and select Approve. See Sign in.
-
Restart Codex.
codex mcp listshows the sign-in in the Auth column, and/mcpin Codex lists the tools.
codex mcp login agentgolf again.
Sign out
Local transcripts
The remote server cannot read your local Codex transcripts. To let Codex read them, also add the local server of the CLI under another name. It needsagentgolf login:
agentgolf-session-health skill then reads the transcript around a failing tool call. For the CLI versions that the local server needs, see Local transcripts.