Buggregator Server logo

Buggregator Server

Local MCP access to Sentry errors, dumps, profiles, logs, HTTP events, mocks, and Xdebug sessions.

Install Buggregator Server

Run the project’s own setup commands, in order.

Setup steps from the project

Buggregator Server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://raw.githubusercontent.com/buggregator/server/master/scripts/install.sh | sh
    
  2. 2. Start the server
    buggregator
    
  3. 3. Install
    irm https://raw.githubusercontent.com/buggregator/server/master/scripts/install.ps1 | iex
    
  4. 4. Start the server
    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. 5. Install
    helm install buggregator oci://ghcr.io/buggregator/helm-chart/buggregator
    
  6. 6. Start the server
    MCP_ENABLED=true buggregator
    

Overview

Buggregator Server exposes a local debugging environment through a built-in MCP server for AI agents. MCP clients can inspect Sentry events, dumps, profiles, logs, HTTP activity, and Xdebug traces, and can create mock-server rules. It runs as a binary, Docker container, or Helm deployment and accepts data through established protocols such as Sentry, SMTP, VarDumper, Monolog, and XHProf. Reach for it when an agent needs to investigate development-time application behavior or modify local HTTP mocks.

Use cases

  • Inspect Sentry exceptions and traces with an AI agent
  • Review dumps, logs, profiles, and HTTP requests during development
  • Create mock responses for local API and integration tests
  • Wait for test emails and extract links or one-time codes
  • Step through PHP execution with the Xdebug proxy

Key features

  • Built-in MCP server with event inspection tools
  • Sentry, SMTP, VarDumper, Monolog, XHProf, and HTTP capture
  • HTTP mock server with YAML and OpenAPI support
  • Email testing API for links and one-time codes
  • Browser-based Xdebug control through a proxy
  • Binary, Docker, and Helm deployment options

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveNo health check has run yet.

Recent health check succeeded.

How Buggregator Server works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Buggregator Server

Buggregator Server is an MCP server that connects AI agents to a local debugging service collecting Sentry events, dumps, logs, profiles, emails, HTTP requests, and Xdebug traces. Its main tools list events, inspect errors and diagnostics, find slow trace calls, create HTTP mocks, and control Xdebug sessions when enabled.

Install the binary with the provided Linux, macOS, or Windows installer, or run the Docker image and start its MCP command. Enable MCP with `MCP_ENABLED=true`; for Claude Code, add it with `claude mcp add buggregator -- buggregator mcp`.

Yes, Buggregator Server works with Cursor through its built-in MCP server. Configure Cursor using the MCP setup for the command-line or HTTP transport, using HTTP when running on Windows or in Docker.

Yes, its MCP tools can create HTTP mock rules. Rules match a method and path and can define the status, headers, body, and delay; they can also come from the UI, API, YAML configuration, Go templates, or an OpenAPI 3.x specification.

Not by default; events live in memory and are removed when the process restarts. Provide a database path such as `buggregator -db ./buggregator.db` to retain them in SQLite.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBuggregator Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/buggregator-server?style=directory)](https://allmcps.com/mcp/buggregator-server)
HTML Embed
<a href="https://allmcps.com/mcp/buggregator-server"><img src="https://allmcps.com/api/badge/buggregator-server?style=directory" alt="Buggregator Server on AllMCPs" /></a>