Listed from the MCP registry; nobody on Odel publishes it.
DebugBundle MCP: runtime error reporting, incident response, health checks, and product analytics.
Runs on your machine from its package; the steps are below.
At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @debugbundle/mcp
MCP client config
{
"mcpServers": {
"debugbundle": {
"command": "npx",
"args": [
"-y",
"@debugbundle/mcp"
]
}
}
}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.
Works with AI coding agents including Codex, Claude Code, and Gemini CLI, as well as Cursor and GitHub Copilot. See the dedicated Codex, Claude Code, and Gemini CLI setup guides for native packages and direct MCP connections.
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.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.
npm install -g @debugbundle/cli
debugbundle setup
debugbundle login
debugbundle connect
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:
DEBUGBUNDLE_PROJECT_TOKEN=dbundle_proj_xxxxxxxxxxxx
Add the smallest SDK or ingestion path that matches your app, deploy it with the token configured, then verify ingestion:
debugbundle verify cloud --project-id proj_01HXYZ... --trigger-5xx
debugbundle incidents --source cloud
debugbundle inspect inc_01HXYZ...
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.
npm install -g @debugbundle/cli
debugbundle setup --project-mode local-only
Initialize an SDK in local mode where supported, or use debugbundle watch for existing logs. After triggering a test error:
debugbundle process
debugbundle incidents --source local
debugbundle inspect inc_local_...
Local events are written under .debugbundle/local/events/; generated bundles are written under .debugbundle/bundles/. See the local-only guide.
SDKs share the same capture concepts through language-idiomatic APIs. Client constructors, framework configuration and plugin activation remain runtime-specific. Common operations include: 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 |
| Rust | debugbundle | cargo add debugbundle | Rust 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/v3 | go get github.com/debugbundle/debugbundle-go/v3 | 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.org plugin directory | WordPress plugin |
Initialize once at application startup. These connected examples use a server environment token, a browser relay or an explicitly configured mobile ingestion token. Verification and lifecycle details are in each SDK guide.
npm install @debugbundle/sdk-node
import { debugbundle } from "@debugbundle/sdk-node";
debugbundle.init({
projectToken: process.env.DEBUGBUNDLE_PROJECT_TOKEN,
environment: "production",
service: "api"
});
Initialize once at server startup with DEBUGBUNDLE_PROJECT_TOKEN set in the server environment. Initialization registers the process exception and rejection hooks; request middleware belongs in the framework setup below.
Express, Fastify, Next.js, pino, winston, bunyan and browser relay handlers are supported. See the Node.js SDK guide.
npm install @debugbundle/sdk-browser
import { createDebugBundleBrowserSdk } from "@debugbundle/sdk-browser";
const debugbundle = createDebugBundleBrowserSdk();
debugbundle.init({
transportMode: "relay",
endpoint: "/debugbundle/browser",
environment: "production",
service: "web"
});
Initialize once in the browser entry point. Configure the matching backend relay route first; this relative URL does not create a server endpoint. Keep the backend project token on the server.
Browser-native capture works with React, Next.js client components, Vue, Angular, Svelte and vanilla applications. Use a backend browser relay for this setup. See the Browser SDK guide.
pip install debugbundle-python
import os
import debugbundle
debugbundle.init(
project_token=os.environ["DEBUGBUNDLE_PROJECT_TOKEN"],
environment="production",
service="api",
)
Initialize once at application startup with DEBUGBUNDLE_PROJECT_TOKEN set in the server environment. Initialization installs the exception hooks. Add logging and framework adapters in Integrations.
Django, Flask, FastAPI, Python logging, structlog, loguru and browser relay helpers are supported. See the Python SDK guide.
composer require debugbundle/sdk-php
<?php
use DebugBundle\DebugBundle;
DebugBundle::init([
'projectToken' => getenv('DEBUGBUNDLE_PROJECT_TOKEN'),
'environment' => 'production',
'service' => 'api',
]);
Initialize in your application bootstrap after loading Composer’s autoloader. Set DEBUGBUNDLE_PROJECT_TOKEN in the server environment, initialization installs error, exception and shutdown hooks. Add framework and logger adapters in Integrations.
Laravel, Symfony, Monolog and browser relay adapters are supported. See the PHP SDK guide.
cargo add debugbundle
use debugbundle::Config;
let client = debugbundle::init(Config {
project_token: std::env::var("DEBUGBUNDLE_PROJECT_TOKEN").unwrap_or_default(),
environment: "production".into(),
service: "api".into(),
..Config::default()
});
Run this in application startup and retain client for the application lifetime. Set DEBUGBUNDLE_PROJECT_TOKEN in the server environment. The example sets environment and service explicitly; ..Config::default() supplies the remaining options. Initialization starts the client; panic observation and framework capture are explicit integrations. Flush only when verifying an event or during controlled shutdown.
Tokio, Tower, Axum and Actix Web, composable tracing/log integrations and browser relays are supported. See the Rust SDK guide.
<dependency>
<groupId>com.debugbundle</groupId>
<artifactId>debugbundle-spring-boot-starter</artifactId>
<version>3.1.4</version>
</dependency>
debugbundle:
project-token: ${DEBUGBUNDLE_PROJECT_TOKEN}
environment: production
service: api
project-mode: connected
For Spring Boot 3, put this in application.yml and set DEBUGBUNDLE_PROJECT_TOKEN in the server environment. The starter initializes the client through Spring configuration. Other Java runtimes use the adapters below.
Spring Boot, servlet WARs, JAX-RS/RESTEasy, WildFly/JBoss, vanilla Java and the Java agent have runtime-specific setup. See the Java SDK guide.
dotnet add package DebugBundle.AspNetCore
using DebugBundle.AspNetCore;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddDebugBundle(options =>
{
options.ProjectToken = builder.Configuration["DEBUGBUNDLE_PROJECT_TOKEN"];
options.Environment = builder.Environment.EnvironmentName;
options.Service = "api";
});
var app = builder.Build();
app.UseDebugBundle();
Add this to ASP.NET Core Program.cs, with DEBUGBUNDLE_PROJECT_TOKEN in application configuration. Keep your endpoint mappings and app.Run() after the middleware. The hosted service handles application shutdown.
ASP.NET Core, Microsoft.Extensions.Logging, gRPC, Worker Service, Hangfire, Azure Functions isolated worker and logging adapters have dedicated integrations. See the .NET SDK guide.
go get github.com/debugbundle/debugbundle-go/v3
import (
"os"
debugbundle "github.com/debugbundle/debugbundle-go/v3"
)
// Inside application startup:
client := debugbundle.New(debugbundle.Config{
ProjectToken: os.Getenv("DEBUGBUNDLE_PROJECT_TOKEN"),
Environment: "production",
Service: "api",
})
Set DEBUGBUNDLE_PROJECT_TOKEN in the server environment and retain the client for your service lifetime. Add the imports to the file’s import block and create the client inside main or your bootstrap function. Use a bounded flush during controlled shutdown.
net/http, Gin, Echo, slog, zap, zerolog and browser relay handlers are supported. See the Go SDK guide.
gem install debugbundle
require "debugbundle"
DebugBundle.init(
project_token: ENV["DEBUGBUNDLE_PROJECT_TOKEN"],
environment: "production",
service: "api"
)
Initialize once at application startup with DEBUGBUNDLE_PROJECT_TOKEN set in the server environment. Initialization arms best-effort process exception capture. Add framework and logger adapters below.
Rails, Rack, Sidekiq, Ruby Logger, Semantic Logger and browser relay handlers are supported. See the Ruby SDK guide.
dependencies {
implementation(platform("com.debugbundle:debugbundle-android-bom:3.1.4"))
implementation("com.debugbundle:debugbundle-android")
}
import com.debugbundle.android.DebugBundle
import com.debugbundle.android.DebugBundleConfig
// Inside Application.onCreate(), after super.onCreate():
DebugBundle.init(
application = this,
config = DebugBundleConfig(
projectToken = BuildConfig.DEBUGBUNDLE_PROJECT_TOKEN,
environment = "production",
service = "android-app",
),
)
Call this from your registered Application.onCreate(). Define the app-owned BuildConfig.DEBUGBUNDLE_PROJECT_TOKEN field in Gradle. A token embedded in a mobile app is a public write-only ingestion credential, never a member token.
Native Android capture, crash/ANR replay, WorkManager, OkHttp, Ktor, Navigation, Compose and Timber integrations are available. See the Android SDK guide.
.package(
url: "https://github.com/debugbundle/debugbundle-swift",
from: "3.1.5"
)
import Foundation
import DebugBundle
DebugBundle.initialize(
DebugBundleConfig(
projectToken: Bundle.main.debugBundleProjectToken,
environment: "production",
service: "ios-app"
)
)
Add the Swift Package dependency to your application target. Initialize once from SwiftUI app initialization or UIKit launch, with DebugBundleProjectToken in Info.plist. Mobile tokens are public write-only ingestion credentials, never member tokens.
UIKit, SwiftUI, URLSession, Alamofire, SwiftLog, crash replay and offline queueing are supported. See the iOS SDK guide.
npm install @debugbundle/sdk-react-native
cd ios && pod install
import { DebugBundle } from "@debugbundle/sdk-react-native";
DebugBundle.init({
projectToken: process.env.EXPO_PUBLIC_DEBUGBUNDLE_TOKEN,
environment: __DEV__ ? "development" : "production",
service: "mobile-app"
});
Initialize once in the app entry point after completing native installation. This example uses Expo’s public environment-variable support; bare React Native apps supply the token through their own build configuration. Mobile tokens are public write-only ingestion credentials. Use a native development build: Expo Go cannot load the native SDK.
React error boundaries, React Navigation, scoped fetch/XHR instrumentation, Expo development builds and native Android/iOS queues are supported. See the React Native SDK guide.
Install DebugBundle from the WordPress.org plugin directory, activate it, then open Settings -> DebugBundle and save your project token. The plugin bundles PHP and browser capture with a server-side relay. See the WordPress guide for integrations, first-event verification and configuration.
The CLI is the daily operational entry point:
npm install -g @debugbundle/cli
debugbundle setup
debugbundle doctor
debugbundle verify local
debugbundle verify cloud --trigger-5xx
debugbundle incidents
debugbundle inspect <incident-id>
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.
A separate OpenAI Plugin candidate pairs a debugging skill with an OAuth-protected, read-only remote MCP connection. It is available for owner-approved Developer Mode validation and is not yet publicly installable. See the OpenAI Plugin guide for candidate capabilities and validation status.
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.
Project owners can publish selected health checks and their 30-day availability history on a public status page. Checks stay private until explicitly selected and published; endpoint URLs, errors, incidents, and account data remain private. See the status-page guide for setup and the status-page contract for API/CLI/MCP behavior and local verification.
Main areas of the workspace:
apps/
api/ Fastify ingestion and retrieval API
worker/ Durable processing for events, bundles, analytics, reports, and notifications
cli/ @debugbundle/cli command-line interface
mcp/ @debugbundle/mcp server for agent workflows
openclaw-plugin/ OpenClaw integration
web/ React/Vite app for interactive project and incident management
packages/
auth/ Auth, sessions, token generation, token hashing
bundle-engine/ Deterministic bundle assembly
event-normalizer/ Event validation, normalization, classification, fingerprinting
log-parser/ CLI log ingestion parser registry
redaction/ Sensitive data scrubbing
retrieval-client/ Shared retrieval API client used by CLI and MCP
shared-types/ Zod schemas, TypeScript types, bundle/event contracts
storage/ Postgres, Redis, S3-compatible storage adapters and migrations
sdks/
Local clones of the standalone SDK repositories listed in sdks.json
site/
Public docs, marketing, reference, and blog site clone
The SDKs are standalone repositories under the debugbundle GitHub organization; sdks.json lists every maintained SDK repository. 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. Before starting, copy .env.example to .env if you do not already have one, and replace DEBUGBUNDLE_PROBE_TRIGGER_SECRET and ANALYTICS_HASH_SECRET with separate random secrets. Optional local overrides go in .env.local.
make install
make infra-up
make infra-bootstrap
make dev
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 lint
make typecheck
make test
make build
make ci
With the normal local stack running, use these commands and refresh the dashboard:
make dev-tier # Show local workspaces and current tiers
make dev-tier TIER=business # Also accepts free, solo or team
If you have several local workspaces, add ORG=<organisation UUID> from the
inspection output. This tests the real local API and base-tier allowances, setting
local extra capacity to zero. It only uses this checkout's local Compose Postgres
socket and refuses Stripe-linked accounts, trials and pending billing operations.
It makes no provider calls or usage-counter resets. Run make dev-mock-off first
if you are using the synthetic preview; reload after each tier change.
Normal retention and downgrade rules apply to the real local test data. Switching
away from Business pauses saved Smart Report schedules, which require Owner
review/resume after returning. Sharing permissions,
report consent and report/AI/email feature flags remain separately controlled.
The command does not simulate Checkout or prove payment flows. make dev-tier-check
tests its SQL guards in a disposable database.
After make install, run make dev-mock and open http://localhost:5291/dashboard.
It restarts only the web container and automatically signs the preview in as
demo@example.test. Synthetic projects, incidents, improvements, 30-day health
history, alert/capture rules, webhook endpoints and delivery history, project and
access tokens, members/invitations, billing, provider connections, and GitHub
deliveries are served locally, so the data works in your ordinary browser.
SayCheese has analytics enabled with sample funnels, flows, journeys, opportunities
and generated artifacts. TaskTime includes empty and analytics-disabled states.
Project edits, incident/improvement actions, rule and health-check edits, webhook
creation/tests, token creation/revocation, invitations/member edits, probe
activation, weekly project digests, repository selection, and analytics settings/flows/
funnels/bundle generation and public status publication are simulated in memory.
Public status pages start private; select checks and publish in Project Health to
open a loopback share link. Mock project/check IDs use UUIDs so the normal strict
forms work, including newly created records. Publication choices paginate, new
checks remain private, and restarting resets publications along with other edits.
Failed-delivery clearing uses
the normal browser-only behavior. Billing checkout and portal links stay in the
local preview; capacity changes only update mock state. Mock credentials are
deliberately unusable with real installations. No real checks, notifications,
GitHub dispatches, OAuth interactions, payments or database writes are made.
Unknown API operations still return an explicit preview error without contacting
the backend. External provider authorization and private operator tools require
normal development. After a mock logout, use any valid email and code 123456 to
return to the demo account; the same code is used for simulated account deletion.
make dev-mock again to reset the simulated server data. Browser preferences
and cleared-delivery IDs remain in local storage; use Show cleared to inspect them.make dev-mock-off to return the frontend to your real local API.For the existing nginx static public preview at http://localhost:5292, use
make dev-public-refresh. It checks the preview's source mount, rebuilds the site,
restarts the preview container and checks its HTTP response. Rebuilding site/out
alone can leave nginx attached to the previous directory and returning 403.
This command is local only; it does not publish or deploy the site.
Run make dev-review to start the complete local stack and both populated
referral previews in the same debugbundle Docker Compose group. Open
http://localhost:5291/programmes for the private app simulator and
http://localhost:5292/affiliates/ for the public page (sample code REVIEW20).
The ordinary API uses port 3003; the isolated public fixture uses loopback port
3004 and a disposable database. Both previews have independent synthetic state.
The command waits for service readiness and rebuilds the public site against its
local fixture. Existing standalone referral fixtures are adopted with their
synthetic data preserved. make referral-public-review-stop removes only those
review services and their disposable data, leaving the ordinary app stack running.
The supported self-host bootstrap lives in deploy/selfhost/.
git clone https://github.com/debugbundle/debugbundle.git
cd debugbundle/deploy/selfhost
cp .env.example .env
docker compose up -d
The self-host stack includes the web app, API, worker, PostgreSQL, Redis, and LocalStack S3. See Self-Hosting, deploy/selfhost/README.md, and the Compose configuration.
For bugs and feature requests, use GitHub issues. For account or billing help, contact DebugBundle.
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. See sdks.json for the complete repository list and the release governance guide for publication requirements.
The 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 core, SDKs, and executable developer tools use Apache-2.0. Service-required exceptions are limited to the WordPress plugin (GPL-2.0-or-later) and portable ClawHub/Smithery instruction skill (MIT-0). See the licensing policy.