mongodb-mcp-server 3.0.5 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/cjs/common/packageInfo.js +1 -1
- package/dist/esm/common/packageInfo.js +1 -1
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -317,6 +317,10 @@ With Atlas API credentials:
|
|
|
317
317
|
}
|
|
318
318
|
```
|
|
319
319
|
|
|
320
|
+
### HTTP Compatibility
|
|
321
|
+
|
|
322
|
+
For custom HTTP clients and hosts, see the library guide's [HTTP compatibility requirements](https://github.com/mongodb-js/mongodb-mcp-server/blob/main/MCP_SERVER_LIBRARY.md#http-compatibility), including protocol headers, redirects, legacy sessions, and request size limits.
|
|
323
|
+
|
|
320
324
|
## 🛠️ Supported Tools
|
|
321
325
|
|
|
322
326
|
### Tool List
|
|
@@ -420,6 +424,7 @@ The MongoDB MCP Server can be configured using multiple methods, with the follow
|
|
|
420
424
|
| `MDB_MCP_CONNECTION_STRING` / `--connectionString` | `<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. |
|
|
421
425
|
| `MDB_MCP_DANGEROUS_HOST_BINDING` / `--dangerousHostBinding` | `false` | When set to true, allows binding the HTTP server (and monitoring server) to a non-loopback host such as 0.0.0.0, a LAN IP, or an empty host (all interfaces). Binding to a non-loopback host exposes the server to the entire network and can allow unauthorized access. Off by default: the server refuses to start on a non-loopback host unless this is true. |
|
|
422
426
|
| `MDB_MCP_DISABLE_SERVER_SIDE_JS` / `--disableServerSideJs` | `true` | When set to true, disallows the use of server-side JavaScript operators (such as $where, $function, and $accumulator) in query filters and aggregation pipelines. |
|
|
427
|
+
| `MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING` / `--disableUntrustedDataWarning` | `false` | When set to true, tool responses include potentially untrusted data (such as documents or query results) as-is, without wrapping it in delimiters and a prompt-injection warning. |
|
|
423
428
|
| `MDB_MCP_DISABLED_TOOLS` / `--disabledTools` | `""` | Comma separated values of tool names, operation types, and/or categories of tools that will be disabled. |
|
|
424
429
|
| `MDB_MCP_DRY_RUN` / `--dryRun` | `false` | When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server. |
|
|
425
430
|
| `MDB_MCP_ELICITATION_TIMEOUT_MS` / `--elicitationTimeoutMs` | `300000` | Time in milliseconds the user has to respond to an elicitation request (such as a tool confirmation prompt) before it fails. |
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
4
|
// This file was generated by packages/scripts/src/updatePackageVersion.ts - Do not edit it manually.
|
|
5
5
|
exports.packageInfo = {
|
|
6
|
-
version: "3.0
|
|
6
|
+
version: "3.1.0",
|
|
7
7
|
mcpServerName: "MongoDB MCP Server",
|
|
8
8
|
engines: {
|
|
9
9
|
node: "^20.19.0 || ^22.13.0 || >= 24.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file was generated by packages/scripts/src/updatePackageVersion.ts - Do not edit it manually.
|
|
2
2
|
export const packageInfo = {
|
|
3
|
-
version: "3.0
|
|
3
|
+
version: "3.1.0",
|
|
4
4
|
mcpServerName: "MongoDB MCP Server",
|
|
5
5
|
engines: {
|
|
6
6
|
node: "^20.19.0 || ^22.13.0 || >= 24.0.0",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mongodb-mcp-server",
|
|
3
3
|
"description": "MongoDB Model Context Protocol Server",
|
|
4
|
-
"version": "3.0
|
|
4
|
+
"version": "3.1.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"mcpName": "io.github.mongodb-js/mongodb-mcp-server",
|
|
7
7
|
"exports": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@microsoft/api-extractor": "^7.59.0",
|
|
59
59
|
"@modelcontextprotocol/inspector": "^0.21.2",
|
|
60
60
|
"@types/node": "^25.6.0",
|
|
61
|
-
"concurrently": "^10.0.
|
|
61
|
+
"concurrently": "^10.0.6",
|
|
62
62
|
"openapi-typescript-helpers": "^0.1.0",
|
|
63
63
|
"ts-levenshtein": "^1.0.7",
|
|
64
64
|
"tsx": "^4.23.12",
|
|
@@ -67,22 +67,22 @@
|
|
|
67
67
|
"vitest": "^4.1.11"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@modelcontextprotocol/node": "^2.
|
|
70
|
+
"@modelcontextprotocol/node": "^2.1.1",
|
|
71
71
|
"@mongosh/service-provider-node-driver": "^5.0.2",
|
|
72
|
-
"@mongodb-js/mcp-atlas-api-client": "3.0
|
|
73
|
-
"@mongodb-js/mcp-cli": "3.0
|
|
74
|
-
"@mongodb-js/mcp-atlas-telemetry": "3.0
|
|
75
|
-
"@mongodb-js/mcp-core": "3.0
|
|
76
|
-
"@mongodb-js/mcp-
|
|
77
|
-
"@mongodb-js/mcp-
|
|
78
|
-
"@mongodb-js/mcp-
|
|
79
|
-
"@mongodb-js/mcp-
|
|
80
|
-
"@mongodb-js/mcp-tools-
|
|
81
|
-
"@mongodb-js/mcp-
|
|
82
|
-
"@mongodb-js/mcp-
|
|
83
|
-
"@mongodb-js/mcp-
|
|
84
|
-
"@mongodb-js/mcp-
|
|
85
|
-
"@mongodb-js/mcp-
|
|
72
|
+
"@mongodb-js/mcp-atlas-api-client": "3.1.0",
|
|
73
|
+
"@mongodb-js/mcp-cli": "3.1.0",
|
|
74
|
+
"@mongodb-js/mcp-atlas-telemetry": "3.1.0",
|
|
75
|
+
"@mongodb-js/mcp-core": "3.1.0",
|
|
76
|
+
"@mongodb-js/mcp-http-runners": "3.1.0",
|
|
77
|
+
"@mongodb-js/mcp-logging": "3.1.0",
|
|
78
|
+
"@mongodb-js/mcp-metrics": "3.1.0",
|
|
79
|
+
"@mongodb-js/mcp-setup": "3.1.0",
|
|
80
|
+
"@mongodb-js/mcp-tools-assistant": "3.1.0",
|
|
81
|
+
"@mongodb-js/mcp-tools-atlas": "3.1.0",
|
|
82
|
+
"@mongodb-js/mcp-tools-atlas-local": "3.1.0",
|
|
83
|
+
"@mongodb-js/mcp-ui": "3.1.0",
|
|
84
|
+
"@mongodb-js/mcp-tools-mongodb": "3.1.0",
|
|
85
|
+
"@mongodb-js/mcp-types": "3.1.0"
|
|
86
86
|
},
|
|
87
87
|
"engines": {
|
|
88
88
|
"node": "^20.19.0 || ^22.13.0 || >= 24.0.0"
|