@turingspark/mcp-debug 0.1.2 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +38 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -81,10 +81,48 @@ Options:
81
81
  --port <number> Dashboard port (default: 8100)
82
82
  --db <path> SQLite database path (default: ~/.mcp-debug/data.db)
83
83
  --quiet Suppress stderr output (default: false)
84
+ --verbose Print full JSON-RPC messages to stderr (default: false)
84
85
  --open Auto-open dashboard in browser (default: false)
85
86
  -h, --help Display help
86
87
  ```
87
88
 
89
+ ## CLI-Only Debugging with --verbose
90
+
91
+ Use `--verbose` to print full JSON-RPC messages to stderr — no browser needed. Useful for CI, SSH sessions, or quick debugging:
92
+
93
+ ```bash
94
+ npx @turingspark/mcp-debug --cmd "node my-mcp-server.js" --verbose
95
+ ```
96
+
97
+ Output:
98
+ ```
99
+ [mcp-debug] → tools/call id=3
100
+ {
101
+ "method": "tools/call",
102
+ "params": {
103
+ "name": "get_stock_snapshot",
104
+ "arguments": { "symbol_or_symbols": "AAPL" }
105
+ }
106
+ }
107
+ [mcp-debug] ← (response) id=3 [245ms]
108
+ {
109
+ "result": {
110
+ "content": [{ "type": "text", "text": "{...snapshot data...}" }]
111
+ }
112
+ }
113
+ ```
114
+
115
+ Error responses are flagged:
116
+ ```
117
+ [mcp-debug] ← (response) id=5 [120ms] ERROR
118
+ {
119
+ "result": {
120
+ "content": [{ "text": "Error: symbol_or_symbols Field required" }],
121
+ "isError": true
122
+ }
123
+ }
124
+ ```
125
+
88
126
  ## How It Works
89
127
 
90
128
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turingspark/mcp-debug",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "MCP Inspector & Debugger — transparent proxy with a live dashboard for MCP stdio traffic",
5
5
  "author": "TuringSpark <team@turingspark.com>",
6
6
  "license": "MIT",