Claude Code MCP integration

Add Mida as an HTTP MCP server in Claude Code so Claude Code can work with your experiments, goals, drafts, and previews.

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

About Claude Code

Claude Code 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 Claude Code integration works

Mida exposes a remote HTTP MCP server at https://mcp.mida.so/mcp. Claude Code can register it with the claude mcp add command, then use browser authorization to connect to your selected Mida project.

Requirements

  • Claude Code installed and signed in.
  • An active Mida dashboard account.
  • Access to the Mida project you want Claude Code to use.

How to use Claude Code with Mida

  • Run: claude mcp add --transport http mida https://mcp.mida.so/mcp
  • Run claude mcp list, or open Claude Code and use /mcp to confirm that the Mida server is available.
  • If Claude Code asks for authorization, complete Mida sign-in in the browser and select the project this CLI should use.
  • Ask Claude Code to inspect experiments, create drafts, or fetch preview URLs from your terminal workflow.

Use cases

Summarize experiment performance in plain English

Ask Claude Code 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 Claude Code. Mida MCP can create drafts where supported so your team can review changes before launch.

Generate preview URLs for review

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

Turn business goals into conversion goals

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

Shared data

Mida and Claude Code exchange the following events:

Event Direction Description
list_experiments Data out Claude Code can request experiment lists and summaries from the Mida workspace you authorize.
create_draft_experiment Data in Claude Code can create draft experiments, goals, or personalizations for review in Mida.
get_preview_url Data out Claude Code can fetch Mida preview URLs for variants and drafts.

Frequently asked questions

Do I need to share a Mida API key with Claude Code?

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

Can Claude Code 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 Claude Code 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