Codex A/B testing integration

Add Mida to OpenAI Codex once and use it from the Codex CLI, IDE extension, and desktop app to check results, draft tests, and fetch preview URLs.

AI Assistants Two-way sync Remote MCP Works with Mida A/B Testing & Personalization

About Codex

Codex is an AI assistant or MCP-compatible client that can use Mida tools after you authorize your dashboard account. Connecting it with Mida lets teams inspect experiments, create drafts, request preview URLs, and summarize results from the assistant they already use.

How the Codex integration works

Mida exposes a remote HTTP MCP server at https://mcp.mida.so/mcp. Codex registers it with codex mcp add, signs in through your browser with codex mcp login, and shares that setup across the CLI, IDE extension, and desktop app.

Requirements

  • The Codex CLI, IDE extension, or desktop app, signed in with your ChatGPT account or an OpenAI API key.
  • An active Mida dashboard account.
  • Access to the Mida project you want Codex to use.

How to use Codex with Mida

  1. Install the Codex CLI, or open the Codex IDE extension or desktop app. All three read the same ~/.codex/config.toml, so you only add Mida once.
  2. Run: codex mcp add mida --url https://mcp.mida.so/mcp
  3. Run: codex mcp login mida. Codex opens a browser window. Sign in with Mida and choose the project Codex should use.
  4. Start Codex, type /mcp to confirm mida is connected, then ask it to summarize experiments, create a draft test, or fetch a preview URL.

Use cases

Summarize experiment performance in plain English

Ask Codex to list active Mida experiments, explain winners and losers, and highlight what to review before making a launch decision.

Create draft tests faster

Describe the page, hypothesis, and variant idea to Codex. Mida MCP can create drafts where supported so your team can review changes before launch.

Generate preview URLs for review

Ask Codex for a Mida preview URL for a variant or draft, then share it with teammates before publishing.

Turn business goals into conversion goals

Use Codex to help create Mida goals for purchases, signups, bookings, or custom events without hunting through the dashboard.

Example use case

Illustrative demo only — not connected to your account. After you connect Mida, your assistant can help monitor experiments and notify your team when something is worth acting on.

claude • mida

Frequently asked questions

Do I need to share a Mida API key with Codex?

No. Use the Mida MCP server URL and sign in with Mida when prompted. Do not paste API keys into your assistant.

Can Codex launch experiments automatically?

MCP creates drafts by default where supported, so you can review changes in Mida before launching. You remain in control of what goes live.

Which Mida project does Codex use?

During authorization, choose the Mida project the assistant should use. If you manage multiple projects, verify the selected project before creating tests, goals, or personalizations.

What MCP server URL should I use?

Use https://mcp.mida.so/mcp as the remote MCP server URL.

Ship A/B tests 10x faster — connected to your stack

Mida is the lightweight A/B testing and personalization platform that integrates with the tools you already pay for.

Decorative graphic Decorative graphic Decorative graphic Decorative graphic