Codex
Connect Sync GTM to Codex, OpenAI’s coding agent CLI.
Why connect Codex to Sync GTM?
Sync GTM gives Codex live B2B data it can act on while building automation tasks from your terminal:
- Enrich contacts as part of agentic tasks — Codex can look up emails, mobile numbers, and LinkedIn profiles mid-execution
- Research companies inline — pull tech stack, headcount, funding, and job openings without leaving the terminal
- Build data pipelines with real GTM data — generate lead lists, verify emails, filter by signals — all orchestrated by Codex
- Automate prospecting workflows — find people within a company, check job changes, validate WhatsApp numbers in one agentic run
- Prototype faster — test enrichment calls interactively while developing the integration that will use them
Best for automation-first teams and developers who want Codex to handle both the code and the GTM data layer.
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.
Keep learning
Connected? These two courses turn the tool list into workflows you actually run.
SyncGTM MCP Mini CourseBeginnerMCP server · 8 lessons · 1h 31mAll 50 MCP tools clustered by GTM job — lead sourcing, CRM enrichment, social signals, account research, scraping — with copy-paste workflow prompts.AI-Powered GTMIntermediateApp + MCP · 19 lessons · 3h 6mWhere AI earns its cost, how to think in MCP tool chains, and three agentic builds — warm outbound, meeting research, CRM repair.
