MCP Server

Connect Claude, ChatGPT or a coding agent to Bandit. Your assistant can check your setup, write alternatives to your live copy, and create, start and pause experiments.

Server URL:https://app.runbandit.com/mcp

Connect

Add the server URL to your app. The first time it calls Bandit, you sign in, choose a company and press Allow. The app only sees that company.

Claude

  1. Open Settings, then Connectors.
  2. Choose Add custom connector and paste the URL.
  3. Sign in to Bandit and press Allow.

ChatGPT

  1. Open Settings, then Apps and connectors, and turn on developer mode under Advanced.
  2. Create a connector and paste the URL, with OAuth sign-in.
  3. Sign in to Bandit and press Allow.

Claude Code, Cursor and other agents

  1. Run claude mcp add --transport http bandit https://app.runbandit.com/mcp, or add the URL as an HTTP MCP server.
  2. Sign in when the agent asks.

Through the CLI

For an agent that only runs local stdio servers, use the Bandit CLI. It signs in with your bandit login and the company you chose with bandit switch.

{
  "mcpServers": {
    "bandit": { "command": "bandit", "args": ["mcp"] }
  }
}

Tools

Account and setup

whoamiThe signed-in user and the connected company.
setup_statusEach setup stage, what is done, and what to do next.

Funnels and campaigns

list_funnelsFunnels with their goal.
create_funnelA site flow with one conversion goal.
list_campaignsEmail campaigns.
create_campaignAn email send to test subject lines or content in.
start_campaignStart serving a campaign.
mark_campaign_sentRecord that the email went out.

Experiments

list_experimentsExperiments, optionally for one funnel or campaign.
get_experimentOne experiment with its treatments and results.
create_experimentA draft experiment in a funnel or campaign, with its treatments.
update_experimentRename, change the algorithm or memory.
start_experimentStart serving it.
pause_experimentStop serving it.

Treatments

list_treatmentsThe treatments of an experiment.
create_treatmentAdd an alternative.
update_treatmentEdit a treatment’s name or content.
close_treatmentArchive a treatment: stop serving it, keep its history.
reopen_treatmentServe a closed treatment again.

Experiments are created as drafts with equal weights. The bandit shifts traffic toward the winner on its own, so the assistant is told not to change weights or touch experiments you did not ask about.

Disconnect

Every connected app is listed under Settings, AI apps. Disconnect revokes its access right away.