Skip to content

Commit 308b348

Browse files
authored
chore: update docs (#169)
1 parent 101a705 commit 308b348

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,9 @@ The MongoDB MCP Server can be configured using multiple methods, with the follow
150150
| `apiClientSecret` | Atlas API client secret for authentication |
151151
| `connectionString` | MongoDB connection string for direct database connections (optional users may choose to inform it on every tool call) |
152152
| `logPath` | Folder to store logs |
153-
| `disabledTools` | An array of tool names, operation types, and/or categories of tools that will be disabled. |
153+
| `disabledTools` | An array of tool names, operation types, and/or categories of tools that will be disabled |
154154
| `readOnly` | When set to true, only allows read and metadata operation types, disabling create/update/delete operations |
155+
| `telemetry` | When set to disabled, disables telemetry collection |
155156

156157
#### `logPath`
157158

@@ -196,6 +197,16 @@ You can enable read-only mode using:
196197

197198
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.
198199

200+
#### Telemetry
201+
202+
The `telemetry` configuration option allows you to disable telemetry collection. When enabled, the MCP server will collect usage data and send it to MongoDB.
203+
204+
You can disable telemetry using:
205+
206+
- **Environment variable**: `export MDB_MCP_TELEMETRY=disabled`
207+
- **Command-line argument**: `--telemetry disabled`
208+
- **DO_NOT_TRACK environment variable**: `export DO_NOT_TRACK=1`
209+
199210
### Atlas API Access
200211

201212
To use the Atlas API tools, you'll need to create a service account in MongoDB Atlas:

0 commit comments

Comments
 (0)