# DebugBundle MCP server

> Lets AI agents inspect runtime error reports, incident context, debug bundles, product analytics, and endpoint health checks.

- Repository: https://github.com/debugbundle/debugbundle
- Page: https://hostedmcp.org/servers/debugbundle/mcp
- Transport: stdio
- Stars: 7
- License: Apache-2.0
- Latest version: 1.25.0

## Install

### Claude Code

```sh
claude mcp add --env DEBUGBUNDLE_MEMBER_TOKEN=<YOUR_DEBUGBUNDLE_MEMBER_TOKEN> mcp -- npx -y @debugbundle/mcp
```

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

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

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

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

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@debugbundle/mcp"]

[mcp_servers.mcp.env]
DEBUGBUNDLE_MEMBER_TOKEN = "<YOUR_DEBUGBUNDLE_MEMBER_TOKEN>"
```

### Gemini CLI (`~/.gemini/settings.json`)

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

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DEBUGBUNDLE_MEMBER_TOKEN` | no | yes | Optional DebugBundle access token used by hosted API and MCP management tools when CLI auth state is unavailable. |
| `DEBUGBUNDLE_API_URL` | no | no | Optional DebugBundle API base URL for self-hosted, staging, or other non-default API environments. |

## FAQ

### What is the primary purpose of DebugBundle?

It is production debugging infrastructure designed for runtime error reporting, crash reporting, incident response, endpoint health checks, and product analytics.

### How can I authenticate in a headless or CI environment?

For headless or marketplace-managed clients, you should use the DEBUGBUNDLE_MEMBER_TOKEN environment variable.

### Can agents manage analytics flows?

Yes, owners and admins can manage public project acquisition/activation definitions and aggregate reports using specific tools.

### Is this a general observability platform?

No, it is specifically production debugging infrastructure rather than a generic observability or monitoring platform.
