@debugbundle/mcp 0.1.0-next.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/LICENSE +661 -0
- package/README.md +41 -0
- package/bin/debugbundle-mcp.js +10 -0
- package/dist/main.js +13874 -0
- package/package.json +34 -0
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# @debugbundle/mcp
|
|
2
|
+
|
|
3
|
+
Model Context Protocol server for DebugBundle.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Run directly with npm:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx @debugbundle/mcp
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or install globally:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g @debugbundle/mcp
|
|
17
|
+
debugbundle-mcp
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## MCP Client Configuration
|
|
21
|
+
|
|
22
|
+
```json
|
|
23
|
+
{
|
|
24
|
+
"mcpServers": {
|
|
25
|
+
"debugbundle": {
|
|
26
|
+
"command": "npx",
|
|
27
|
+
"args": ["@debugbundle/mcp"]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The server uses stdio transport and exposes the same DebugBundle incident, bundle, webhook, alert, token, project, member, billing, GitHub, probe, and diagnostic tools documented at https://debugbundle.com/docs/mcp.
|
|
34
|
+
|
|
35
|
+
## Authentication
|
|
36
|
+
|
|
37
|
+
Local use reuses CLI auth state from `~/.debugbundle/auth.json` when available. Headless clients can pass `bearerToken` in tool arguments.
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
|
|
41
|
+
AGPL-3.0-only.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { dirname, resolve } from "node:path";
|
|
3
|
+
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
4
|
+
|
|
5
|
+
const binDirectory = dirname(fileURLToPath(import.meta.url));
|
|
6
|
+
const packageRoot = resolve(binDirectory, "..");
|
|
7
|
+
const mainPath = resolve(packageRoot, "dist/main.js");
|
|
8
|
+
const { main } = await import(pathToFileURL(mainPath).href);
|
|
9
|
+
|
|
10
|
+
await main();
|