@mcpjam/cli 3.1.0 → 3.3.0

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
@@ -28,6 +28,7 @@ Options:
28
28
  --timeout <ms> Request timeout in milliseconds (default: 30000)
29
29
  --rpc Include RPC logs in JSON output
30
30
  --quiet Suppress non-result progress output
31
+ --no-telemetry Disable anonymous usage telemetry
31
32
  --format <format> Output format
32
33
  -h, --help display help for command
33
34
 
@@ -40,6 +41,7 @@ Commands:
40
41
  oauth Run MCP OAuth login, proxy, and conformance flows
41
42
  protocol MCP protocol inspection and conformance checks
42
43
  inspector Start or attach to the local MCPJam Inspector
44
+ telemetry Inspect and configure anonymous CLI telemetry
43
45
  ```
44
46
 
45
47
  ## Quick start
@@ -57,9 +59,9 @@ mcpjam oauth login --url https://your-server.com/mcp --protocol-version 2025-11-
57
59
  # MCP Apps conformance
58
60
  mcpjam apps conformance --url https://your-server.com/mcp --access-token $TOKEN
59
61
 
60
- # MCP Apps render debugging in Inspector
61
- mcpjam apps debug --url https://your-server.com/mcp --access-token $TOKEN \
62
- --tool-name create_view --params @params.json --ui --quiet --format json
62
+ # Render a UI-capable tool result in Inspector
63
+ mcpjam tools call --url https://your-server.com/mcp --access-token $TOKEN \
64
+ --tool-name create_view --tool-args @params.json --ui --quiet --format json
63
65
 
64
66
  # List tools with full schemas
65
67
  mcpjam tools list --url https://your-server.com/mcp --access-token $TOKEN --format json
@@ -161,6 +163,29 @@ echo '{"query":"setup guide"}' | mcpjam tools call --url $URL --access-token $TO
161
163
 
162
164
  Use `--format json|human` for the raw command result. Use `--reporter json-summary|junit-xml` on conformance and diff commands when CI needs a report artifact. `server validate` uses `--debug-out` for validation artifacts.
163
165
 
166
+ ## Telemetry
167
+
168
+ `mcpjam` collects anonymous command-level telemetry so we can understand CLI usage and reliability. Events include the command/subcommand name, success/failure, exit code, duration, CLI version, Node version, OS, CPU architecture, transport type (`http` or `stdio`), `platform: "cli"`, and coarse CI metadata (`is_ci` and a provider enum such as `github_actions`).
169
+
170
+ Telemetry is enabled by default. The first command invocation that is not opted out writes `telemetry.json` with `enabled: true` and a random install UUID.
171
+
172
+ Telemetry uses a random install UUID stored at the same platform cache location as update checks, in `telemetry.json`. It does not collect raw argv, URLs, hostnames, ports, tokens, headers, environment values, working directories, file paths, tool/resource/prompt names, error messages, stack traces, repository names, branch names, workflow names, or CI job ids.
173
+
174
+ Disable telemetry for one invocation with `--no-telemetry`, or persistently with:
175
+
176
+ ```bash
177
+ mcpjam telemetry disable
178
+ ```
179
+
180
+ Check or re-enable it with:
181
+
182
+ ```bash
183
+ mcpjam telemetry status
184
+ mcpjam telemetry enable
185
+ ```
186
+
187
+ Set `DO_NOT_TRACK=1` or `MCPJAM_TELEMETRY_DISABLED=1` to disable telemetry through the environment. Set `MCPJAM_TELEMETRY_DEBUG=1` to print the sanitized telemetry payload to stderr instead of sending it.
188
+
164
189
  ## GitHub Actions
165
190
 
166
191
  ```yaml