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: README.md
+31-6Lines changed: 31 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -304,22 +304,47 @@ The MongoDB MCP Server can be configured using multiple methods, with the follow
304
304
|`apiClientId`| <notset> | Atlas API client ID for authentication. Required for running Atlas tools. |
305
305
|`apiClientSecret`| <notset> | Atlas API client secret for authentication. Required for running Atlas tools. |
306
306
|`connectionString`| <notset> | MongoDB connection string for direct database connections. Optional, if not set, you'll need to call the `connect` tool before interacting with MongoDB data. |
307
-
|`logPath`| see note\*| Folder to store logs. |
307
+
|`loggers`| disk,mcp | Comma separated values, possible values are `mcp`, `disk` and `stderr`. See [Logger Options](#logger-options) for details. |
308
+
|`logPath`| see note*| Folder to store logs. |
308
309
|`disabledTools`| <notset> | An array of tool names, operation types, and/or categories of tools that will be disabled. |
309
310
|`readOnly`| false | When set to true, only allows read, connect, and metadata operation types, disabling create/update/delete operations. |
310
311
|`indexCheck`| false | When set to true, enforces that query operations must use an index, rejecting queries that perform a collection scan. |
311
312
|`telemetry`| enabled | When set to disabled, disables telemetry collection. |
312
313
|`transport`| stdio | Either 'stdio' or 'http'. |
313
314
|`httpPort`| 3000 | Port number. |
314
315
|`httpHost`| 127.0.0.1 | Host to bind the http server. |
315
-
|`logger`| disk,mcp | Comma separated values, possible values are `mcp`, `disk` and `stderr`. |
316
316
317
-
#### Log Path
317
+
#### Logger Options
318
318
319
-
Default log location is as follows:
319
+
The `loggers` configuration option controls where logs are sent. You can specify one or more logger types as a comma-separated list. The available options are:
0 commit comments