mongodb-mcp-server
MCP serverby mongodb-jsSRC
MongoDB Model Context Protocol Server
SRC Publisher-stated: these are the publisher's own words, not an assessment.
Key facts
- Type
- MCP server · mcp-localSRC
- Publisher
- mongodb-js · organizationSRC
- Licence
- Apache-2.0SRC
- Open source
- YesDER
- Hosting
- Local (runs on your machine)SRC
- Latest version
- 3.3.0SRC
- Languages
- typescriptSRC
- First published
- SRC
- In this catalogue since
- DER
- Last verified
- Not verified by a researcher. Last seen in a source on 2026-11-21.
Capabilities and categories
Assigned by keyword rules from the description unless marked otherwise. The matched word is shown so you can judge the match.
| Capability | Evidence | Kind |
|---|---|---|
| NoSQL Databases | matched mongodb | DER |
| Document Databases | matched mongodb | DER |
Filed underData & KnowledgeDatabases
Integrations DER
Platform compatibility
No pairing has been tested by AgentSidekick. Each status says what kind of evidence exists, not whether it works for you.
Protocol-level29
Each platform listed officially documents support for MCP. This specific pairing has not been tested.
Platform discontinued1
| Platform | Basis |
|---|---|
| Roo CodeDiscontinued | Roo Code documented support for MCP but is discontinued. Project shut down and repository archived. |
Unknown17
| Platform | Basis |
|---|---|
| OpenClaw | Could not confirm whether OpenClaw supports MCP. |
| OpenHands | OpenHands documents MCP support, but it runs only on web, api, slack surfaces and this server runs locally as a process on your machine. Whether OpenHands can reach a local server is not established. |
| Aider | Could not confirm whether Aider supports MCP. |
| Bolt (bolt.new) | Bolt (bolt.new) documents MCP support, but it runs only on web surfaces and this server runs locally as a process on your machine. Whether Bolt (bolt.new) can reach a local server is not established. |
| Amazon Q DeveloperWinding down | Could not confirm whether Amazon Q Developer supports MCP. |
| Amazon Bedrock Agents (Agents Classic)Maintenance only | Could not confirm whether Amazon Bedrock Agents (Agents Classic) supports MCP. |
| GPTs (custom GPTs)Winding down | Could not confirm whether GPTs (custom GPTs) supports MCP. |
| Gemini (app) | Gemini (app) documents MCP support, but it runs only on web, mobile surfaces and this server runs locally as a process on your machine. Whether Gemini (app) can reach a local server is not established. |
| Gemini Enterprise Agent Platform (formerly Vertex AI / Vertex AI Agent Builder) | Gemini Enterprise Agent Platform (formerly Vertex AI / Vertex AI Agent Builder) documents MCP support, but it runs only on web, api surfaces and this server runs locally as a process on your machine. Whether Gemini Enterprise Agent Platform (formerly Vertex AI / Vertex AI Agent Builder) can reach a local server is not established. |
| GitHub Copilot ExtensionsDiscontinued | Could not confirm whether GitHub Copilot Extensions supports MCP. |
| Google AI Studio | Could not confirm whether Google AI Studio supports MCP. |
| JulesWinding down | Could not confirm whether Jules supports MCP. |
| Microsoft Copilot | Could not confirm whether Microsoft Copilot supports MCP. |
| Microsoft Copilot Studio | Microsoft Copilot Studio documents MCP support, but it runs only on web surfaces and this server runs locally as a process on your machine. Whether Microsoft Copilot Studio can reach a local server is not established. |
| Replit Agent | Replit Agent documents MCP support, but it runs only on web surfaces and this server runs locally as a process on your machine. Whether Replit Agent can reach a local server is not established. |
| Sourcegraph Cody | Could not confirm whether Sourcegraph Cody supports MCP. |
| v0 | v0 documents MCP support, but it runs only on web, api surfaces and this server runs locally as a process on your machine. Whether v0 can reach a local server is not established. |
Install
Read from registry metadata. Follow the publisher's instructions; we have not run this.
| Registry | Package | Transport | Runtime |
|---|---|---|---|
| npm | mongodb-mcp-server | stdio | not stated |
| oci | docker.io/mongodb/mongodb-mcp-server:3.3.0 | stdio | not stated |
Environment variables SRC
| Name | Required | Secret | Publisher's description |
|---|---|---|---|
| MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP | No | No | Deprecated. Use `aggregationCountTimeoutMs` instead. |
| MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS | No | No | 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 | No | No | When set to true, allows configuration values to be overridden via request headers and query parameters. |
| MDB_MCP_API_CLIENT_ID | No | Secret | Atlas API client ID for authentication. Required for running Atlas tools. |
| MDB_MCP_API_CLIENT_SECRET | No | Secret | Atlas API client secret for authentication. Required for running Atlas tools. |
| MDB_MCP_ASSISTANT_BASE_URL | No | No | Base URL for the MongoDB Assistant API. |
| MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS | No | No | 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 | No | No | Comma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation. |
| MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS | No | No | 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 | No | No | 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 | No | Secret | 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 | No | Secret | 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 | No | No | 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_DISABLE_SERVER_SIDE_JS | No | No | 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 | No | No | 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_DISABLED_TOOLS | No | No | Comma separated values of tool names, operation types, and/or categories of tools that will be disabled. |
| MDB_MCP_DRY_RUN | No | No | When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server. |
| MDB_MCP_ELICITATION_TIMEOUT_MS | No | No | 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 | No | No | 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_EXPORT_CLEANUP_INTERVAL_MS | No | No | Time in milliseconds between export cleanup cycles that remove expired export files. |
| MDB_MCP_EXPORT_TIMEOUT_MS | No | No | Time in milliseconds after which an export is considered expired and eligible for cleanup. |
| MDB_MCP_EXPORTS_PATH | No | No | Folder to store exported data files. |
| MDB_MCP_EXTERNALLY_MANAGED_SESSIONS | No | No | 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 | No | No | 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 | No | No | 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 | No | No | 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 | No | No | Header that the HTTP server will validate when making requests (only used when transport is 'http'). |
| MDB_MCP_HTTP_HOST | No | No | Host address to bind the HTTP server to (only used when transport is 'http'). |
| MDB_MCP_HTTP_PORT | No | No | Port number for the HTTP server (only used when transport is 'http'). Use 0 for a random port. |
| MDB_MCP_HTTP_RESPONSE_TYPE | No | No | The HTTP response type for tool responses: 'sse' for Server-Sent Events, 'json' for standard JSON responses. |
| MDB_MCP_IDLE_TIMEOUT_MS | No | No | Idle timeout for a client to disconnect (only applies to http transport). |
| MDB_MCP_INDEX_CHECK | No | No | When set to true, enforces that query operations must use an index, rejecting queries that perform a collection scan. |
| MDB_MCP_LOG_PATH | No | No | Folder to store logs. |
| MDB_MCP_LOGGERS | No | No | Comma separated values of logger types. |
| MDB_MCP_MAX_ACTIVE_CONNECTIONS | No | No | 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 | No | No | 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 | No | No | 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 | No | No | 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 | No | No | 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 | No | No | Minimum severity level for log messages forwarded to the MCP client. |
| MDB_MCP_MONITORING_SERVER_FEATURES | No | No | 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 | No | No | 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 | No | No | 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 | No | No | Notification timeout for a client to be aware of disconnect (only applies to http transport). |
| MDB_MCP_PREVIEW_FEATURES | No | No | Comma separated values of preview features that are enabled. |
| MDB_MCP_QUERY_COUNT_MAX_TIME_MS_CAP | No | No | Deprecated. Use `queryCountTimeoutMs` instead. |
| MDB_MCP_QUERY_COUNT_TIMEOUT_MS | No | No | 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 | No | No | When set to true, only allows read, connect, and metadata operation types, disabling create/update/delete operations. |
| MDB_MCP_TELEMETRY | No | No | When set to disabled, disables telemetry collection. |
| MDB_MCP_TIMEOUT_MS | No | No | 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 | No | No | Either 'stdio' or 'http'. |
| MDB_MCP_VOYAGE_API_KEY | No | Secret | API key for Voyage AI embeddings service (required for creating Atlas Local deployments with auto-embed vector search capabilities). |
Permissions and signals
Signals, not a safety verdict. They describe what the product's metadata references. Security review: not reviewed.
| Signal | Evidence | How observed | Observed |
|---|---|---|---|
| Runs a local process | runs locally via npm,oci | registry metadata | 2026-11-21 |
| Asks for a secret | declares secret env var(s): MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_CONNECTION_STRING, MDB_MCP_CONNECTION_STRINGS, MDB_MCP_VOYAGE_API_KEY | registry metadata | 2026-11-21 |
Known advisories for the published package SRC
An advisory existing does not mean the listed version is affected: compare the vulnerable range with the version you install. None found is not evidence of safety.
No advisories found
No published advisory matches a package this product declares. Products without a declared package cannot be matched at all. This is not evidence of safety.
Evaluation
Separate dimensions, each with its evidence. There is no overall score: the dimensions do not add up to one number honestly.
- Source authority
Publisher-submitted
Published to the official MCP Registry by the namespace owner. Field values are the publisher's own claims.
- Publisher verification
Namespace verified by registry
The MCP Registry verifies namespace ownership (GitHub login or DNS) before publishing. This confirms who published it, not what it does.
- Maintenance activity
Active
Last push 2026-11-20 (0 days before this page was built).
- Licence clarity
Apache-2.0
Licence identifier as reported by GitHub repository metadata.
- Installation clarity
Machine-readable
2 package(s) and 0 remote endpoint(s) declared in registry metadata.
- Documentation
Repository / website only
No dedicated documentation URL on record. AgentSidekick has not assessed documentation quality.
- Compatibility evidence
Protocol-level only
Compatibility is inferred from the standard it implements. No pairing has been tested.
- Security review
Not reviewed
AgentSidekick has not audited this product. 2 automated signal(s) are listed under Permissions & signals — they describe what it references, not whether it is safe.
Pricing
Not published in any source we track. The code is open source, which says nothing about the cost of any hosted service.
Repository activity
mongodb-js/mongodb-mcp-server. Read from the GitHub API on 2026-11-21.
Version history SRC
- 3.3.0
- 3.2.2
- 3.2.1
- 2.1.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
12 earlier versions
- 1.10.0
- 1.9.0
- 1.8.1
- 1.8.0
- 1.6.0
- 1.5.0
- 1.4.1-prerelease.6
- 1.4.0-prerelease.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.0
Change history
What changed between two ingests of the same source, and when the product was first seen. Registry releases are under Version history.
- First seen
Competitors and alternativesDER
Paired by shared capabilities and integrations. Similar on paper; not tested side by side.
Direct
Same type, overlapping capabilities.
MCP serverby CloudCorpRecordsSRC
SharesNoSQL DatabasesDocument DatabasesMongoDB
MCP serverby bluworkSRC
SharesNoSQL DatabasesDocument DatabasesMongoDB
MCP serverby florentine-aiSRC
SharesNoSQL DatabasesDocument DatabasesMongoDB
MCP serverby argon-labSRC
SharesNoSQL DatabasesDocument DatabasesMongoDB
MCP serverby getvda.aiSRC
SharesNoSQL DatabasesDocument DatabasesMongoDB
MCP serverby getvda.aiSRC
SharesNoSQL DatabasesDocument DatabasesMongoDB
Adjacent
A different form or a partial overlap.
Pluginby mongodbSRC
SharesNoSQL DatabasesDocument DatabasesMongoDB
Agent skillby elementalsoulsSRC
SharesNoSQL DatabasesDocument DatabasesMongoDB
Pluginby ccpluginsSRC
SharesNoSQL DatabasesDocument DatabasesMongoDB
Provenance
Which source set each field, what kind of claim it is, and when.
| Field | Source | Kind | Set on |
|---|---|---|---|
| Canonical URL | Official MCP Registry | SRC | 2026-11-21 |
| Publisher | Official MCP Registry | SRC | 2026-11-21 |
| Description | Official MCP Registry | SRC | 2026-11-21 |
| Hosting | Official MCP Registry | SRC | 2026-11-21 |
| Integration type | Official MCP Registry | SRC | 2026-11-21 |
| Languages | GitHub repository metadata | SRC | 2026-11-21 |
| Latest version | Official MCP Registry | SRC | 2026-11-21 |
| Licence | GitHub repository metadata | SRC | 2026-11-21 |
| Name | Official MCP Registry | SRC | 2026-11-21 |
| Open source | GitHub repository metadata | DER | 2026-11-21 |
| Type | Official MCP Registry | SRC | 2026-11-21 |
| Published | Official MCP Registry | SRC | 2026-11-21 |
| Repository | Official MCP Registry | SRC | 2026-11-21 |
| source_updated_at | Official MCP Registry | SRC | 2026-11-21 |
| Source URL | Official MCP Registry | SRC | 2026-11-21 |
Sources
- Official MCP Registry: registry.modelcontextprotocol.io (external)checked
Not verified by a researcher. Last seen in a source on . Report incorrect information