From 2e482805f44dea95f98c072e6e70a0eefc81f935 Mon Sep 17 00:00:00 2001 From: Bianca Lisle Date: Tue, 29 Apr 2025 17:01:01 +0100 Subject: [PATCH 1/2] chore: update docs --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index ece108d3..c8a80943 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,7 @@ The MongoDB MCP Server can be configured using multiple methods, with the follow | `logPath` | Folder to store logs | | `disabledTools` | An array of tool names, operation types, and/or categories of tools that will be disabled. | | `readOnly` | When set to true, only allows read and metadata operation types, disabling create/update/delete operations | +| `telemetry` | When set to disabled, disables telemetry collection. | #### `logPath` @@ -196,6 +197,16 @@ You can enable read-only mode using: When read-only mode is active, you'll see a message in the server logs indicating which tools were prevented from registering due to this restriction. +#### Telemetry + +The `telemetry` configuration option allows you to disable telemetry collection. When enabled, the MCP server will collect usage data and send it to MongoDB. + +You can disable telemetry using: + +- **Environment variable**: `export MDB_MCP_TELEMETRY=disabled` +- **Command-line argument**: `--telemetry disabled` +- **DO_NOT_TRACK environment variable**: `export DO_NOT_TRACK=1` + ### Atlas API Access To use the Atlas API tools, you'll need to create a service account in MongoDB Atlas: From 277720a630e6ac2eb499ab1d7def58393bb44730 Mon Sep 17 00:00:00 2001 From: Bianca Lisle Date: Tue, 29 Apr 2025 17:01:50 +0100 Subject: [PATCH 2/2] format --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8a80943..837b448f 100644 --- a/README.md +++ b/README.md @@ -150,9 +150,9 @@ The MongoDB MCP Server can be configured using multiple methods, with the follow | `apiClientSecret` | Atlas API client secret for authentication | | `connectionString` | MongoDB connection string for direct database connections (optional users may choose to inform it on every tool call) | | `logPath` | Folder to store logs | -| `disabledTools` | An array of tool names, operation types, and/or categories of tools that will be disabled. | +| `disabledTools` | An array of tool names, operation types, and/or categories of tools that will be disabled | | `readOnly` | When set to true, only allows read and metadata operation types, disabling create/update/delete operations | -| `telemetry` | When set to disabled, disables telemetry collection. | +| `telemetry` | When set to disabled, disables telemetry collection | #### `logPath`