# BugBug [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/bugbug-io/agent-plugin  
**GitHub Stars:** 4  
**npm Downloads (last month):** 3344  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/bugbug

## Description
BugBug skills and MCP workflows for AI agents

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "bugbug": {
    "command": "npx",
    "args": ["-y","@bugbug-io/cli"]
  }
}
```

## Documentation

## What BugBug MCP server does

BugBug connects supported AI clients to live BugBug projects, tests, suites, profiles, runs, exports, diagnostics, and related project details. Its MCP layer supplies 50 tools for inspecting data and performing authorized actions, while eight workflow prompts and eleven bundled skills guide agents through common testing tasks.

The plugin is intended for AI coding clients that need to work with BugBug tests and results. It supports planning end-to-end and UI coverage, creating tests from an approved plan, reviewing and repairing selectors, maintaining reusable components and suites, and investigating failed executions using run details, failure diagnostics, screenshots, and DOM snapshots.

## How it works

Installation adds BugBug’s skills and hosted MCP connection to the selected client. The client then completes the MCP OAuth flow against BugBug’s production endpoint, rather than receiving a token from the installer. Skills provide workflow rules and guidance; MCP supplies live project data and operations. Mutations to BugBug resources require explicit user authorization.

The bundled skills cover project-context discovery, support feedback, project health reporting, selector and step authoring, test planning and authoring, run debugging, test refactoring, BugBug SDK execution, and YAML authoring. A separate workflow can use run history and project data to produce QA and product-oriented health insights.

## Setup and configuration

Run the CLI through `npx` and select one supported agent:

```sh
npx @bugbug-io/cli plugin --agent=<agent>
```

The supported agent values are `cursor`, `claude`, `vscode`, `codex`, and `copilot`. Add `--dry-run` to preview the installation. The installer does not accept a `--token` option; after installation, the chosen AI client handles OAuth sign-in.

The connection uses BugBug’s production MCP endpoint:

```text
https://mcp.bugbug.io/mcp
```

Skills are available on all BugBug plans, while MCP access requires a Pro or higher plan.

## Tools and capabilities

- Discover BugBug project, repository, and tested-application context.
- Plan end-to-end and UI test coverage.
- Create and maintain tests after an approved plan.
- Author, review, repair, and optimize element selectors.
- Choose step types and create or update step payloads.
- Investigate test runs and classify failures using available evidence.
- Analyze and refactor tests, groups, components, and suites.
- Create, validate, repair, and explain BugBug YAML.
- Run JavaScript against the BugBug SDK with `bugbug_use_bugbug`.
- Produce read-only project health reports and send support-ready feedback.

The MCP connection also exposes live BugBug data, runs, exports, diagnostics, and mutation actions subject to user authorization.

_Full upstream README: https://allmcps.com/mcp/bugbug/readme_

