@debugbundle/mcp 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -5
- package/dist/main.cjs +51 -14
- package/package.json +14 -3
- package/server.json +3 -3
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @debugbundle/mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MCP server for production debugging bundles and incident workflows for AI agents. DebugBundle lets agents inspect incidents, deterministic bundles, reproductions, probes, hosted health checks, alerts, webhooks, projects, and setup state through the same management surface as the API and CLI.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
Run directly with npm:
|
|
7
|
+
Run the stdio server directly with npm:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
npx @debugbundle/mcp
|
|
@@ -19,7 +19,7 @@ debugbundle-mcp
|
|
|
19
19
|
|
|
20
20
|
Supported Node.js versions: 22.x through 26.x.
|
|
21
21
|
|
|
22
|
-
## MCP Client
|
|
22
|
+
## MCP Client Config
|
|
23
23
|
|
|
24
24
|
```json
|
|
25
25
|
{
|
|
@@ -32,11 +32,55 @@ Supported Node.js versions: 22.x through 26.x.
|
|
|
32
32
|
}
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Use `npx -y @debugbundle/mcp` in clients that require noninteractive package execution.
|
|
36
|
+
|
|
37
|
+
## Install Matrix
|
|
38
|
+
|
|
39
|
+
| Environment | Recommended path | Notes |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| Generic local MCP client | `npx @debugbundle/mcp` | stdio transport |
|
|
42
|
+
| Claude Desktop local MCP | local MCP server config | uses local machine auth/config |
|
|
43
|
+
| Cursor | MCP config with `npx @debugbundle/mcp` | stdio transport |
|
|
44
|
+
| VS Code / GitHub MCP Registry | `com.debugbundle/mcp` | official registry metadata |
|
|
45
|
+
| OpenClaw / ClawHub | DebugBundle skill plus MCP config | use the published skill for workflow guidance |
|
|
46
|
+
| CI/headless agents | `DEBUGBUNDLE_MEMBER_TOKEN` | never use a project token |
|
|
47
|
+
| Self-hosted DebugBundle | `DEBUGBUNDLE_API_URL` plus member auth | points the server at your API base URL |
|
|
48
|
+
|
|
49
|
+
DebugBundle does not expose a hosted remote MCP endpoint today; this package is the local stdio path.
|
|
36
50
|
|
|
37
51
|
## Authentication
|
|
38
52
|
|
|
39
|
-
|
|
53
|
+
| Mode | Use | Notes |
|
|
54
|
+
| --- | --- | --- |
|
|
55
|
+
| CLI auth state | Local developer machines | Reuses `~/.debugbundle/auth.json` when available. |
|
|
56
|
+
| `DEBUGBUNDLE_MEMBER_TOKEN` | Headless or marketplace-managed clients | Member tokens are for CLI/API/MCP read and management operations. |
|
|
57
|
+
| Per-tool `bearerToken` | Explicit advanced automation | Overrides default auth for that call only. |
|
|
58
|
+
| Project token | SDK ingestion only | Do not use project tokens for MCP retrieval or management. |
|
|
59
|
+
|
|
60
|
+
## What Agents Can Do
|
|
61
|
+
|
|
62
|
+
- List active incidents and fetch full incident context.
|
|
63
|
+
- Fetch deterministic debug bundles and reproduction artifacts.
|
|
64
|
+
- Inspect hosted health checks, probes, alerts, webhooks, projects, members, billing, capture policy, and GitHub automation state.
|
|
65
|
+
- Run local and hosted verification through tools such as `verify_local`, `verify_cloud`, `doctor`, `smoke`, and `analyze`.
|
|
66
|
+
- Resolve or reopen incidents after verification.
|
|
67
|
+
|
|
68
|
+
## Links
|
|
69
|
+
|
|
70
|
+
- Docs: https://debugbundle.com/docs/mcp
|
|
71
|
+
- Agent workflows: https://debugbundle.com/docs/agent-workflows
|
|
72
|
+
- LLM index: https://debugbundle.com/llms.txt
|
|
73
|
+
- MCP tool schema: https://debugbundle.com/schemas/mcp-tools.json
|
|
74
|
+
- Official MCP Registry metadata: https://github.com/debugbundle/debugbundle/blob/main/apps/mcp/server.json
|
|
75
|
+
|
|
76
|
+
## Security And Trust
|
|
77
|
+
|
|
78
|
+
- Official MCP Registry name: `com.debugbundle/mcp`.
|
|
79
|
+
- Official npm package: `@debugbundle/mcp`.
|
|
80
|
+
- Source repository: https://github.com/debugbundle/debugbundle/tree/main/apps/mcp
|
|
81
|
+
- License: AGPL-3.0-only.
|
|
82
|
+
- The server uses stdio transport and local process credentials. It does not include hidden hosted management auth.
|
|
83
|
+
- Public examples must use placeholders only; never paste real member tokens, project tokens, webhook secrets, or customer configuration into marketplace listings.
|
|
40
84
|
|
|
41
85
|
## License
|
|
42
86
|
|
package/dist/main.cjs
CHANGED
|
@@ -18061,9 +18061,12 @@ function buildSkill() {
|
|
|
18061
18061
|
"description: >-",
|
|
18062
18062
|
" Investigate runtime incidents, inspect debug bundles, generate reproductions,",
|
|
18063
18063
|
" run improvement analysis, and inspect operational controls using the DebugBundle",
|
|
18064
|
-
" CLI and local project scaffold. Use when
|
|
18065
|
-
"
|
|
18066
|
-
"
|
|
18064
|
+
" CLI and local project scaffold. Use when runtime errors/failures or captured",
|
|
18065
|
+
" operational evidence are relevant: production/customer-facing incidents,",
|
|
18066
|
+
" endpoint downtime, health-check failures, notification or webhook failures,",
|
|
18067
|
+
" probes, noisy captured incidents, or explicit DebugBundle artifact requests. Do not use for",
|
|
18068
|
+
" deterministic local source, UI, layout, copy, calculation, refactor, or",
|
|
18069
|
+
" test-only issues unless runtime evidence is needed.",
|
|
18067
18070
|
"metadata:",
|
|
18068
18071
|
" author: debugbundle",
|
|
18069
18072
|
' version: "1.0"',
|
|
@@ -18071,11 +18074,22 @@ function buildSkill() {
|
|
|
18071
18074
|
"",
|
|
18072
18075
|
"# DebugBundle",
|
|
18073
18076
|
"",
|
|
18074
|
-
"Use DebugBundle
|
|
18077
|
+
"Use DebugBundle when runtime evidence is relevant to the task.",
|
|
18078
|
+
"",
|
|
18079
|
+
"## When To Use DebugBundle",
|
|
18080
|
+
"",
|
|
18081
|
+
"Use the incident/artifact workflow when the user reports:",
|
|
18082
|
+
"",
|
|
18083
|
+
"- production or customer-facing incidents, runtime failures, regressions, broken deploys, or unknown errors likely to have generated captured events",
|
|
18084
|
+
"- endpoint downtime or a failing hosted health check",
|
|
18085
|
+
"- missing, duplicate, or failed alerts, webhooks, GitHub dispatches, probes, or other operational delivery",
|
|
18086
|
+
"- a specific DebugBundle incident id, bundle, reproduction, report, or noisy captured incident",
|
|
18087
|
+
"",
|
|
18088
|
+
"For deterministic local source-code, UI, layout, copy, calculation, refactor, or test-only issues, inspect source and tests first. Do not check DebugBundle incidents unless the user asks, the issue involves live runtime behavior, or captured evidence is needed.",
|
|
18075
18089
|
"",
|
|
18076
18090
|
"## Investigation Quickstart",
|
|
18077
18091
|
"",
|
|
18078
|
-
"When the
|
|
18092
|
+
"When the issue matches the runtime/incident criteria above, start here before reading arbitrary source files.",
|
|
18079
18093
|
"",
|
|
18080
18094
|
"1. Run `debugbundle doctor --json` to learn whether the project is local-only or connected and whether the local scaffold is healthy.",
|
|
18081
18095
|
"2. If `debugbundle doctor --json` reports `mode=local-only`, start with `debugbundle incidents --source local --status active --json`.",
|
|
@@ -18095,7 +18109,7 @@ function buildSkill() {
|
|
|
18095
18109
|
"",
|
|
18096
18110
|
"## Core Workflow",
|
|
18097
18111
|
"",
|
|
18098
|
-
"1.
|
|
18112
|
+
"1. For qualifying runtime/incident work, check DebugBundle incidents first to avoid re-investigating a known failure.",
|
|
18099
18113
|
"2. Inspect the incident bundle and reproduction artifact before proposing a fix.",
|
|
18100
18114
|
"3. Run `debugbundle analyze --type improvement --local` after local processing when you need a deterministic change plan.",
|
|
18101
18115
|
"4. Apply the narrowest fix, then validate it with the repository test workflow from `.debugbundle/profile.json`.",
|
|
@@ -18150,6 +18164,7 @@ function buildSkill() {
|
|
|
18150
18164
|
"- Availability checks: `https://debugbundle.com/docs/availability-checks`",
|
|
18151
18165
|
"- Probes: `https://debugbundle.com/docs/probes`",
|
|
18152
18166
|
"- Capture policy and rules: `https://debugbundle.com/docs/capture-policy`",
|
|
18167
|
+
"- Managing noise: `https://debugbundle.com/docs/managing-noise`",
|
|
18153
18168
|
"- Alerts: `https://debugbundle.com/docs/alerts` and `https://debugbundle.com/docs/cli/alerts`",
|
|
18154
18169
|
"- Webhooks: `https://debugbundle.com/docs/webhooks` and `https://debugbundle.com/docs/cli/webhooks`",
|
|
18155
18170
|
"- API ingestion: `https://debugbundle.com/docs/api/ingestion`",
|
|
@@ -18278,6 +18293,7 @@ function buildCliReference() {
|
|
|
18278
18293
|
"- Webhooks: `https://debugbundle.com/docs/webhooks`, `https://debugbundle.com/docs/cli/webhooks`, and `https://debugbundle.com/docs/api/webhooks`",
|
|
18279
18294
|
"- Probes: `https://debugbundle.com/docs/probes` and `https://debugbundle.com/docs/api/probes`",
|
|
18280
18295
|
"- Capture policy and rules: `https://debugbundle.com/docs/capture-policy`",
|
|
18296
|
+
"- Managing noise: `https://debugbundle.com/docs/managing-noise`",
|
|
18281
18297
|
"- Availability checks: `https://debugbundle.com/docs/availability-checks`",
|
|
18282
18298
|
"- MCP tool catalog: `https://debugbundle.com/docs/mcp/tools`",
|
|
18283
18299
|
"",
|
|
@@ -18320,7 +18336,7 @@ function buildMcpReference() {
|
|
|
18320
18336
|
return [
|
|
18321
18337
|
"# DebugBundle MCP Reference",
|
|
18322
18338
|
"",
|
|
18323
|
-
"Use the same
|
|
18339
|
+
"Use the same runtime-evidence-gated workflow through MCP when an agent is operating in connected mode.",
|
|
18324
18340
|
"",
|
|
18325
18341
|
"## Investigation Tools",
|
|
18326
18342
|
"",
|
|
@@ -18334,8 +18350,9 @@ function buildMcpReference() {
|
|
|
18334
18350
|
"- `analyze` \u2014 run local agent-oriented analysis from local bundles and skill schemas.",
|
|
18335
18351
|
"",
|
|
18336
18352
|
"- Prefer bundle retrieval tools before reading raw repository files.",
|
|
18337
|
-
"- Use MCP bundle access when the current issue originated in production.",
|
|
18338
|
-
"-
|
|
18353
|
+
"- Use MCP bundle access when the current issue originated in production or otherwise needs captured runtime evidence.",
|
|
18354
|
+
"- For deterministic local source, UI, layout, copy, calculation, refactor, or test-only issues, inspect source and tests first unless the user asks for DebugBundle evidence.",
|
|
18355
|
+
"- Resolve fixed or intentionally generated incidents with `resolve_incident` or `resolve_incidents` so active incidents stay actionable.",
|
|
18339
18356
|
"- Fall back to local CLI processing when the project is local-only.",
|
|
18340
18357
|
"",
|
|
18341
18358
|
"## Noise and Capture Policy Tools",
|
|
@@ -18382,6 +18399,7 @@ function buildMcpReference() {
|
|
|
18382
18399
|
"- Availability checks: `https://debugbundle.com/docs/availability-checks`",
|
|
18383
18400
|
"- Probes: `https://debugbundle.com/docs/probes`",
|
|
18384
18401
|
"- Capture policy and rules: `https://debugbundle.com/docs/capture-policy`",
|
|
18402
|
+
"- Managing noise: `https://debugbundle.com/docs/managing-noise`",
|
|
18385
18403
|
"- Alerts: `https://debugbundle.com/docs/alerts`",
|
|
18386
18404
|
"- Webhooks: `https://debugbundle.com/docs/webhooks`",
|
|
18387
18405
|
"- API ingestion: `https://debugbundle.com/docs/api/ingestion`",
|
|
@@ -18487,13 +18505,21 @@ function buildSkillEvals() {
|
|
|
18487
18505
|
skill: "debugbundle",
|
|
18488
18506
|
evaluations: [
|
|
18489
18507
|
{
|
|
18490
|
-
name: "
|
|
18508
|
+
name: "runtime_incident_workflow",
|
|
18491
18509
|
prompt: "The user reports a production checkout failure. Confirm the skill tells the agent to inspect DebugBundle artifacts first.",
|
|
18492
18510
|
expected_behavior: [
|
|
18493
|
-
"Check incidents before reading arbitrary source files.",
|
|
18511
|
+
"Check incidents before reading arbitrary source files for qualifying runtime or production incidents.",
|
|
18494
18512
|
"Read the skill workflow before proposing a fix."
|
|
18495
18513
|
]
|
|
18496
18514
|
},
|
|
18515
|
+
{
|
|
18516
|
+
name: "local_source_issue_gate",
|
|
18517
|
+
prompt: "The user reports a deterministic UI calculation glitch in local code with no runtime incident or report. Confirm the skill avoids checking DebugBundle incidents by default.",
|
|
18518
|
+
expected_behavior: [
|
|
18519
|
+
"Inspect source and tests first for deterministic local UI, layout, copy, calculation, refactor, or test-only issues.",
|
|
18520
|
+
"Do not check DebugBundle incidents unless the user asks, live runtime behavior is involved, or captured evidence is needed."
|
|
18521
|
+
]
|
|
18522
|
+
},
|
|
18497
18523
|
{
|
|
18498
18524
|
name: "profile_validation_task",
|
|
18499
18525
|
prompt: "The generated profile is shallow. Confirm the skill teaches the agent how to validate and enrich it.",
|
|
@@ -30611,9 +30637,9 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
30611
30637
|
var package_default = {
|
|
30612
30638
|
name: "@debugbundle/mcp",
|
|
30613
30639
|
mcpName: "com.debugbundle/mcp",
|
|
30614
|
-
version: "1.6.
|
|
30640
|
+
version: "1.6.1",
|
|
30615
30641
|
private: false,
|
|
30616
|
-
description: "
|
|
30642
|
+
description: "MCP server for production debugging bundles and incident workflows for AI agents",
|
|
30617
30643
|
license: "AGPL-3.0-only",
|
|
30618
30644
|
repository: {
|
|
30619
30645
|
type: "git",
|
|
@@ -30624,7 +30650,18 @@ var package_default = {
|
|
|
30624
30650
|
bugs: {
|
|
30625
30651
|
url: "https://github.com/debugbundle/debugbundle/issues"
|
|
30626
30652
|
},
|
|
30627
|
-
keywords: [
|
|
30653
|
+
keywords: [
|
|
30654
|
+
"debugbundle",
|
|
30655
|
+
"debugging",
|
|
30656
|
+
"production-debugging",
|
|
30657
|
+
"incident-management",
|
|
30658
|
+
"debug-bundles",
|
|
30659
|
+
"ai-agent",
|
|
30660
|
+
"ai-agent-debugging",
|
|
30661
|
+
"mcp",
|
|
30662
|
+
"model-context-protocol",
|
|
30663
|
+
"observability"
|
|
30664
|
+
],
|
|
30628
30665
|
engines: {
|
|
30629
30666
|
node: ">=22 <27"
|
|
30630
30667
|
},
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@debugbundle/mcp",
|
|
3
3
|
"mcpName": "com.debugbundle/mcp",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.1",
|
|
5
5
|
"private": false,
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "MCP server for production debugging bundles and incident workflows for AI agents",
|
|
7
7
|
"license": "AGPL-3.0-only",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -14,7 +14,18 @@
|
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/debugbundle/debugbundle/issues"
|
|
16
16
|
},
|
|
17
|
-
"keywords": [
|
|
17
|
+
"keywords": [
|
|
18
|
+
"debugbundle",
|
|
19
|
+
"debugging",
|
|
20
|
+
"production-debugging",
|
|
21
|
+
"incident-management",
|
|
22
|
+
"debug-bundles",
|
|
23
|
+
"ai-agent",
|
|
24
|
+
"ai-agent-debugging",
|
|
25
|
+
"mcp",
|
|
26
|
+
"model-context-protocol",
|
|
27
|
+
"observability"
|
|
28
|
+
],
|
|
18
29
|
"engines": {
|
|
19
30
|
"node": ">=22 <27"
|
|
20
31
|
},
|
package/server.json
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "com.debugbundle/mcp",
|
|
4
4
|
"title": "DebugBundle",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "DebugBundle MCP server for incidents, bundles, reproductions, health checks, probes, and ops.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "https://github.com/debugbundle/debugbundle",
|
|
8
8
|
"source": "github",
|
|
9
9
|
"subfolder": "apps/mcp"
|
|
10
10
|
},
|
|
11
|
-
"version": "1.6.
|
|
11
|
+
"version": "1.6.1",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
16
16
|
"identifier": "@debugbundle/mcp",
|
|
17
|
-
"version": "1.6.
|
|
17
|
+
"version": "1.6.1",
|
|
18
18
|
"transport": {
|
|
19
19
|
"type": "stdio"
|
|
20
20
|
},
|