Documentation Menu

Agentic Workflows (MCP)

RegressionBot natively supports the Model Context Protocol (MCP). Expose visual testing tools directly to your AI agents (Gemini, Claude Code, Windsurf, Cursor) via our remote HTTP MCP server. This allows your agents to autonomously run regression tests, check statuses, and approve baselines without any local installation.

Claude Code

Anthropic’s CLI natively supports Streamable HTTP transports and inline header injection via command line.

Terminal
claude mcp add --transport http regressionbot https://mcp.regressionbot.com/ --header "x-api-key: YOUR_API_KEY"

Cursor

Configure remote servers directly through Cursor's graphical interface to keep your API keys encrypted.

  1. Open Cursor Settings and navigate to Features > MCP Servers.
  2. Click + Add New MCP Server.
  3. Fill out the configuration:
    • Name: regressionbot
    • Type: http
    • URL: https://mcp.regressionbot.com/
  4. Add a header row with x-api-key as the key and your API key as the value.
  5. Click Save and verify the green status indicator.

Windsurf

Windsurf handles remote HTTP MCPs using a structured JSON file. Add the following to your ~/.codeium/windsurf/mcp_config.json:

mcp_config.json
{
  "mcpServers": {
    "regressionbot": {
      "serverUrl": "https://mcp.regressionbot.com/",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}

Gemini CLI

Gemini CLI natively supports direct Streamable HTTP transport. You can add it via command line or settings file.

Option 1: Command Line
gemini mcp add --transport http regressionbot https://mcp.regressionbot.com/ --header "x-api-key: YOUR_API_KEY"
Option 2: settings.json
{
  "mcpServers": {
    "regressionbot": {
      "httpUrl": "https://mcp.regressionbot.com/",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}