# BugBrain

> BugBrain is an MCP server for developer tools. Autonomous AI QA agent that tests web apps, PR previews and LLM features for dev teams. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free trial
- **Starting price:** $49 a month
- **Platforms:** Web, API, CLI, VS Code, Slack, Microsoft Teams
- **Website:** https://bugbrain.tech
- **MCP Registry name:** tech.bugbrain/mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-21

## About

BugBrain is a hosted QA service that you point at a running web app. Its agent signs in with supplied credentials, works through the screens it finds, and reports bugs with root cause, severity, reproduction steps and screenshots. The README and site describe a separate MCP server, installed with npx, that lets Claude Code, Cursor or Codex start runs and read findings from the editor.

Beyond open-ended exploration, the platform runs saved test cases as deterministic replays that heal their element lookups when the UI changes, and a GitHub app can run pre-merge checks against each pull request's preview deployment. The site also describes probes aimed at chatbots and LLM features, such as prompt injection and hallucination checks.

The product suits small teams without a dedicated QA hire, and larger engineering groups that want regression coverage on pull requests. Plans are monthly and capped by run counts, and the MCP server needs a BugBrain API key.

## Features

- **Autonomous exploratory testing:** The agent signs in, follows flows like a user and records bugs it finds without hand-written scripts.
- **Pre-merge PR checks:** A GitHub app tests each pull request's preview deployment and posts a pass or fail check.
- **Self-healing test locators:** Element lookup falls back through cache, DOM graph, accessibility tree and vision when the UI changes.
- **LLM feature probes:** Adversarial checks for prompt injection, hallucinated answers and multi-turn consistency in chatbots.
- **MCP server for AI editors:** Run tests and read findings from Claude Code, Cursor or Codex through the @bugbrain/mcp package.
- **Bug reports with evidence:** Each finding includes root cause, severity, repro steps and screenshots from the run.

## Good for

- Catch regressions in a pull request before it merges to main
- Explore a web app for bugs that nobody has written a test for
- Test chatbot and copilot responses for prompt injection and hallucinations
- Run QA on a staging app from inside Claude Code or Cursor
- Check accessibility and compliance coverage on a recurring schedule

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp --env BUGBRAIN_API_KEY='<BUGBRAIN_API_KEY>' -- npx -y @bugbrain/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@bugbrain/mcp"
      ],
      "env": {
        "BUGBRAIN_API_KEY": "<BUGBRAIN_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@bugbrain/mcp"
      ],
      "env": {
        "BUGBRAIN_API_KEY": "<BUGBRAIN_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@bugbrain/mcp"
      ],
      "env": {
        "BUGBRAIN_API_KEY": "<BUGBRAIN_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@bugbrain/mcp"
      ],
      "env": {
        "BUGBRAIN_API_KEY": "<BUGBRAIN_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@bugbrain/mcp"
      ],
      "env": {
        "BUGBRAIN_API_KEY": "<BUGBRAIN_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Do I need to write test scripts?

No. The agent explores the app and writes reusable test cases, though you can edit them yourself.

### How is the MCP server installed?

The registry entry and site give the command npx -y @bugbrain/mcp and require a BugBrain API key set as BUGBRAIN_API_KEY.

### Is there a free trial?

The site says the Launch plan has a 14-day free trial with no credit card required.

### What does the Launch plan cost?

Paid plans start at $49 per month on the Launch plan, according to the pricing page.

### How do I add BugBrain to Claude Code?

Run this command in your terminal: claude mcp add mcp --env BUGBRAIN_API_KEY='<BUGBRAIN_API_KEY>' -- npx -y @bugbrain/mcp

### What are the best alternatives to BugBrain?

The closest alternatives to BugBrain are BugBug, Momentic, browserstack, Prober and BugMojo.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [BugBug](https://ai-powered.com/mcp/bugbug): BugBug is a paid MCP server for developer tools.
- [Momentic](https://ai-powered.com/mcp/momentic): Momentic is a freemium MCP server for developer tools.
- [browserstack](https://ai-powered.com/mcp/browserstack): browserstack is an MCP server for developer tools.
- [Prober](https://ai-powered.com/mcp/prober): Prober is a freemium MCP server for developer tools.
- [BugMojo](https://ai-powered.com/mcp/bugmojo): BugMojo is a freemium MCP server for developer tools.
- [ContextQA MCP](https://ai-powered.com/mcp/contextqa-mcp): ContextQA MCP is an MCP server for developer tools.
- [Monito](https://ai-powered.com/mcp/monito): Monito is a freemium MCP server for developer tools.
- [Qai Consultant MCP](https://ai-powered.com/mcp/qai-consultant-mcp): Qai Consultant MCP is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/bugbrain
