Skip to Content

Codex logoCodex

Connect Sync GTM to Codex, OpenAI’s coding agent CLI.

Install

  • Open ~/.codex/config.toml and add the Sync GTM server. The experimental_use_rmcp_client feature 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_var is needed — Sync GTM uses browser OAuth, not a static token.

Next steps