[Home](/index.md) › [MCP servers](/mcp.md) › BugBug MCP

# BugBug MCP

MCP server

- 73 callable tools
- 5 capabilities

[Installation guide](https://docs.bugbug.io/ai-testing/mcp.md)

## Overview

BugBug publishes this Model Context Protocol server so AI agents can work with BugBug test automation projects. It exposes tools for tests, suites, runs, steps, components, tags, profiles, variables, files and run evidence.

### Capabilities

- Inspect tests, suites, runs and run history
- Create and update tests, steps, groups and components
- Start and stop test and suite runs
- Diagnose failed runs from DOM snapshots, screenshots and logs
- Manage tags, run profiles, variables and project files

## Works with

The products your agent can work with through this server.

- [BugBug](/tools/bugbug.md): No-code test automation

## Tools

The callable functions your agent uses to work with this server.

### `bugbug_list_tests`

List BugBug tests. Supports filtering by name.

### `bugbug_get_test`

Get details of a specific test.

### `bugbug_create_tests`

Create one or more new tests.

### `bugbug_patch_test`

Partially update a test.

### `bugbug_delete_test`

Delete a test by ID.

### `bugbug_import_test`

Import a test from YAML or ZIP.

### `bugbug_update_step_position`

Move a step within a test.

### `bugbug_update_group_position`

Move a group within a test.

### `bugbug_run_test`

Start a test run by test name or ID.

### `bugbug_list_suites`

List BugBug test suites.

### `bugbug_get_suite`

Get details of a specific suite.

### `bugbug_create_suite`

Create a new suite.

### `bugbug_update_suite`

Update a suite.

### `bugbug_delete_suite`

Delete a suite by ID.

### `bugbug_run_suite`

Start a suite run by suite ID.

### `bugbug_list_test_runs`

List historical test runs.

### `bugbug_get_test_run`

Get detailed results of a test run.

### `bugbug_list_suite_runs`

List suite runs.

### `bugbug_get_suite_run`

Get results of a suite run: a compact view with the failed tests and their failing step by default, or the full run.

### `bugbug_watch_run_progress`

Wait for a test or suite run to finish and stream progress.

### `bugbug_stop_run`

Stop a running test or suite run.

### `bugbug_get_test_run_inbox`

List or read emails received by a test run inbox.

### `bugbug_delete_test_run_inbox_messages`

Delete one message or clear a test run inbox.

### `bugbug_get_step`

Get details of a specific step.

### `bugbug_create_steps`

Create one or more steps with typed step payloads.

### `bugbug_update_steps`

Partially update one or more steps.

### `bugbug_delete_steps`

Delete steps by ID.

### `bugbug_list_groups`

List groups and components.

### `bugbug_get_group`

Get details of a group or component.

### `bugbug_create_groups`

Create one or more groups or reusable components.

### `bugbug_update_group`

Partially update a group or component.

### `bugbug_make_component_from_group`

Make a regular group a reusable component (UI: Make component).

### `bugbug_detach_component_from_test`

Replace one component occurrence with a copy of its steps (UI: Unlink).

### `bugbug_insert_group_in_test`

Insert a group into a test.

### `bugbug_delete_group`

Delete a group or component.

### `bugbug_list_components`

List reusable components.

### `bugbug_get_component_usage`

Show where a component is used.

### `bugbug_insert_component_into_test`

Link a reusable component into a test.

### `bugbug_remove_component_from_test`

Remove a component and its steps from one test; the reusable component stays.

### `bugbug_list_folders`

List the folder tree for tests or components.

### `bugbug_create_folder`

Create a folder at the root or inside a parent folder.

### `bugbug_update_folder`

Rename a folder or move it to another parent.

### `bugbug_delete_folder`

Delete a folder. With force, also deletes its contents.

### `bugbug_move_to_folder`

Move up to 25 tests or components into a folder or to the root.

### `bugbug_query_dom_snapshot_element`

Query a DOM snapshot by CSS selector or XPath.

### `bugbug_get_failed_step_run_details`

Get details of a failed step run.

### `bugbug_query_console_logs`

Query the console output of a test run (needs run logs enabled in the project settings).

### `bugbug_query_network_requests`

Query the network requests of a test run, with credentials redacted (needs run logs enabled).

### `bugbug_list_visual_regression_reference_screenshots`

List reference screenshots for a step.

### `bugbug_resolve_visual_regression_review`

Accept or reject a visual regression difference.

### `bugbug_delete_visual_regression_reference_screenshot`

Delete a visual regression reference screenshot.

### `bugbug_list_tags`

List project tags with colors and usage counts.

### `bugbug_get_tag`

Get a tag by ID.

### `bugbug_create_tag`

Create a tag with an optional color.

### `bugbug_update_tag`

Rename or recolor a tag everywhere it is used.

### `bugbug_delete_tag`

Delete a tag and all its assignments.

### `bugbug_set_test_tags`

Replace the direct tags of a test.

### `bugbug_set_test_run_tags`

Replace the direct tags of a test run.

### `bugbug_set_suite_tags`

Replace the direct tags of a suite.

### `bugbug_set_suite_run_tags`

Replace the direct tags of a suite run.

### `bugbug_list_profiles`

List BugBug run profiles.

### `bugbug_get_profile`

Get details of a specific run profile.

### `bugbug_get_variables_list`

List BugBug variables.

### `bugbug_create_new_variable`

Create a new BugBug variable.

### `bugbug_update_variable`

Partially update a custom BugBug variable by key.

### `bugbug_files_upload`

Upload a file, optionally into a folder.

### `bugbug_files_delete`

Delete a file. Steps that use it are kept but lose their file.

### `bugbug_list_projects`

List projects accessible to the authenticated user or token.

### `bugbug_get_project_settings`

Get settings for the active project.

### `bugbug_upload_project_artifact`

Upload a file for use in an upload-file test step.

### `bugbug_ask_docs`

Answer a question from BugBug documentation with source links.

### `bugbug_search_api`

Show an overview of the bugbug API or signatures matching a query.

### `bugbug_execute`

Run a JavaScript function body against the bugbug API.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add BugBug MCP to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http bugbug https://mcp.bugbug.io/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add BugBug MCP to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=bugbug&config=eyJ1cmwiOiJodHRwczovL21jcC5idWdidWcuaW8vbWNwIn0%3D)

```json
{
  "mcpServers": {
    "bugbug": {
      "url": "https://mcp.bugbug.io/mcp"
    }
  }
}
```

### Add BugBug MCP to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "bugbug": {
      "type": "http",
      "url": "https://mcp.bugbug.io/mcp"
    }
  }
}
```

### Add BugBug MCP to Codex

Run this in your terminal:

```sh
codex mcp add bugbug --url https://mcp.bugbug.io/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.bugbug]
url = "https://mcp.bugbug.io/mcp"
```

If the server uses OAuth, sign in with `codex mcp login bugbug`.

### Add BugBug MCP to Claude

Add it as a custom connector with this URL:

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

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add BugBug MCP to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

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

[Read the installation guide](https://docs.bugbug.io/ai-testing/mcp.md)

## Sources

Documentation and source code reviewed on 17 November 2026.

- [docs.bugbug.io/ai-testing/mcp.md](https://docs.bugbug.io/ai-testing/mcp.md)
- [docs.bugbug.io/ai-testing/plugin.md](https://docs.bugbug.io/ai-testing/plugin.md)
- [docs.bugbug.io/integrations/public-api.md](https://docs.bugbug.io/integrations/public-api.md)
- [docs.bugbug.io/ai-testing/skills.md](https://docs.bugbug.io/ai-testing/skills.md)
- [docs.bugbug.io/ai-testing/mcp/mcp-tools.md](https://docs.bugbug.io/ai-testing/mcp/mcp-tools.md)
- [docs.bugbug.io/organizing-tests/files.md](https://docs.bugbug.io/organizing-tests/files.md)
