diff --git a/README.md b/README.md index 24404c20..fbf5660f 100644 --- a/README.md +++ b/README.md @@ -353,6 +353,7 @@ The MongoDB MCP Server can be configured using multiple methods, with the follow | `confirmationRequiredTools` | `MDB_MCP_CONFIRMATION_REQUIRED_TOOLS` | `"atlas-create-access-list,atlas-create-db-user,drop-database,drop-collection,delete-many,drop-index"` | Comma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation. | | `connectionString` | `MDB_MCP_CONNECTION_STRING` | `` | MongoDB connection string for direct database connections. Optional, if not set, you'll need to call the connect tool before interacting with MongoDB data. | | `disabledTools` | `MDB_MCP_DISABLED_TOOLS` | `""` | Comma separated values of tool names, operation types, and/or categories of tools that will be disabled. | +| `dryRun` | `MDB_MCP_DRY_RUN` | `false` | When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server. | | `embeddingsValidation` | `MDB_MCP_EMBEDDINGS_VALIDATION` | `true` | When set to false, disables validation of embeddings dimensions. | | `exportCleanupIntervalMs` | `MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS` | `120000` | Time in milliseconds between export cleanup cycles that remove expired export files. | | `exportTimeoutMs` | `MDB_MCP_EXPORT_TIMEOUT_MS` | `300000` | Time in milliseconds after which an export is considered expired and eligible for cleanup. | diff --git a/package.json b/package.json index 9c2178e5..963db06c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongodb-mcp-server", "description": "MongoDB Model Context Protocol Server", - "version": "1.2.0", + "version": "1.3.0-pre.1", "type": "module", "packageManager": "pnpm@10.23.0", "mcpName": "io.github.mongodb-js/mongodb-mcp-server", diff --git a/server.json b/server.json index 471cf90c..83756058 100644 --- a/server.json +++ b/server.json @@ -6,12 +6,12 @@ "url": "https://github.com/mongodb-js/mongodb-mcp-server", "source": "github" }, - "version": "1.2.0", + "version": "1.3.0-pre.1", "packages": [ { "registryType": "npm", "identifier": "mongodb-mcp-server", - "version": "1.2.0", + "version": "1.3.0-pre.1", "transport": { "type": "stdio" }, @@ -65,6 +65,13 @@ "format": "string", "isSecret": false }, + { + "name": "MDB_MCP_DRY_RUN", + "description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server.", + "isRequired": false, + "format": "boolean", + "isSecret": false + }, { "name": "MDB_MCP_EMBEDDINGS_VALIDATION", "description": "When set to false, disables validation of embeddings dimensions.", @@ -235,6 +242,13 @@ "description": "Comma separated values of tool names, operation types, and/or categories of tools that will be disabled.", "isRequired": false }, + { + "type": "named", + "name": "--dryRun", + "description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server.", + "isRequired": false, + "format": "boolean" + }, { "type": "named", "name": "--embeddingsValidation", @@ -352,7 +366,7 @@ }, { "registryType": "oci", - "identifier": "docker.io/mongodb/mongodb-mcp-server:1.2.0", + "identifier": "docker.io/mongodb/mongodb-mcp-server:1.3.0-pre.1", "transport": { "type": "stdio" }, @@ -406,6 +420,13 @@ "format": "string", "isSecret": false }, + { + "name": "MDB_MCP_DRY_RUN", + "description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server.", + "isRequired": false, + "format": "boolean", + "isSecret": false + }, { "name": "MDB_MCP_EMBEDDINGS_VALIDATION", "description": "When set to false, disables validation of embeddings dimensions.", @@ -576,6 +597,13 @@ "description": "Comma separated values of tool names, operation types, and/or categories of tools that will be disabled.", "isRequired": false }, + { + "type": "named", + "name": "--dryRun", + "description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server.", + "isRequired": false, + "format": "boolean" + }, { "type": "named", "name": "--embeddingsValidation", diff --git a/src/common/packageInfo.ts b/src/common/packageInfo.ts index 6fcf3d56..1750924c 100644 --- a/src/common/packageInfo.ts +++ b/src/common/packageInfo.ts @@ -1,5 +1,5 @@ // This file was generated by scripts/updatePackageVersion.ts - Do not edit it manually. export const packageInfo = { - version: "1.2.0", + version: "1.3.0-pre.1", mcpServerName: "MongoDB MCP Server", };