# Buggregator Server [Health: Active]

**Category:** 📊 Monitoring  
**Repository:** https://github.com/buggregator/server  
**GitHub Stars:** 1085  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/buggregator-server

## Description
One local debugging server, one binary: catches errors, dumps, emails, logs, profiles and HTTP from your app in development. Speaks Sentry, Ray, VarDumper, Monolog, SMTP, XHProf. Mock server, Xdebug in the browser, MCP for AI agents.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/buggregator/server), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://raw.githubusercontent.com/buggregator/server/master/scripts/install.sh | sh
```

2. Start the server:

```sh
buggregator
```

3. Install:

```sh
irm https://raw.githubusercontent.com/buggregator/server/master/scripts/install.ps1 | iex
```

4. Start the server:

```sh
docker run --pull always \
  -p 127.0.0.1:8000:8000 \
  -p 127.0.0.1:1025:1025 \
  -p 127.0.0.1:9912:9912 \
  -p 127.0.0.1:9913:9913 \
  ghcr.io/buggregator/server:latest
```

5. Install:

```sh
helm install buggregator oci://ghcr.io/buggregator/helm-chart/buggregator
```

6. Start the server:

```sh
MCP_ENABLED=true buggregator
```

## Documentation

## What Buggregator Server does

Buggregator Server collects development-time data from an application in one local service. Its built-in MCP endpoint lets an AI agent browse that data instead of requiring separate debugging integrations. Agents can list events, inspect Sentry errors and stack traces, read dumps and profiles, identify slow calls in Xdebug traces, and create HTTP mock rules.

The server also handles several non-MCP debugging workflows. It accepts Sentry exceptions, transactions, logs, and metrics; email through a fake SMTP service; Symfony VarDumper and Spatie Ray dumps; Monolog records; XHProf profiles; Inspector APM transactions; arbitrary HTTP requests; and SMS-shaped requests. An HTTP proxy captures outgoing calls, while the mock server responds to matching requests using configured rules or an OpenAPI 3.x specification.

## How it works

Applications send data to Buggregator using the protocols or SDK endpoints they already use. The main HTTP listener is on port 8000 and serves the web UI, event endpoints, mock routes, and several debugging protocols. SMTP uses port 1025, VarDumper uses 9912, Monolog uses 9913, and the HTTP proxy uses 8080.

Events are kept in memory by default and disappear when the process restarts. Passing a database path such as `buggregator -db ./buggregator.db` enables persistence. Multiple applications can share an instance through projects, with events assigned from the project name in a DSN, header, or SMTP username.

The MCP interface can run over the command-line transport with `buggregator mcp`. The documented setup enables it with `MCP_ENABLED=true`. HTTP transport is available for Windows and Docker deployments. The default configuration exposes 23 MCP tools, increasing when the Xdebug proxy or evaluation capability is enabled.

## Setup and configuration

The server is distributed as a binary for Linux, macOS, and Windows on x86-64 and ARM. It can also run with Docker or be installed into Kubernetes through the Buggregator Helm chart. The binary installer checks the downloaded file checksum and installs without `sudo`. Docker deployments expose the relevant service ports explicitly.

Point application settings at the local endpoints rather than adding a Buggregator-specific package. Sentry SDKs for PHP, JavaScript, Python, and Go can use a DSN such as `http://sentry@127.0.0.1:8000/1`. Other applications can submit SMTP messages to `127.0.0.1:1025`, send HTTP requests to port 8000, or use the HTTP proxy on port 8080.

For MCP command-line setup, use:

```bash
MCP_ENABLED=true buggregator
claude mcp add buggregator -- buggregator mcp
```

The service listens on all network interfaces by default, so deployments that should remain local need an appropriate listen configuration. Xdebug support is disabled by default.

## Tools and capabilities

MCP clients can use Buggregator to:

- List collected events.
- Read Sentry errors with stack traces.
- Inspect dumps and profiles.
- Find slow calls in Xdebug traces.
- Create HTTP mock rules.
- Set breakpoints and step through PHP code when the Xdebug proxy is enabled.

The mock server supports method-and-path matching, status codes, headers, response bodies, delays, UI or API configuration, YAML rules, Go templates, and rules generated from OpenAPI 3.x operations. The email testing API can wait for a matching message and extract links or one-time codes for end-to-end tests.

## Limitations and notes

Collected events are volatile unless a SQLite database path is configured. Xdebug browser debugging requires the proxy and is off by default; the agent can control execution without an IDE only when that capability is enabled. The VarDumper listener is not available on Windows. MCP exposes 35 tools with the Xdebug proxy and 36 when evaluation is allowed, compared with 23 by default. Shared deployments can add SSO, webhooks, Prometheus metrics, Ingress, and retention settings through the relevant configuration options.

_Full upstream README: https://allmcps.com/mcp/buggregator-server/readme_

