You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/b2c-dx-mcp/README.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -220,16 +220,31 @@ Storefront Next development tools for building modern storefronts.
220
220
221
221
## Telemetry
222
222
223
-
The MCP server collects anonymous usage telemetry to help improve the developer experience.
223
+
The MCP server collects anonymous usage telemetry to help improve the developer experience. Telemetry is enabled by default.
224
224
225
-
**Development mode**: Telemetry is automatically disabled when `NODE_ENV=development` (set by `bin/dev.js`), so local development and testing won't pollute production data.
225
+
### Disabling Telemetry
226
226
227
-
**Production**: Telemetry is enabled by default for published releases. To disable, set `SFCC_TELEMETRY=false`.
227
+
Set one of these environment variables to disable telemetry:
228
+
229
+
```bash
230
+
# Salesforce CLI standard (recommended)
231
+
SF_DISABLE_TELEMETRY=true
232
+
233
+
# Or SFCC-specific
234
+
SFCC_DISABLE_TELEMETRY=true
235
+
```
236
+
237
+
You can also override the telemetry connection string for testing:
238
+
239
+
```bash
240
+
SFCC_APP_INSIGHTS_KEY=your-connection-string
241
+
```
228
242
229
243
### What We Collect
230
244
231
245
-**Server lifecycle events**: When the server starts, stops, or encounters errors
232
246
-**Tool usage**: Which tools are called and their execution time (not the arguments or results)
247
+
-**Command metrics**: Command duration and success/failure status
233
248
-**Environment info**: Platform, architecture, Node.js version, and package version
0 commit comments