DebugBundle MCP server for incidents, bundles, reproductions, health checks, probes, and ops.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Production debugging bundles for AI agents, with runtime error reporting and incident response.
DebugBundle provides runtime error reporting, crash reporting, incident response, endpoint health checks, and product analytics for humans and AI agents. It captures runtime failures, groups them into incidents, and publishes deterministic debug bundles. Its monitoring scope is customer-facing runtime behavior and endpoint health, not generic infrastructure metrics.
Modern AI agents are useful only when they get enough trustworthy context. DebugBundle packages the facts around a production incident into a versioned bundle instead of leaving agents to scrape dashboards, logs, traces, and chat threads.
Key properties:
.debugbundle/local/events/, then connect to DebugBundle Cloud when ready.AnalyticsBundle extends debugging from incident evidence to product-usage evidence without turning DebugBundle into a long-term raw-event store. It is opt-in browser analytics for the questions a human or agent needs to improve a product: visits and active users, routes and funnels, device/browser/OS/language segments, feature use, friction markers, incident impact, and bounded structured journey replay.
See the repository public interface contract for API/CLI/MCP parity and the self-host guide for retention and upgrade behavior.
Choose the path that matches how you want to evaluate DebugBundle.
Use Cloud when you are preparing a hosted deployment or want team-visible incidents, alerts, webhooks, GitHub automation, API access, and MCP access.
debugbundle connect creates or selects a cloud project, creates a write-only project token, and updates .debugbundle/local/connection.json. Put the shown project token in your hosted environment:
Add the smallest SDK or ingestion path that matches your app, deploy it with the token configured, then verify ingestion:
See the full Cloud quickstart and connect-to-cloud guide.
Use local-only mode when you want captured data and bundles to stay on the machine or storage volume where the SDK and CLI run.
Initialize an SDK in local mode where supported, or use debugbundle watch for existing logs. After triggering a test error:
Local events are written under .debugbundle/local/events/; generated bundles are written under .debugbundle/bundles/. See the local-only guide.
All SDKs follow the same universal interface: init, captureException, captureError, captureLog, captureRequest, captureMessage, setContext, probe, and flush.
| Runtime | Package | Install | Main docs |
|---|---|---|---|
| Node.js | @debugbundle/sdk-node | npm install @debugbundle/sdk-node | Node.js SDK |
| Browser | @debugbundle/sdk-browser | npm install @debugbundle/sdk-browser | Browser SDK |
| Python | debugbundle-python | pip install debugbundle-python | Python SDK |
| PHP | debugbundle/sdk-php | composer require debugbundle/sdk-php | PHP SDK |
| Java | com.debugbundle:debugbundle-spring-boot-starter | Maven or Gradle dependency | Java SDK |
| .NET | DebugBundle.AspNetCore / DebugBundle.Sdk | dotnet add package DebugBundle.AspNetCore | .NET SDK |
| Go | github.com/debugbundle/debugbundle-go | go get github.com/debugbundle/debugbundle-go | Go SDK |
| Ruby | debugbundle | gem install debugbundle | Ruby SDK |
| Android | com.debugbundle:debugbundle-android | Maven or Gradle dependency | Android SDK |
| iOS | DebugBundle | Swift Package Manager or CocoaPods | iOS SDK |
| React Native | @debugbundle/sdk-react-native | npm install @debugbundle/sdk-react-native | React Native SDK |
| WordPress | debugbundle-wordpress | WordPress.org plugin directory | WordPress plugin |
Express, Fastify, Next.js, pino, winston, bunyan, local file transport, remote capture policy, probes, and browser relay handlers are supported.
For full-stack apps, prefer a backend browser relay so project tokens stay server-side. Same-origin relay paths are simplest; split frontend/backend deployments can use explicit browser relay mode with an absolute backend relay URL and backend origin allowlisting. Frontend-only deployments can send directly to DebugBundle Cloud with a dedicated public write-only token and an allowed-origin restriction. See Browser Relay Setup.
Django, Flask, FastAPI, Python logging, structlog, loguru, local file transport, remote capture policy, probes, and browser relay helpers are supported.
Laravel, Symfony, Monolog, local file transport, remote capture policy, probes, and browser relay adapters are supported.
Rails, Rack, Sidekiq, Ruby Logger, Semantic Logger, local file transport, remote capture policy, probes, and browser relay handlers are supported.
The Spring Boot starter supports servlet request capture, MVC exception capture, Logback capture, remote config, probes, and an optional browser relay route.
net/http, Gin, Echo, slog, zap, zerolog, local file transport, remote capture policy, probes, and browser relay handlers are supported.
Install DebugBundle from the WordPress.org plugin directory, then open Settings -> DebugBundle and save your project token. The plugin bundles backend PHP capture, frontend browser capture, and a WordPress REST relay so the project token stays server-side.
The CLI is the daily operational entry point:
Automation can use the HTTP API directly or the MCP server for agent workflows:
Marketplace-managed MCP clients can run npx @debugbundle/mcp and provide DEBUGBUNDLE_MEMBER_TOKEN in the MCP server environment. The official MCP Registry name is com.debugbundle/mcp; project tokens are SDK write-only ingestion credentials and must not be used for MCP retrieval or management.
The SDKs are standalone repositories under the debugbundle GitHub organization. This core repository owns the product services, shared contracts, CLI/MCP surfaces, and core-owned shared JS packages.
Use the Make targets so routine commands run in Docker-scoped environments.
Local services:
| Service | Default |
|---|---|
| Web app | http://localhost:5291 |
| API | http://localhost:3003 |
| Postgres | localhost:5434 |
| Redis | localhost:6380 |
| LocalStack S3 | localhost:4567 |
Useful checks:
make dev requires DEBUGBUNDLE_PROBE_TRIGGER_SECRET and ANALYTICS_HASH_SECRET in .env. Start from .env.example, then keep local-only overrides in .env.local when needed.
The supported self-host bootstrap lives in deploy/selfhost/.
The self-host stack includes the web app, API, worker, PostgreSQL, Redis, and LocalStack S3. See Self-Hosting and deploy/selfhost/README.md.
The canonical public product release is the root debugbundle repository tag and GitHub Release (v*). Package-specific releases are separate:
cli-v* for @debugbundle/climcp-v* for @debugbundle/mcpshared-js-v* for @debugbundle/shared-types and @debugbundle/redactionStandalone SDK repositories publish and version their own release surfaces independently:
debugbundle-js for @debugbundle/sdk-node and @debugbundle/sdk-browserdebugbundle-python for debugbundle-pythondebugbundle-php for debugbundle/sdk-phpdebugbundle-java for Maven artifactsdebugbundle-go for Go modulesdebugbundle-wordpress for the WordPress pluginThe v1 release train publishes dependency roots before dependent wrappers:
@debugbundle/shared-types and @debugbundle/redaction from the core repo first.@debugbundle/sdk-node and @debugbundle/sdk-browser from debugbundle-js after the matching shared-package version exists on npm.Our own hosted/source-deployed dogfooding surfaces intentionally consume published packages rather than implicit workspace links. After a successful registry publish, bump the pinned versions in the root package.json, hosted app apps/web/package.json, and public-site site/package.json before running hosted validation or deployment.
Read CONTRIBUTING.md before opening a pull request. The short version:
make lint, make typecheck, make test, and make build before asking for review.Do not report vulnerabilities in public issues. Use GitHub private vulnerability reporting for this repository:
https://github.com/debugbundle/debugbundle/security/advisories/new
See SECURITY.md for scope and response expectations.
DebugBundle is licensed under AGPL-3.0-only. See LICENSE.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/debugbundle)<a href="https://allmcps.com/mcp/debugbundle"><img src="https://allmcps.com/api/badge/debugbundle?style=directory" alt="DebugBundle on AllMCPs" /></a>