Skip to content

Commit 7b8191f

Browse files
chore: update config readme
1 parent e0af3fc commit 7b8191f

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

CONFIGURATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ The MongoDB MCP Server can be configured using multiple methods, with the follow
3030
| `connectionString` | `MDB_MCP_CONNECTION_STRING` | `<not set>` | MongoDB connection string for direct database connections. Optional, if not set, you'll need to call the connect tool before interacting with MongoDB data. |
3131
| `disableEmbeddingsValidation` | `MDB_MCP_DISABLE_EMBEDDINGS_VALIDATION` | `false` | When set to true, disables validation of embeddings dimensions. |
3232
| `disabledTools` | `MDB_MCP_DISABLED_TOOLS` | `""` | Comma separated values of tool names, operation types, and/or categories of tools that will be disabled. |
33+
| `dry` | `MDB_MCP_DRY` | `false` | When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server. |
3334
| `exportCleanupIntervalMs` | `MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS` | `120000` | Time in milliseconds between export cleanup cycles that remove expired export files. |
3435
| `exportTimeoutMs` | `MDB_MCP_EXPORT_TIMEOUT_MS` | `300000` | Time in milliseconds after which an export is considered expired and eligible for cleanup. |
3536
| `exportsPath` | `MDB_MCP_EXPORTS_PATH` | see below\* | Folder to store exported data files. |

server.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@
6565
"format": "string",
6666
"isSecret": false
6767
},
68+
{
69+
"name": "MDB_MCP_DRY",
70+
"description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server.",
71+
"isRequired": false,
72+
"format": "boolean",
73+
"isSecret": false
74+
},
6875
{
6976
"name": "MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS",
7077
"description": "Time in milliseconds between export cleanup cycles that remove expired export files.",
@@ -236,6 +243,13 @@
236243
"description": "Comma separated values of tool names, operation types, and/or categories of tools that will be disabled.",
237244
"isRequired": false
238245
},
246+
{
247+
"type": "named",
248+
"name": "--dry",
249+
"description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server.",
250+
"isRequired": false,
251+
"format": "boolean"
252+
},
239253
{
240254
"type": "named",
241255
"name": "--exportCleanupIntervalMs",
@@ -406,6 +420,13 @@
406420
"format": "string",
407421
"isSecret": false
408422
},
423+
{
424+
"name": "MDB_MCP_DRY",
425+
"description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server.",
426+
"isRequired": false,
427+
"format": "boolean",
428+
"isSecret": false
429+
},
409430
{
410431
"name": "MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS",
411432
"description": "Time in milliseconds between export cleanup cycles that remove expired export files.",
@@ -577,6 +598,13 @@
577598
"description": "Comma separated values of tool names, operation types, and/or categories of tools that will be disabled.",
578599
"isRequired": false
579600
},
601+
{
602+
"type": "named",
603+
"name": "--dry",
604+
"description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server.",
605+
"isRequired": false,
606+
"format": "boolean"
607+
},
580608
{
581609
"type": "named",
582610
"name": "--exportCleanupIntervalMs",

0 commit comments

Comments
 (0)