ls-mcp 1.13.1 → 1.13.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 +12 -0
- package/dist/bin/cli.cjs +85 -525
- package/dist/bin/cli.mjs +75 -515
- package/dist/main.cjs +22 -479
- package/dist/main.d.cts +3 -38
- package/dist/main.d.ts +3 -38
- package/dist/main.mjs +12 -469
- package/package.json +2 -1
- package/src/bin/cli.ts +40 -17
- package/src/services/mcp-config-service.ts +6 -7
- package/src/types/mcp-config-service.types.ts +2 -20
- package/src/services/directory-bubble-service.ts +0 -82
- package/src/services/mcp-config-linter-service.ts +0 -34
- package/src/services/mcp-config-parser.ts +0 -234
- package/src/services/mcp-path-registry.ts +0 -213
package/README.md
CHANGED
|
@@ -35,6 +35,18 @@
|
|
|
35
35
|
npx ls-mcp
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
### JSON Output
|
|
39
|
+
|
|
40
|
+
To output results in JSON format (useful for programmatic consumption):
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npx ls-mcp --json
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
This will return a structured JSON object containing:
|
|
47
|
+
- `mcpFiles`: Complete MCP server configurations organized by provider (only includes providers with configured servers)
|
|
48
|
+
- `summary`: Statistics including total servers, running servers, credential warnings, and transport breakdown
|
|
49
|
+
|
|
38
50
|
### Debug Mode
|
|
39
51
|
|
|
40
52
|
To enable verbose debugging output, set the `NODE_DEBUG` environment variable:
|