Connect Codex
Use datacub in OpenAI's Codex: check your setup, add events in code, and ask about your numbers while you work.
Connect
- Paste both lines in your terminal.
- The second opens your browser: sign in and press Allow.
- Start Codex and ask.
codex mcp add datacub --url https://datacub.to/mcp
codex mcp login datacubThe same commands are in Settings, Connect and AI under Codex.
Good to know
- To install datacub in your code, ask: "Add datacub to this app." Codex calls
get_sdk_setup, follows the steps, then checks withget_integration_status. - To keep the connection read only, use
https://datacub.to/mcp?readonly=1as the address.
Try asking
- "Is datacub receiving events from this app? Use the datacub tools."
- "Add a checkout_completed event after payment succeeds, then check it arrives."
- "What happened to weekly active users after the last release?"
More in Use cases.