- MCP servers connect Confidence to the AI assistant in your IDE or terminal, such as Claude Code, Codex, Cursor, or VS Code with GitHub Copilot.
- The Confidence Agent runs inside the Confidence app and is also available in Slack. It needs no setup.
Choose a Path
The Confidence Agent and the MCP servers have different tool sets. For
example, the agent can create experiments and analyze an experiment run
elsewhere, while only the MCP servers create metrics with
createMetric. More AI
features are coming to both.
Connect the MCP Servers
Confidence has three public MCP servers:- Documentation: searches and reads the Confidence documentation, including SDK integration guides. It needs no authentication.
- Flags: creates and manages clients, flags, variants, targeting rules, event definitions, assignment tables, metrics, and metric calculations.
- Experiments: lists A/B tests and rollouts and reads their results. It can’t create or change experiments.
Before You Begin
- You need a Confidence account.
- You need an AI assistant that supports MCP, such as Claude Code, Codex, Cursor, or VS Code with GitHub Copilot.
Set Up the Documentation MCP Server
The Documentation MCP server gives your AI assistant access to Confidence documentation. It requires no authentication, uses streamable HTTP as the transport, and its URL ishttps://confidence.spotify.com/docs/mcp.
- Claude Code
- Codex
- Cursor
- VS Code
Set Up the Flags MCP Server
The Flags MCP server lets your AI assistant create and manage feature flags. It requires authentication, so allow access from the IDE or developer tool where you use it. The server uses streamable HTTP as the transport and its URL ishttps://mcp.confidence.dev/mcp/flags.
- Claude Code
- Codex
- Cursor
- VS Code
/mcp and select confidence-flags to authenticate.Set Up the Experiments MCP Server
The Experiments MCP server lets your AI assistant explore and analyze A/B tests and rollouts. It requires authentication, so allow access from the IDE or developer tool where you use it. The server uses streamable HTTP as the transport and its URL ishttps://mcp.confidence.dev/mcp/experiments.
- Claude Code
- Codex
- Cursor
- VS Code
/mcp and select confidence-experiments to authenticate.
