Codex
Connect Sync GTM to Codex, OpenAI’s coding agent CLI.
Install
- Open
~/.codex/config.tomland add the Sync GTM server. Theexperimental_use_rmcp_clientfeature enables streamable-HTTP MCP servers:
[features]
experimental_use_rmcp_client = true
[mcp_servers.syncgtm]
url = "https://api.syncgtm.com/mcp"- Start the browser sign-in:
codex mcp login syncgtm- Your default browser opens the Sync GTM authorization page. Sign in and approve.
- Codex stores the session and connects on each run.
No
bearer_token_env_varis needed — Sync GTM uses browser OAuth, not a static token.
Next steps
- Browse the available tools.
- See usage examples on the MCP overview.
