Skip to content

Server

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…

Install: claude mcp add buggregator -- buggregator mcp

Works with Claude Code · 1,077 GitHub stars

Install

$claude mcp add buggregator -- buggregator mcp

Install command taken from the project's README or registry entry. Always review code before running it.

Buggregator — one local server for everything your app sends while you develop

One ~40 MB binary catches the errors, dumps, emails, logs, profiles and HTTP requests your app sends in development — through the SDKs and protocols you already use. No account, no cloud, no Buggregator package in your app.

  • Errors and traces from your Sentry SDK — exceptions, transactions, logs, metrics
  • Dumps from Symfony VarDumper and Spatie Ray
  • Emails from a fake SMTP server, with an API to wait for a message and pull links or codes in E2E tests
  • Logs from Monolog
  • Profiles from XHProf — call graph, flame chart, top functions
  • HTTP: catch any request, proxy outgoing calls, or answer with a mock server (rules or an OpenAPI spec)
  • Xdebug in the browser: pause, step, read variables — with or without an IDE
  • AI agents read all of it over MCP

Mail, HTTP dumps, the proxy, mocks and MCP work with any language. The Sentry part speaks the Sentry protocol and is tested with the Sentry PHP SDK.

Run it in 30 seconds

Binary (Linux, macOS, Windows; x86-64 and ARM):

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

Windows (PowerShell):

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

The script picks the file for your system, checks its checksum and installs it without sudo. On Linux and macOS it installs into ~/.local/bin; if that folder is not on your PATH, the script says so — then run ~/.local/bin/buggregator. On Windows it installs into %LOCALAPPDATA%\Programs\buggregator and prints the command to start it. By default the binary listens on all network interfaces; to keep it on your machine only, see Listen only on this machine.

Docker:

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

Open http://127.0.0.1:8000. The UI stays empty until your app sends something.

Events live in memory and are gone after a restart. To keep them: buggregator -db ./buggregator.db.

Point your app at it

Change addresses, not code. Laravel / Symfony .env:

SENTRY_LARAVEL_DSN=http://sentry@127.0.0.1:8000/1
MAIL_HOST=127.0.0.1
MAIL_PORT=1025
VAR_DUMPER_SERVER=127.0.0.1:9912
LOG_SOCKET_URL=127.0.0.1:9913
RAY_HOST=ray@127.0.0.1
RAY_PORT=8000
PROFILER_ENDPOINT=http://profiler@127.0.0.1:8000
INSPECTOR_URL=http://inspector@127.0.0.1:8000
INSPECTOR_API_KEY=test
HTTP_DUMP_ENDPOINT=http://http-dump@127.0.0.1:8000

Any other stack: send mail to SMTP 127.0.0.1:1025, send a POST or PUT to http://127.0.0.1:8000, or any method to http://http-dump@127.0.0.1:8000, to see it as a dump, and put mock rules under http://127.0.0.1:8000/mock/.

More setups (Spiral, WordPress, Magento, Docker Compose, Kubernetes): Getting started.

Port What listens
8000 Web UI, HTTP events (Sentry, Ray, Inspector, XHProf, HTTP dumps, SMS, Xdebug traces), mock server
1025 SMTP
9912 VarDumper (not on Windows)
9913 Monolog
8080 HTTP proxy

What it catches

Similar plugs

An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here…

Open-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key.

Explore related