Buggregator Server

Developer toolsAnalytics and monitoring

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.

Your AI app calls the Buggregator Server MCP server, which does the developer tools and analytics and monitoring work and sends the result back to the chat.

About Buggregator Server

Buggregator Server is a community MCP server from buggregator, filed in our directory under developer tools and analytics and monitoring. 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.

At a glance

Publisher
buggregator (community)
Runs
See the README for setup
Written in
Go
License
MIT
GitHub stars
1,085

How to set up Buggregator Server

  1. Follow the install steps in the Buggregator Server README; it is written in Go, so have that toolchain ready.
  2. Check the Buggregator Server README for keys or settings; the registry lists none that Buggregator Server requires.
  3. Add Buggregator Server to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Buggregator Server tools to confirm the connection.
  5. Run one read-only task with Buggregator Server first, and keep your app asking before each tool call until the results look right.

Buggregator Server compared with similar servers

  • Winutil Cn by yasewang1337-svg has fewer GitHub stars than Buggregator Server (1.1k against 1.1k); both are community servers, and both run locally.
  • SSH by classfang has more GitHub stars than Buggregator Server (1.1k against 1.1k); both are community servers, and both run locally.
  • JSReverser by NoOne-hub has fewer GitHub stars than Buggregator Server (1.1k against 1.1k); both are community servers, and both run locally.

Before you connect Buggregator Server

  • Give Buggregator Server its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Buggregator Server tool call until you trust what it does with them.
  • Treat text that Buggregator Server fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Buggregator Server on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Buggregator Server

How marketing and sales teams put Buggregator Server to work, by company size. Pick the size closest to yours and start Buggregator Server on one use case.

Small business

  • A small business with a developer can use Buggregator Server to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Buggregator Server to explain and fix a marketing site issue without context switching between tools.
  • A small business can ask Buggregator Server where this month's customers came from and which channel is worth more budget.
  • Buggregator Server runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Buggregator Server to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Buggregator Server to keep scripts and automations documented and versioned as they change.
  • Marketing teams can connect Buggregator Server to answer attribution and funnel questions in a chat, then save the useful ones as reports.
  • Start Buggregator Server on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Buggregator Server with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Buggregator Server so web and marketing engineering share one reviewed way of working with AI.
  • Enterprises can expose governed metrics through Buggregator Server, so every team's AI answers use the same definitions as finance.
  • Buggregator Server is a community server, so have security review the code and pin a version before Buggregator Server touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Buggregator Server README

From buggregator/server on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

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. Sentry errors, traces and logs are tested with the official SDKs for PHP, JavaScript (browser and Node.js), Python and Go.

See it

Sentry SMTP
VarDumper Profiler

Buggregator v2.10.0 with the demo data of scripts/demo.

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.

Run it in Kubernetes

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

One replica, with its SQLite database on a persistent volume that survives upgrades and helm uninstall. The pod runs as non-root with a read-only root filesystem and has startup, liveness and readiness probes. SSO for the UI, Ingress, Prometheus metrics with a ServiceMonitor and event retention are values. Helm chart docs

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/.

Sentry from other languages, same DSN:

// JavaScript, browser or Node.js
Sentry.init({ dsn: "http://sentry@127.0.0.1:8000/1", tracesSampleRate: 1.0, enableLogs: true });
// Browser page-load traces: also pass integrations: [Sentry.browserTracingIntegration()]
# Python
sentry_sdk.init(dsn="http://sentry@127.0.0.1:8000/1", traces_sample_rate=1.0, enable_logs=True)
// Go
sentry.Init(sentry.ClientOptions{Dsn: "http://sentry@127.0.0.1:8000/1", EnableTracing: true, TracesSampleRate: 1.0})
defer sentry.Flush(2 * time.Second) // short programs: send events before exit

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

Send from Docs
Sentry: exceptions, traces, logs, metrics Sentry SDK (DSN) Sentry
Emails any SMTP client SMTP
Dumps Symfony VarDumper, Spatie Ray VarDumper, Ray
Logs Monolog (JSON over TCP) Monolog
Profiles XHProf XHProf
APM transactions Inspector Inspector
Any HTTP request curl, webhooks, your app HTTP dumps
Outgoing HTTP calls HTTP proxy on :8080 HTTP proxy
SMS requests in the format of 42 SMS providers (Twilio, Vonage, Infobip…) SMS
Xdebug function traces curl upload of a trace file Xdebug traces

And around it:

  • Mock server. Requests to /mock/... get the response of the first matching rule: method + path → status, headers, body, delay. Rules from the UI, the API, buggregator.yaml, Go templates for dynamic bodies, or one rule per operation from an OpenAPI 3.x spec. Docs (docs.buggregator.dev/config/mock-server.html)
  • Email testing API. GET /api/smtp/messages/wait holds the request until the email your test expects arrives; /links and /codes pull the confirmation link or the one-time code out of it. Docs (docs.buggregator.dev/config/smtp.html)
  • Xdebug without an IDE (off by default). Buggregator sits between Xdebug and your IDE. With no IDE attached, a script pauses at xdebug_break() or a saved breakpoint, and you continue or step from the browser. Docs (docs.buggregator.dev/config/xdebug.html)
  • Projects. One instance for several apps: each event goes to the project named in its DSN, header or SMTP username. Docs (docs.buggregator.dev/config/projects.html)
  • Webhooks, SSO, Prometheus metrics for shared or CI setups. Webhooks · SSO · Metrics

For AI agents (MCP)

Buggregator has a built-in MCP server. Claude Code, Cursor or any MCP client can list events, read a Sentry error with its stack trace, read dumps and profiles, find the slow calls in an Xdebug trace, and create mock rules. With the Xdebug proxy on, the agent can also set breakpoints and step through PHP code.

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

23 tools by default; 35 with the Xdebug proxy, 36 with allow_eval. On Windows or in Docker, use the HTTP transport. Setup for other clients: MCP. Want an agent to install and set it up for you? Give it this page.

Configuration

Zero config to start. Every setting is a flag, an environment variable or a line in buggregator.yaml (flags win over variables, variables over the file). Annotated example: buggregator.yaml.example. All options: Server configuration.

Build from source

Needs Go 1.26+, PHP 8.1+ with Composer (for the VarDumper parser) and Make.

make build    # downloads the UI, builds the PHP parser, compiles the binary
make run
make build-cross GOOS=darwin GOARCH=arm64

Like it?

If Buggregator replaced a tool or two on your machine, give it a star, that is how other developers find it.

Contributing

Found a bug or have an idea? Open an issue or a pull request. How to set up the project: Contributing.

License

MIT, see LICENSE.

Questions about Buggregator Server

What is the Buggregator Server MCP 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, XHProf. Mock server, Xdebug in the browser, MCP for AI agents. Buggregator Server is maintained by buggregator on GitHub at buggregator/server, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Buggregator Server MCP server?

Buggregator Server doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (buggregator/server). Like most servers, Buggregator Server ends with a command or URL you paste into your AI app's MCP config.

Does Buggregator Server need an API key?

The registry lists no required keys for Buggregator Server. Check the Buggregator Server README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Buggregator Server an official MCP server?

No. Buggregator Server is a community server maintained by buggregator. Community servers can be excellent; read the code and the open issues before you give Buggregator Server access to company data.

What license is Buggregator Server under?

Buggregator Server is released under the MIT license, according to its GitHub repository. The license covers the code of Buggregator Server; the service it connects to has its own terms.