@debugbundle/mcp 1.6.1 → 1.6.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @debugbundle/mcp
2
2
 
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.
3
+ MCP server for runtime error reporting, crash reporting, incident response, endpoint health checks, debug bundles, and product analytics. DebugBundle lets agents inspect customer-facing incidents, deterministic bundles, product-usage evidence, reproductions, probes, alerts, webhooks, projects, and setup state through the same management surface as the API and CLI. It is production debugging infrastructure, not a generic infrastructure-monitoring or observability platform.
4
4
 
5
5
  ## Install
6
6
 
@@ -40,6 +40,7 @@ Use `npx -y @debugbundle/mcp` in clients that require noninteractive package exe
40
40
  | --- | --- | --- |
41
41
  | Generic local MCP client | `npx @debugbundle/mcp` | stdio transport |
42
42
  | Claude Desktop local MCP | local MCP server config | uses local machine auth/config |
43
+ | Claude Code plugin | `/plugin marketplace add debugbundle/debugbundle` | installs bundled MCP config and DebugBundle skill |
43
44
  | Cursor | MCP config with `npx @debugbundle/mcp` | stdio transport |
44
45
  | VS Code / GitHub MCP Registry | `com.debugbundle/mcp` | official registry metadata |
45
46
  | OpenClaw / ClawHub | DebugBundle skill plus MCP config | use the published skill for workflow guidance |
@@ -48,6 +49,34 @@ Use `npx -y @debugbundle/mcp` in clients that require noninteractive package exe
48
49
 
49
50
  DebugBundle does not expose a hosted remote MCP endpoint today; this package is the local stdio path.
50
51
 
52
+ ## Claude Desktop
53
+
54
+ In Claude Desktop, open Settings > Developer, edit the local MCP config, and add:
55
+
56
+ ```json
57
+ {
58
+ "mcpServers": {
59
+ "debugbundle": {
60
+ "command": "npx",
61
+ "args": ["-y", "@debugbundle/mcp"]
62
+ }
63
+ }
64
+ }
65
+ ```
66
+
67
+ Run `debugbundle login` first to reuse local CLI auth state, or add `DEBUGBUNDLE_MEMBER_TOKEN` to the server environment for managed/headless use. Set `DEBUGBUNDLE_API_URL` only for self-hosted or non-default API hosts.
68
+
69
+ ## Claude Code Plugin
70
+
71
+ Claude Code users can add DebugBundle's first-party marketplace from this repository:
72
+
73
+ ```text
74
+ /plugin marketplace add debugbundle/debugbundle
75
+ /plugin install debugbundle@debugbundle
76
+ ```
77
+
78
+ The plugin package lives at `apps/mcp/claude-code/debugbundle`, bundles a Claude Code skill, and starts the MCP server with the current published `@debugbundle/mcp` version. It is also structured for Claude community marketplace review; do not describe it as listed in `claude-community` until Anthropic accepts and publishes it.
79
+
51
80
  ## Authentication
52
81
 
53
82
  | Mode | Use | Notes |
@@ -61,10 +90,26 @@ DebugBundle does not expose a hosted remote MCP endpoint today; this package is
61
90
 
62
91
  - List active incidents and fetch full incident context.
63
92
  - Fetch deterministic debug bundles and reproduction artifacts.
93
+ - Query aggregate usage, routes, device/browser/OS/language segments, referrers, actions, funnels, and journey patterns without waiting for an analysis artifact through `get_usage_summary`, `get_route_metrics`, `get_device_breakdown`, `get_action_metrics`, `get_funnel_analysis`, and related reads.
94
+ - Inspect retained redacted journey samples, analytics opportunities, and generated AnalyticsBundles; request a bounded analysis artifact when aggregate metrics alone are insufficient.
95
+ - Read analytics settings before proposing privacy, retention, consent, capture, or approved custom-dimension changes; update them only with explicit owner/admin intent.
96
+ - List saved analytics funnels and, with owner/admin access, create, update, or archive reusable funnel definitions through `list_saved_analytics_funnels`, `create_saved_analytics_funnel`, `update_saved_analytics_funnel`, and `archive_saved_analytics_funnel`.
64
97
  - Inspect hosted health checks, probes, alerts, webhooks, projects, members, billing, capture policy, and GitHub automation state.
65
98
  - Run local and hosted verification through tools such as `verify_local`, `verify_cloud`, `doctor`, `smoke`, and `analyze`.
66
99
  - Resolve or reopen incidents after verification.
67
100
 
101
+ For analytics questions, use direct aggregate tools first and generate an AnalyticsBundle only when a bounded analysis needs a durable artifact. The product does not create one bundle per visit.
102
+
103
+ ## Troubleshooting
104
+
105
+ | Symptom | Check |
106
+ | --- | --- |
107
+ | Node.js launch failure | Use Node.js 22.x through 26.x. Configure the client to use a supported `node` or `npx` runtime. |
108
+ | Missing local auth | Run `debugbundle login`, or set `DEBUGBUNDLE_MEMBER_TOKEN` for headless and managed clients. |
109
+ | Invalid token | Use a `dbundle_mem_` member token. Project tokens are SDK ingestion-only credentials. |
110
+ | Wrong API host | Leave `DEBUGBUNDLE_API_URL` unset for DebugBundle Cloud; set it only for self-hosted or non-default API hosts. |
111
+ | Local repo not initialized | Run `debugbundle setup` before local-only diagnostics, local bundle analysis, or generated project-skill workflows. |
112
+
68
113
  ## Links
69
114
 
70
115
  - Docs: https://debugbundle.com/docs/mcp