mongodb-mcp-server in namespace io.github
Local package path declaredNo credentials listedRepository declared by sourceUpdated 2026-11-24
io.github.mongodb-js/mongodb-mcp-server · Registry status: active
No name of its own reaches this register for this entry. The heading therefore carries the trailing segment of the identifier; the identifier itself is listed below as a coordinate.
At a glance
Official MongoDB MCP server: let AI agents search and manage databases and the Atlas data platform
Vendor's own description, untranslated and unverified
- Execution location
- Local package path declaredMCP-Register · 2026-08-06
- Required secrets declared
- No credentials listedMCP-Register · 2026-08-06
- Declared version and change
3.4.0· Source-reported change date 2026-11-24MCP-Register · 2026-11-25- Repository as declared
- github.com/mongodb-js/mongodb-mcp-serverMCP-Register · 2026-08-06
- Configuration
- can be built from the disclosed start template
Inspect connection paths and prerequisites
Related categories
- MCP servers for databases550
- MCP servers without declared required secrets70,134
- Locally executed MCP servers30,202
- MCP servers with a repository URL50,157
- Local MCP servers without declared required secrets25,030
- Local MCP servers with a repository URL28,660
6 of 7 categories. All categories in the segment catalogue
Page last changed:
Sources and collection
- Runs
- Local package path declared
- Credentials
- No credentials listed
- Registry record changed
- 2026-11-24
- Setup
- Template available
- Registry name
io.github.mongodb-js/mongodb-mcp-server- Package coordinate
npm:mongodb-mcp-server- Declared version
3.4.0- Source-reported listing date
- 2026-11-24
- Source-reported change date
- 2026-11-24
- First seen by tracevero
- 2026-08-06
- Vendor's website
- https://github.com/mongodb-js/mongodb-mcp-server
Evidence for this page: The values on this page come from several collections. Each row therefore states its own origin. What the confidence levels mean
Measured values
| Required secrets declared | No credentials listed no Original data – Required secret variables (raw): confirmed absent Original data – Required secret headers (raw): confirmed absent Source: MCP-Register · collected on 2026-08-06 · derived |
|---|---|
| Execution location | Local package path declared local Original data – Transports (raw): stdio, stdio Source: MCP-Register · collected on 2026-08-06 · derived |
| Path argument present | no Original data – Path arguments (raw): confirmed absent Original data – Path environment variables (raw): confirmed absent Source: MCP-Register · collected on 2026-08-06 · derived |
| Repository URL listed | Repository declared by source yes Original data – Repository (raw): https://github.com/mongodb-js/mongodb-mcp-server Source: MCP-Register · collected on 2026-08-06 · derived |
| Field of use, derived from the vendor description | Databases Original data – Description (raw): Official MongoDB MCP server: let AI agents search and manage databases and the Atlas data platform Source: MCP-Register · collected on 2026-08-26 · derived |
| Declared version | 3.4.0 Source: MCP-Register · collected on 2026-11-25 · self-declared |
What is measured is what a manifest declares, not what a piece of software does. This registry fetches no repository URL, no endpoint and no package index; nothing here is verified. Which value comes from which source, and by which rule it was formed, is set out in the Methodology.
Source data25
Evidence for this page: The values on this page come from several collections. Each row therefore states its own origin.
| Description (raw) | Official MongoDB MCP server: let AI agents search and manage databases and the Atlas data platform Source: MCP-Register · collected on 2026-11-25 · self-declared |
|---|---|
| Environment variables (raw) | MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP, MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS, MDB_MCP_ALLOW_REQUEST_OVERRIDES, MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_ASSISTANT_BASE_URL, MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS, MDB_MCP_CONFIRMATION_REQUIRED_TOOLS, MDB_MCP_CONNECTION_CONNECT_TIMEOUT_MS, MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS, MDB_MCP_CONNECTION_SCOPE, MDB_MCP_CONNECTION_STRING, MDB_MCP_CONNECTION_STRINGS, MDB_MCP_DANGEROUS_HOST_BINDING, MDB_MCP_DISABLE_SERVER_SIDE_JS, MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING, MDB_MCP_DISABLED_TOOLS, MDB_MCP_DRY_RUN, MDB_MCP_ELICITATION_TIMEOUT_MS, MDB_MCP_EVICTION_IDLE_GRACE_M_S, MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS, MDB_MCP_EXPORT_TIMEOUT_MS, MDB_MCP_EXPORTS_PATH, MDB_MCP_EXTERNALLY_MANAGED_SESSIONS, MDB_MCP_HEALTH_CHECK_HOST, MDB_MCP_HEALTH_CHECK_PORT, MDB_MCP_HTTP_BODY_LIMIT, MDB_MCP_HTTP_HEADERS, MDB_MCP_HTTP_HOST, MDB_MCP_HTTP_PORT, MDB_MCP_HTTP_RESPONSE_TYPE, MDB_MCP_IDLE_TIMEOUT_MS, MDB_MCP_INDEX_CHECK, MDB_MCP_LOG_PATH, MDB_MCP_LOGGERS, MDB_MCP_MAX_ACTIVE_CONNECTIONS, MDB_MCP_MAX_BYTES_PER_QUERY, MDB_MCP_MAX_DOCUMENTS_PER_QUERY, MDB_MCP_MAX_SESSIONS, MDB_MCP_MAX_TIME_M_S, MDB_MCP_MCP_CLIENT_LOG_LEVEL, MDB_MCP_MONITORING_SERVER_FEATURES, MDB_MCP_MONITORING_SERVER_HOST, MDB_MCP_MONITORING_SERVER_PORT, MDB_MCP_NOTIFICATION_TIMEOUT_MS, MDB_MCP_PREVIEW_FEATURES, MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP, MDB_MCP_QUERY_COUNT_TIMEOUT_MS, MDB_MCP_READ_ONLY, MDB_MCP_TELEMETRY, MDB_MCP_TIMEOUT_MS, MDB_MCP_TRANSPORT, MDB_MCP_VOYAGE_API_KEY, MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP, MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS, MDB_MCP_ALLOW_REQUEST_OVERRIDES, MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_ASSISTANT_BASE_URL, MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS, MDB_MCP_CONFIRMATION_REQUIRED_TOOLS, MDB_MCP_CONNECTION_CONNECT_TIMEOUT_MS, MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS, MDB_MCP_CONNECTION_SCOPE, MDB_MCP_CONNECTION_STRING, MDB_MCP_CONNECTION_STRINGS, MDB_MCP_DANGEROUS_HOST_BINDING, MDB_MCP_DISABLE_SERVER_SIDE_JS, MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING, MDB_MCP_DISABLED_TOOLS, MDB_MCP_DRY_RUN, MDB_MCP_ELICITATION_TIMEOUT_MS, MDB_MCP_EVICTION_IDLE_GRACE_M_S, MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS, MDB_MCP_EXPORT_TIMEOUT_MS, MDB_MCP_EXPORTS_PATH, MDB_MCP_EXTERNALLY_MANAGED_SESSIONS, MDB_MCP_HEALTH_CHECK_HOST, MDB_MCP_HEALTH_CHECK_PORT, MDB_MCP_HTTP_BODY_LIMIT, MDB_MCP_HTTP_HEADERS, MDB_MCP_HTTP_HOST, MDB_MCP_HTTP_PORT, MDB_MCP_HTTP_RESPONSE_TYPE, MDB_MCP_IDLE_TIMEOUT_MS, MDB_MCP_INDEX_CHECK, MDB_MCP_LOG_PATH, MDB_MCP_LOGGERS, MDB_MCP_MAX_ACTIVE_CONNECTIONS, MDB_MCP_MAX_BYTES_PER_QUERY, MDB_MCP_MAX_DOCUMENTS_PER_QUERY, MDB_MCP_MAX_SESSIONS, MDB_MCP_MAX_TIME_M_S, MDB_MCP_MCP_CLIENT_LOG_LEVEL, MDB_MCP_MONITORING_SERVER_FEATURES, MDB_MCP_MONITORING_SERVER_HOST, MDB_MCP_MONITORING_SERVER_PORT, MDB_MCP_NOTIFICATION_TIMEOUT_MS, MDB_MCP_PREVIEW_FEATURES, MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP, MDB_MCP_QUERY_COUNT_TIMEOUT_MS, MDB_MCP_READ_ONLY, MDB_MCP_TELEMETRY, MDB_MCP_TIMEOUT_MS, MDB_MCP_TRANSPORT, MDB_MCP_VOYAGE_API_KEY Source: MCP-Register · collected on 2026-11-25 · self-declared |
| Required secret variables (raw) | confirmed absent Source: MCP-Register · collected on 2026-08-06 · self-declared |
| Transports (raw) | stdio, stdio Source: MCP-Register · collected on 2026-08-06 · self-declared |
| Path arguments (raw) | confirmed absent Source: MCP-Register · collected on 2026-08-06 · self-declared |
| Repository (raw) | https://github.com/mongodb-js/mongodb-mcp-server Source: MCP-Register · collected on 2026-08-06 · self-declared |
| Package registries (raw) | npm, oci Source: MCP-Register · collected on 2026-08-06 · self-declared |
| Required secret headers (raw) | confirmed absent Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Path environment variables (raw) | confirmed absent Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Remote URLs (raw) | confirmed absent Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Remote hosts (raw) | confirmed absent Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Registry status message (raw) | confirmed absent Source: MCP-Register · collected on 2026-08-16 · self-declared |
| First listed in the registry (raw) | 2026-11-24 Source: MCP-Register · collected on 2026-11-25 · self-declared |
| Last changed in the registry (raw) | 2026-11-24 Source: MCP-Register · collected on 2026-11-25 · self-declared |
| Schema version of the raw record (raw) | https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Delivery form (raw) | package Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Repository platform (raw) | github Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Repository subfolder (raw) | confirmed absent Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Package identifiers (raw) | docker.io/mongodb/mongodb-mcp-server:3.4.0, mongodb-mcp-server Source: MCP-Register · collected on 2026-11-25 · self-declared |
| Package versions (raw) | 3.4.0 Source: MCP-Register · collected on 2026-11-25 · self-declared |
| Runtime hints (raw) | confirmed absent Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Environment variable formats (raw) | boolean, number, string Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Environment variable descriptions (raw) | MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP=Deprecated. Use `aggregationCountTimeoutMs` instead. · MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS=The maximum time in milliseconds for the count phase of aggregation operations. This is used to limit the time spent counting documents when determining if results were capped. · MDB_MCP_ALLOW_REQUEST_OVERRIDES=When set to true, allows configuration values to be overridden via request headers and query parameters. · MDB_MCP_API_CLIENT_ID=Atlas API client ID for authentication. Required for running Atlas tools. · MDB_MCP_API_CLIENT_SECRET=Atlas API client secret for authentication. Required for running Atlas tools. · MDB_MCP_ASSISTANT_BASE_URL=Base URL for the MongoDB Assistant API. · MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS=Time in milliseconds that temporary database users created when connecting to MongoDB Atlas clusters will remain active before being automatically deleted. · MDB_MCP_CONFIRMATION_REQUIRED_TOOLS=Comma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation. · MDB_MCP_CONNECTION_CONNECT_TIMEOUT_MS=Milliseconds a MongoDB connection may stay in the 'connecting' state (e.g. an in-progress OIDC flow) before it is closed. Bounds a dial that never settles so it cannot pin a connection indefinitely. Kept separate from connectionIdleTimeoutMs so lowering the idle timeout does not abort legitimate multi-minute auth flows. Set to 0 to disable; must not be negative. App-level setting, enforced by the shared reaper, so it cannot be overridden per request. · MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS=Milliseconds a MongoDB connection may stay unused (no tool call touching it) before it is closed to release the underlying connection pool and its server-side state. Applied per connection regardless of its connection scope; the preconfigured connection is excluded, and the reaper runs on this cadence. Set to 0 to disable reaping; must not be negative. · MDB_MCP_CONNECTION_SCOPE=Visibility scope for MongoDB connections created at runtime. With 'session' (the default), each MCP session only sees the connections it created (plus the shared 'preconfigured' one) and they are closed when the session ends. With 'global', connections are shared across all sessions and survive session rotation. Deprecated: the MCP protocol is moving to sessionless, so this option will soon be removed and the connection scope will default to 'global'. For shared-server use cases, use the Atlas-Managed MCP server or build an authenticated library using the @mongodb-js/mcp-cli package. Note: on the sessionless (2026-07-28) HTTP path, a request without an mcp-session-id falls back to the shared ('global') scope so it can still persist connections across requests; the legacy sessionful path always carries a server-issued session. · MDB_MCP_CONNECTION_STRING=MongoDB connection string for direct database connections, exposed under the connectionId "preconfigured". Optional, if not set, you'll need to call the connect tool before interacting with MongoDB data. Deprecated: prefer the "preconfigured" entry of connectionStrings. · MDB_MCP_CONNECTION_STRINGS=MongoDB connection strings keyed by name, as a JSON object (e.g. {"preconfigured": "mongodb://...", "analytics": "mongodb://..."}). Each name becomes a connectionId that the MongoDB tools can use directly, so one server can reach several deployments. Connections are opened on first use. Environment variable or config file only. · MDB_MCP_DANGEROUS_HOST_BINDING=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. · MDB_MCP_DISABLED_TOOLS=Comma separated values of tool names, operation types, and/or categories of tools that will be disabled. · MDB_MCP_DISABLE_SERVER_SIDE_JS=When set to true, disallows the use of server-side JavaScript operators (such as $where, $function, and $accumulator) in query filters and aggregation pipelines. · MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING=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. · MDB_MCP_DRY_RUN=When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server. · MDB_MCP_ELICITATION_TIMEOUT_MS=Time in milliseconds the user has to respond to an elicitation request (such as a tool confirmation prompt) before it fails. · MDB_MCP_EVICTION_IDLE_GRACE_M_S=How long a session must be idle before it becomes eligible for least-recently-used eviction when the HTTP transport is at its maxSessions cap (only used when transport is 'http'). Swept back to idleTimeoutMs when larger. · MDB_MCP_EXPORTS_PATH=Folder to store exported data files. · MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS=Time in milliseconds between export cleanup cycles that remove expired export files. · MDB_MCP_EXPORT_TIMEOUT_MS=Time in milliseconds after which an export is considered expired and eligible for cleanup. · MDB_MCP_EXTERNALLY_MANAGED_SESSIONS=When true, the 2025-era HTTP transport accepts a session ID supplied externally through the 'mcp-session-id' header. When an external ID is supplied, the initialization request is optional, and an implicitly re-initialized session restores the client's previously negotiated capabilities from the session store. · MDB_MCP_HEALTH_CHECK_HOST=Deprecated. Use `monitoringServerHost` instead. Host address to bind the healthCheck HTTP server to (only used when transport is 'http'). If provided, `healthCheckPort` must also be set. · MDB_MCP_HEALTH_CHECK_PORT=Deprecated. Use `monitoringServerPort` instead. Port number for the healthCheck HTTP server (only used when transport is 'http'). If provided, `healthCheckHost` must also be set. · MDB_MCP_HTTP_BODY_LIMIT=Maximum size of the HTTP request body in bytes (only used when transport is 'http'). This value is passed as the optional limit parameter to the Express.js json() middleware. · MDB_MCP_HTTP_HEADERS=Header that the HTTP server will validate when making requests (only used when transport is 'http'). · MDB_MCP_HTTP_HOST=Host address to bind the HTTP server to (only used when transport is 'http'). · MDB_MCP_HTTP_PORT=Port number for the HTTP server (only used when transport is 'http'). Use 0 for a random port. · MDB_MCP_HTTP_RESPONSE_TYPE=The HTTP response type for tool responses: 'sse' for Server-Sent Events, 'json' for standard JSON responses. · MDB_MCP_IDLE_TIMEOUT_MS=Idle timeout for a client to disconnect (only applies to http transport). · MDB_MCP_INDEX_CHECK=When set to true, enforces that query operations must use an index, rejecting queries that perform a collection scan. · MDB_MCP_LOGGERS=Comma separated values of logger types. · MDB_MCP_LOG_PATH=Folder to store logs. · MDB_MCP_MAX_ACTIVE_CONNECTIONS=Maximum number of MongoDB connections a single scope (an MCP session by default, see connectionScope) can hold open. When exceeded, the scope's least-recently-used connection is closed and its connectionId revoked. The preconfigured connection does not count towards the limit. · MDB_MCP_MAX_BYTES_PER_QUERY=The maximum size in bytes for results from a find or aggregate tool call. This serves as an upper bound for the responseBytesLimit parameter in those tools. · MDB_MCP_MAX_DOCUMENTS_PER_QUERY=The maximum number of documents that can be returned by a find or aggregate tool call. For the find tool, the effective limit will be the smaller of this value and the tool's limit parameter. · MDB_MCP_MAX_SESSIONS=Maximum number of concurrent sessions the HTTP transport will hold in memory (only used when transport is 'http'). Each session holds a full server instance, transport, and timers, so choose a value based on your deployment's available memory; the default is a conservative safety net rather than a recommended production value. · MDB_MCP_MAX_TIME_M_S=Deprecated. Use `timeoutMs` instead. The maximum time in milliseconds that operations are allowed to run on the MongoDB server. · MDB_MCP_MCP_CLIENT_LOG_LEVEL=Minimum severity level for log messages forwarded to the MCP client. · MDB_MCP_MONITORING_SERVER_FEATURES=Features to expose on the monitoring server: health-check, metrics, and process-metrics. process-metrics exposes /metrics with Node.js process metrics (only used when transport is 'http' and monitoringServerHost/monitoringServerPort are set). · MDB_MCP_MONITORING_SERVER_HOST=Host address to bind the monitoring HTTP server to (only used when transport is 'http'). If provided, `monitoringServerPort` must also be set. · MDB_MCP_MONITORING_SERVER_PORT=Port number for the monitoring HTTP server (only used when transport is 'http'). If provided, `monitoringServerHost` must also be set. · MDB_MCP_NOTIFICATION_TIMEOUT_MS=Notification timeout for a client to be aware of disconnect (only applies to http transport). · MDB_MCP_PREVIEW_FEATURES=Comma separated values of preview features that are enabled. · MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP=Deprecated. Use `queryCountTimeoutMs` instead. · MDB_MCP_QUERY_COUNT_TIMEOUT_MS=The maximum time in milliseconds for the count phase of find operations. This is used to limit the time spent counting documents when determining if results were capped. · MDB_MCP_READ_ONLY=When set to true, only allows read, connect, and metadata operation types, disabling create/update/delete operations. · MDB_MCP_TELEMETRY=When set to disabled, disables telemetry collection. · MDB_MCP_TIMEOUT_MS=The maximum time in milliseconds that MongoDB operations are allowed to run, applied as the driver's timeoutMS (client-side operation timeout, CSOT) on each connection. It bounds the entire operation, including server selection and network round trips. · MDB_MCP_TRANSPORT=Either 'stdio' or 'http'. · MDB_MCP_VOYAGE_API_KEY=API key for Voyage AI embeddings service (required for creating Atlas Local deployments with auto-embed vector search capabilities). Source: MCP-Register · collected on 2026-11-25 · self-declared |
| Icon formats (raw) | confirmed absent Source: MCP-Register · collected on 2026-08-16 · self-declared |
| Connection paths (source structure) | {"packages":[{"registryType":"npm","identifier":"mongodb-mcp-server","version":"3.4.0","transport":"stdio","environment":[{"name":"MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP","description":"Deprecated. Use `aggregationCountTimeoutMs` instead.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS","description":"The maximum time in milliseconds for the count phase of aggregation operations. This is used to limit the time spent counting documents when determining if results were capped.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_ALLOW_REQUEST_OVERRIDES","description":"When set to true, allows configuration values to be overridden via request headers and query parameters.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_API_CLIENT_ID","description":"Atlas API client ID for authentication. Required for running Atlas tools.","format":"string","required":false,"secret":true},{"name":"MDB_MCP_API_CLIENT_SECRET","description":"Atlas API client secret for authentication. Required for running Atlas tools.","format":"string","required":false,"secret":true},{"name":"MDB_MCP_ASSISTANT_BASE_URL","description":"Base URL for the MongoDB Assistant API.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS","description":"Time in milliseconds that temporary database users created when connecting to MongoDB Atlas clusters will remain active before being automatically deleted.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_CONFIRMATION_REQUIRED_TOOLS","description":"Comma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_CONNECTION_CONNECT_TIMEOUT_MS","description":"Milliseconds a MongoDB connection may stay in the 'connecting' state (e.g. an in-progress OIDC flow) before it is closed. Bounds a dial that never settles so it cannot pin a connection indefinitely. Kept separate from connectionIdleTimeoutMs so lowering the idle timeout does not abort legitimate multi-minute auth flows. Set to 0 to disable; must not be negative. App-level setting, enforced by the shared reaper, so it cannot be overridden per request.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS","description":"Milliseconds a MongoDB connection may stay unused (no tool call touching it) before it is closed to release the underlying connection pool and its server-side state. Applied per connection regardless of its connection scope; the preconfigured connection is excluded, and the reaper runs on this cadence. Set to 0 to disable reaping; must not be negative.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_CONNECTION_SCOPE","description":"Visibility scope for MongoDB connections created at runtime. With 'session' (the default), each MCP session only sees the connections it created (plus the shared 'preconfigured' one) and they are closed when the session ends. With 'global', connections are shared across all sessions and survive session rotation. Deprecated: the MCP protocol is moving to sessionless, so this option will soon be removed and the connection scope will default to 'global'. For shared-server use cases, use the Atlas-Managed MCP server or build an authenticated library using the @mongodb-js/mcp-cli package. Note: on the sessionless (2026-07-28) HTTP path, a request without an mcp-session-id falls back to the shared ('global') scope so it can still persist connections across requests; the legacy sessionful path always carries a server-issued session.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_CONNECTION_STRING","description":"MongoDB connection string for direct database connections, exposed under the connectionId \"preconfigured\". Optional, if not set, you'll need to call the connect tool before interacting with MongoDB data. Deprecated: prefer the \"preconfigured\" entry of connectionStrings.","format":"string","required":false,"secret":true},{"name":"MDB_MCP_CONNECTION_STRINGS","description":"MongoDB connection strings keyed by name, as a JSON object (e.g. {\"preconfigured\": \"mongodb://...\", \"analytics\": \"mongodb://...\"}). Each name becomes a connectionId that the MongoDB tools can use directly, so one server can reach several deployments. Connections are opened on first use. Environment variable or config file only.","format":"string","required":false,"secret":true},{"name":"MDB_MCP_DANGEROUS_HOST_BINDING","description":"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.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_DISABLE_SERVER_SIDE_JS","description":"When set to true, disallows the use of server-side JavaScript operators (such as $where, $function, and $accumulator) in query filters and aggregation pipelines.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING","description":"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.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_DISABLED_TOOLS","description":"Comma separated values of tool names, operation types, and/or categories of tools that will be disabled.","format":"string","required":false,"secret":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.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_ELICITATION_TIMEOUT_MS","description":"Time in milliseconds the user has to respond to an elicitation request (such as a tool confirmation prompt) before it fails.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_EVICTION_IDLE_GRACE_M_S","description":"How long a session must be idle before it becomes eligible for least-recently-used eviction when the HTTP transport is at its maxSessions cap (only used when transport is 'http'). Swept back to idleTimeoutMs when larger.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS","description":"Time in milliseconds between export cleanup cycles that remove expired export files.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_EXPORT_TIMEOUT_MS","description":"Time in milliseconds after which an export is considered expired and eligible for cleanup.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_EXPORTS_PATH","description":"Folder to store exported data files.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_EXTERNALLY_MANAGED_SESSIONS","description":"When true, the 2025-era HTTP transport accepts a session ID supplied externally through the 'mcp-session-id' header. When an external ID is supplied, the initialization request is optional, and an implicitly re-initialized session restores the client's previously negotiated capabilities from the session store.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_HEALTH_CHECK_HOST","description":"Deprecated. Use `monitoringServerHost` instead. Host address to bind the healthCheck HTTP server to (only used when transport is 'http'). If provided, `healthCheckPort` must also be set.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_HEALTH_CHECK_PORT","description":"Deprecated. Use `monitoringServerPort` instead. Port number for the healthCheck HTTP server (only used when transport is 'http'). If provided, `healthCheckHost` must also be set.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_HTTP_BODY_LIMIT","description":"Maximum size of the HTTP request body in bytes (only used when transport is 'http'). This value is passed as the optional limit parameter to the Express.js json() middleware.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_HTTP_HEADERS","description":"Header that the HTTP server will validate when making requests (only used when transport is 'http').","format":"string","required":false,"secret":false},{"name":"MDB_MCP_HTTP_HOST","description":"Host address to bind the HTTP server to (only used when transport is 'http').","format":"string","required":false,"secret":false},{"name":"MDB_MCP_HTTP_PORT","description":"Port number for the HTTP server (only used when transport is 'http'). Use 0 for a random port.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_HTTP_RESPONSE_TYPE","description":"The HTTP response type for tool responses: 'sse' for Server-Sent Events, 'json' for standard JSON responses.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_IDLE_TIMEOUT_MS","description":"Idle timeout for a client to disconnect (only applies to http transport).","format":"number","required":false,"secret":false},{"name":"MDB_MCP_INDEX_CHECK","description":"When set to true, enforces that query operations must use an index, rejecting queries that perform a collection scan.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_LOG_PATH","description":"Folder to store logs.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_LOGGERS","description":"Comma separated values of logger types.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_MAX_ACTIVE_CONNECTIONS","description":"Maximum number of MongoDB connections a single scope (an MCP session by default, see connectionScope) can hold open. When exceeded, the scope's least-recently-used connection is closed and its connectionId revoked. The preconfigured connection does not count towards the limit.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_MAX_BYTES_PER_QUERY","description":"The maximum size in bytes for results from a find or aggregate tool call. This serves as an upper bound for the responseBytesLimit parameter in those tools.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_MAX_DOCUMENTS_PER_QUERY","description":"The maximum number of documents that can be returned by a find or aggregate tool call. For the find tool, the effective limit will be the smaller of this value and the tool's limit parameter.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_MAX_SESSIONS","description":"Maximum number of concurrent sessions the HTTP transport will hold in memory (only used when transport is 'http'). Each session holds a full server instance, transport, and timers, so choose a value based on your deployment's available memory; the default is a conservative safety net rather than a recommended production value.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_MAX_TIME_M_S","description":"Deprecated. Use `timeoutMs` instead. The maximum time in milliseconds that operations are allowed to run on the MongoDB server.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_MCP_CLIENT_LOG_LEVEL","description":"Minimum severity level for log messages forwarded to the MCP client.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_MONITORING_SERVER_FEATURES","description":"Features to expose on the monitoring server: health-check, metrics, and process-metrics. process-metrics exposes /metrics with Node.js process metrics (only used when transport is 'http' and monitoringServerHost/monitoringServerPort are set).","format":"string","required":false,"secret":false},{"name":"MDB_MCP_MONITORING_SERVER_HOST","description":"Host address to bind the monitoring HTTP server to (only used when transport is 'http'). If provided, `monitoringServerPort` must also be set.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_MONITORING_SERVER_PORT","description":"Port number for the monitoring HTTP server (only used when transport is 'http'). If provided, `monitoringServerHost` must also be set.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_NOTIFICATION_TIMEOUT_MS","description":"Notification timeout for a client to be aware of disconnect (only applies to http transport).","format":"number","required":false,"secret":false},{"name":"MDB_MCP_PREVIEW_FEATURES","description":"Comma separated values of preview features that are enabled.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP","description":"Deprecated. Use `queryCountTimeoutMs` instead.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_QUERY_COUNT_TIMEOUT_MS","description":"The maximum time in milliseconds for the count phase of find operations. This is used to limit the time spent counting documents when determining if results were capped.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_READ_ONLY","description":"When set to true, only allows read, connect, and metadata operation types, disabling create/update/delete operations.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_TELEMETRY","description":"When set to disabled, disables telemetry collection.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_TIMEOUT_MS","description":"The maximum time in milliseconds that MongoDB operations are allowed to run, applied as the driver's timeoutMS (client-side operation timeout, CSOT) on each connection. It bounds the entire operation, including server selection and network round trips.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_TRANSPORT","description":"Either 'stdio' or 'http'.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_VOYAGE_API_KEY","description":"API key for Voyage AI embeddings service (required for creating Atlas Local deployments with auto-embed vector search capabilities).","format":"string","required":false,"secret":true}],"additional_arguments_declared":true},{"registryType":"oci","identifier":"docker.io/mongodb/mongodb-mcp-server:3.4.0","transport":"stdio","environment":[{"name":"MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP","description":"Deprecated. Use `aggregationCountTimeoutMs` instead.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS","description":"The maximum time in milliseconds for the count phase of aggregation operations. This is used to limit the time spent counting documents when determining if results were capped.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_ALLOW_REQUEST_OVERRIDES","description":"When set to true, allows configuration values to be overridden via request headers and query parameters.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_API_CLIENT_ID","description":"Atlas API client ID for authentication. Required for running Atlas tools.","format":"string","required":false,"secret":true},{"name":"MDB_MCP_API_CLIENT_SECRET","description":"Atlas API client secret for authentication. Required for running Atlas tools.","format":"string","required":false,"secret":true},{"name":"MDB_MCP_ASSISTANT_BASE_URL","description":"Base URL for the MongoDB Assistant API.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS","description":"Time in milliseconds that temporary database users created when connecting to MongoDB Atlas clusters will remain active before being automatically deleted.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_CONFIRMATION_REQUIRED_TOOLS","description":"Comma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_CONNECTION_CONNECT_TIMEOUT_MS","description":"Milliseconds a MongoDB connection may stay in the 'connecting' state (e.g. an in-progress OIDC flow) before it is closed. Bounds a dial that never settles so it cannot pin a connection indefinitely. Kept separate from connectionIdleTimeoutMs so lowering the idle timeout does not abort legitimate multi-minute auth flows. Set to 0 to disable; must not be negative. App-level setting, enforced by the shared reaper, so it cannot be overridden per request.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS","description":"Milliseconds a MongoDB connection may stay unused (no tool call touching it) before it is closed to release the underlying connection pool and its server-side state. Applied per connection regardless of its connection scope; the preconfigured connection is excluded, and the reaper runs on this cadence. Set to 0 to disable reaping; must not be negative.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_CONNECTION_SCOPE","description":"Visibility scope for MongoDB connections created at runtime. With 'session' (the default), each MCP session only sees the connections it created (plus the shared 'preconfigured' one) and they are closed when the session ends. With 'global', connections are shared across all sessions and survive session rotation. Deprecated: the MCP protocol is moving to sessionless, so this option will soon be removed and the connection scope will default to 'global'. For shared-server use cases, use the Atlas-Managed MCP server or build an authenticated library using the @mongodb-js/mcp-cli package. Note: on the sessionless (2026-07-28) HTTP path, a request without an mcp-session-id falls back to the shared ('global') scope so it can still persist connections across requests; the legacy sessionful path always carries a server-issued session.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_CONNECTION_STRING","description":"MongoDB connection string for direct database connections, exposed under the connectionId \"preconfigured\". Optional, if not set, you'll need to call the connect tool before interacting with MongoDB data. Deprecated: prefer the \"preconfigured\" entry of connectionStrings.","format":"string","required":false,"secret":true},{"name":"MDB_MCP_CONNECTION_STRINGS","description":"MongoDB connection strings keyed by name, as a JSON object (e.g. {\"preconfigured\": \"mongodb://...\", \"analytics\": \"mongodb://...\"}). Each name becomes a connectionId that the MongoDB tools can use directly, so one server can reach several deployments. Connections are opened on first use. Environment variable or config file only.","format":"string","required":false,"secret":true},{"name":"MDB_MCP_DANGEROUS_HOST_BINDING","description":"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.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_DISABLE_SERVER_SIDE_JS","description":"When set to true, disallows the use of server-side JavaScript operators (such as $where, $function, and $accumulator) in query filters and aggregation pipelines.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_DISABLE_UNTRUSTED_DATA_WARNING","description":"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.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_DISABLED_TOOLS","description":"Comma separated values of tool names, operation types, and/or categories of tools that will be disabled.","format":"string","required":false,"secret":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.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_ELICITATION_TIMEOUT_MS","description":"Time in milliseconds the user has to respond to an elicitation request (such as a tool confirmation prompt) before it fails.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_EVICTION_IDLE_GRACE_M_S","description":"How long a session must be idle before it becomes eligible for least-recently-used eviction when the HTTP transport is at its maxSessions cap (only used when transport is 'http'). Swept back to idleTimeoutMs when larger.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS","description":"Time in milliseconds between export cleanup cycles that remove expired export files.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_EXPORT_TIMEOUT_MS","description":"Time in milliseconds after which an export is considered expired and eligible for cleanup.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_EXPORTS_PATH","description":"Folder to store exported data files.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_EXTERNALLY_MANAGED_SESSIONS","description":"When true, the 2025-era HTTP transport accepts a session ID supplied externally through the 'mcp-session-id' header. When an external ID is supplied, the initialization request is optional, and an implicitly re-initialized session restores the client's previously negotiated capabilities from the session store.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_HEALTH_CHECK_HOST","description":"Deprecated. Use `monitoringServerHost` instead. Host address to bind the healthCheck HTTP server to (only used when transport is 'http'). If provided, `healthCheckPort` must also be set.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_HEALTH_CHECK_PORT","description":"Deprecated. Use `monitoringServerPort` instead. Port number for the healthCheck HTTP server (only used when transport is 'http'). If provided, `healthCheckHost` must also be set.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_HTTP_BODY_LIMIT","description":"Maximum size of the HTTP request body in bytes (only used when transport is 'http'). This value is passed as the optional limit parameter to the Express.js json() middleware.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_HTTP_HEADERS","description":"Header that the HTTP server will validate when making requests (only used when transport is 'http').","format":"string","required":false,"secret":false},{"name":"MDB_MCP_HTTP_HOST","description":"Host address to bind the HTTP server to (only used when transport is 'http').","format":"string","required":false,"secret":false},{"name":"MDB_MCP_HTTP_PORT","description":"Port number for the HTTP server (only used when transport is 'http'). Use 0 for a random port.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_HTTP_RESPONSE_TYPE","description":"The HTTP response type for tool responses: 'sse' for Server-Sent Events, 'json' for standard JSON responses.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_IDLE_TIMEOUT_MS","description":"Idle timeout for a client to disconnect (only applies to http transport).","format":"number","required":false,"secret":false},{"name":"MDB_MCP_INDEX_CHECK","description":"When set to true, enforces that query operations must use an index, rejecting queries that perform a collection scan.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_LOG_PATH","description":"Folder to store logs.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_LOGGERS","description":"Comma separated values of logger types.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_MAX_ACTIVE_CONNECTIONS","description":"Maximum number of MongoDB connections a single scope (an MCP session by default, see connectionScope) can hold open. When exceeded, the scope's least-recently-used connection is closed and its connectionId revoked. The preconfigured connection does not count towards the limit.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_MAX_BYTES_PER_QUERY","description":"The maximum size in bytes for results from a find or aggregate tool call. This serves as an upper bound for the responseBytesLimit parameter in those tools.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_MAX_DOCUMENTS_PER_QUERY","description":"The maximum number of documents that can be returned by a find or aggregate tool call. For the find tool, the effective limit will be the smaller of this value and the tool's limit parameter.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_MAX_SESSIONS","description":"Maximum number of concurrent sessions the HTTP transport will hold in memory (only used when transport is 'http'). Each session holds a full server instance, transport, and timers, so choose a value based on your deployment's available memory; the default is a conservative safety net rather than a recommended production value.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_MAX_TIME_M_S","description":"Deprecated. Use `timeoutMs` instead. The maximum time in milliseconds that operations are allowed to run on the MongoDB server.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_MCP_CLIENT_LOG_LEVEL","description":"Minimum severity level for log messages forwarded to the MCP client.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_MONITORING_SERVER_FEATURES","description":"Features to expose on the monitoring server: health-check, metrics, and process-metrics. process-metrics exposes /metrics with Node.js process metrics (only used when transport is 'http' and monitoringServerHost/monitoringServerPort are set).","format":"string","required":false,"secret":false},{"name":"MDB_MCP_MONITORING_SERVER_HOST","description":"Host address to bind the monitoring HTTP server to (only used when transport is 'http'). If provided, `monitoringServerPort` must also be set.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_MONITORING_SERVER_PORT","description":"Port number for the monitoring HTTP server (only used when transport is 'http'). If provided, `monitoringServerHost` must also be set.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_NOTIFICATION_TIMEOUT_MS","description":"Notification timeout for a client to be aware of disconnect (only applies to http transport).","format":"number","required":false,"secret":false},{"name":"MDB_MCP_PREVIEW_FEATURES","description":"Comma separated values of preview features that are enabled.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP","description":"Deprecated. Use `queryCountTimeoutMs` instead.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_QUERY_COUNT_TIMEOUT_MS","description":"The maximum time in milliseconds for the count phase of find operations. This is used to limit the time spent counting documents when determining if results were capped.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_READ_ONLY","description":"When set to true, only allows read, connect, and metadata operation types, disabling create/update/delete operations.","format":"boolean","required":false,"secret":false},{"name":"MDB_MCP_TELEMETRY","description":"When set to disabled, disables telemetry collection.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_TIMEOUT_MS","description":"The maximum time in milliseconds that MongoDB operations are allowed to run, applied as the driver's timeoutMS (client-side operation timeout, CSOT) on each connection. It bounds the entire operation, including server selection and network round trips.","format":"number","required":false,"secret":false},{"name":"MDB_MCP_TRANSPORT","description":"Either 'stdio' or 'http'.","format":"string","required":false,"secret":false},{"name":"MDB_MCP_VOYAGE_API_KEY","description":"API key for Voyage AI embeddings service (required for creating Atlas Local deployments with auto-embed vector search capabilities).","format":"string","required":false,"secret":true}],"additional_arguments_declared":true}],"remotes":[]} Source: MCP-Register · collected on 2026-11-25 · self-declared |
Embed this badge
Paste this line into a README of your own. The badge states how many values the registry holds for the entry and when it last looked, and it links back to this page.
[](https://tracevero.com/mcp/io-github-mongodb-js-mongodb-mcp-server)
The image is drawn again on every request, so it always reports the current state while the pasted line stays as it is. It carries no rating and no traffic light – only the two measured figures.
Changes
| 2026-11-25 | Declared version: 3.3.0 → 3.4.0 |
|---|---|
| 2026-11-25 | Description (raw): MongoDB Model Context Protocol Server → Official MongoDB MCP server: let AI agents search and manage databases and the Atlas data platform |
| 2026-11-25 | Last changed in the registry (raw): 2026-11-09 → 2026-11-24 |
These are the 3 most recent changes to this entry. Full history
tracevero · https://tracevero.com/mcp/io-github-mongodb-js-mongodb-mcp-server