
| Transport | stdio (local, npm), stdio (local, oci) |
|---|---|
| Auth | Local install declares secret environment variables |
| Registry name | io.github.mongodb-js/mongodb-mcp-server · 3.4.0 |
| Source | https://github.com/mongodb-js/mongodb-mcp-server |
| Remote endpoints | None declared |
| Data source | Official MCP Registry |
| Kind | Vendor |
| GitHub stars | 1,144 GitHub stars, fetched 2026-12-04 |
| Date checked | 2026-12-04 |
| License | Apache-2.0 |
| Last commit | 2026-12-03 |
Install
Configs are generated only from packages and remotes on the registry entry. Empty optional flags are listed instead of inserted. Nothing is added that the entry does not declare.
The registry lists this as an oci package (docker.io/mongodb/mongodb-mcp-server:3.4.0) with runtime no runtimeHint, and does not include a run argument. No docker command is invented from that entry.
Local package (npm)
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"[email protected]",
"--allowRequestOverrides",
"--apiClientId",
"--apiClientSecret",
"--assistantBaseUrl",
"--confirmationRequiredTools",
"--connectionScope",
"--connectionString",
"--dangerousHostBinding",
"--disableServerSideJs",
"--disableUntrustedDataWarning",
"--disabledTools",
"--dryRun",
"--exportsPath",
"--externallyManagedSessions",
"--healthCheckHost",
"--httpHeaders",
"--httpHost",
"--httpResponseType",
"--indexCheck",
"--logPath",
"--loggers",
"--mcpClientLogLevel",
"--monitoringServerFeatures",
"--monitoringServerHost",
"--previewFeatures",
"--readOnly",
"--telemetry",
"--transport",
"--voyageApiKey"
],
"env": {
"MDB_MCP_API_CLIENT_ID": "<YOUR_MDB_MCP_API_CLIENT_ID>",
"MDB_MCP_API_CLIENT_SECRET": "<YOUR_MDB_MCP_API_CLIENT_SECRET>",
"MDB_MCP_CONNECTION_STRING": "<YOUR_MDB_MCP_CONNECTION_STRING>",
"MDB_MCP_CONNECTION_STRINGS": "<YOUR_MDB_MCP_CONNECTION_STRINGS>",
"MDB_MCP_VOYAGE_API_KEY": "<YOUR_MDB_MCP_VOYAGE_API_KEY>"
}
}
}
}{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"[email protected]",
"--allowRequestOverrides",
"--apiClientId",
"--apiClientSecret",
"--assistantBaseUrl",
"--confirmationRequiredTools",
"--connectionScope",
"--connectionString",
"--dangerousHostBinding",
"--disableServerSideJs",
"--disableUntrustedDataWarning",
"--disabledTools",
"--dryRun",
"--exportsPath",
"--externallyManagedSessions",
"--healthCheckHost",
"--httpHeaders",
"--httpHost",
"--httpResponseType",
"--indexCheck",
"--logPath",
"--loggers",
"--mcpClientLogLevel",
"--monitoringServerFeatures",
"--monitoringServerHost",
"--previewFeatures",
"--readOnly",
"--telemetry",
"--transport",
"--voyageApiKey"
],
"env": {
"MDB_MCP_API_CLIENT_ID": "<YOUR_MDB_MCP_API_CLIENT_ID>",
"MDB_MCP_API_CLIENT_SECRET": "<YOUR_MDB_MCP_API_CLIENT_SECRET>",
"MDB_MCP_CONNECTION_STRING": "<YOUR_MDB_MCP_CONNECTION_STRING>",
"MDB_MCP_CONNECTION_STRINGS": "<YOUR_MDB_MCP_CONNECTION_STRINGS>",
"MDB_MCP_VOYAGE_API_KEY": "<YOUR_MDB_MCP_VOYAGE_API_KEY>"
}
}
}
}{
"servers": {
"mongodb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]",
"--allowRequestOverrides",
"--apiClientId",
"--apiClientSecret",
"--assistantBaseUrl",
"--confirmationRequiredTools",
"--connectionScope",
"--connectionString",
"--dangerousHostBinding",
"--disableServerSideJs",
"--disableUntrustedDataWarning",
"--disabledTools",
"--dryRun",
"--exportsPath",
"--externallyManagedSessions",
"--healthCheckHost",
"--httpHeaders",
"--httpHost",
"--httpResponseType",
"--indexCheck",
"--logPath",
"--loggers",
"--mcpClientLogLevel",
"--monitoringServerFeatures",
"--monitoringServerHost",
"--previewFeatures",
"--readOnly",
"--telemetry",
"--transport",
"--voyageApiKey"
],
"env": {
"MDB_MCP_API_CLIENT_ID": "<YOUR_MDB_MCP_API_CLIENT_ID>",
"MDB_MCP_API_CLIENT_SECRET": "<YOUR_MDB_MCP_API_CLIENT_SECRET>",
"MDB_MCP_CONNECTION_STRING": "<YOUR_MDB_MCP_CONNECTION_STRING>",
"MDB_MCP_CONNECTION_STRINGS": "<YOUR_MDB_MCP_CONNECTION_STRINGS>",
"MDB_MCP_VOYAGE_API_KEY": "<YOUR_MDB_MCP_VOYAGE_API_KEY>"
}
}
}
}{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"[email protected]",
"--allowRequestOverrides",
"--apiClientId",
"--apiClientSecret",
"--assistantBaseUrl",
"--confirmationRequiredTools",
"--connectionScope",
"--connectionString",
"--dangerousHostBinding",
"--disableServerSideJs",
"--disableUntrustedDataWarning",
"--disabledTools",
"--dryRun",
"--exportsPath",
"--externallyManagedSessions",
"--healthCheckHost",
"--httpHeaders",
"--httpHost",
"--httpResponseType",
"--indexCheck",
"--logPath",
"--loggers",
"--mcpClientLogLevel",
"--monitoringServerFeatures",
"--monitoringServerHost",
"--previewFeatures",
"--readOnly",
"--telemetry",
"--transport",
"--voyageApiKey"
],
"env": {
"MDB_MCP_API_CLIENT_ID": "<YOUR_MDB_MCP_API_CLIENT_ID>",
"MDB_MCP_API_CLIENT_SECRET": "<YOUR_MDB_MCP_API_CLIENT_SECRET>",
"MDB_MCP_CONNECTION_STRING": "<YOUR_MDB_MCP_CONNECTION_STRING>",
"MDB_MCP_CONNECTION_STRINGS": "<YOUR_MDB_MCP_CONNECTION_STRINGS>",
"MDB_MCP_VOYAGE_API_KEY": "<YOUR_MDB_MCP_VOYAGE_API_KEY>"
}
}
}
}claude mcp add mongodb -- npx -y [email protected] --allowRequestOverrides --apiClientId --apiClientSecret --assistantBaseUrl --confirmationRequiredTools --connectionScope --connectionString --dangerousHostBinding --disableServerSideJs --disableUntrustedDataWarning --disabledTools --dryRun --exportsPath --externallyManagedSessions --healthCheckHost --httpHeaders --httpHost --httpResponseType --indexCheck --logPath --loggers --mcpClientLogLevel --monitoringServerFeatures --monitoringServerHost --previewFeatures --readOnly --telemetry --transport --voyageApiKey
Optional arguments left out of the snippet
- --aggregationCountMaxTimeMsCap — Deprecated. Use `aggregationCountTimeoutMs` instead.
- --aggregationCountTimeoutMs — 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.
- --atlasTemporaryDatabaseUserLifetimeMs — Time in milliseconds that temporary database users created when connecting to MongoDB Atlas clusters will remain active before being automatically deleted.
- --connectionConnectTimeoutMs — 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…
- --connectionIdleTimeoutMs — 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…
- --elicitationTimeoutMs — Time in milliseconds the user has to respond to an elicitation request (such as a tool confirmation prompt) before it fails.
- --evictionIdleGraceMS — 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').…
- --exportCleanupIntervalMs — Time in milliseconds between export cleanup cycles that remove expired export files.
- --exportTimeoutMs — Time in milliseconds after which an export is considered expired and eligible for cleanup.
- --healthCheckPort — Deprecated. Use `monitoringServerPort` instead. Port number for the healthCheck HTTP server (only used when transport is 'http'). If provided, `healthCheckHost` must also be set.
- --httpBodyLimit — 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.
- --httpPort — Port number for the HTTP server (only used when transport is 'http'). Use 0 for a random port.
- and 11 more optional arguments in the registry entry
Optional environment variables
Not placed in the snippet. Names declared on the entry:
MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAPMDB_MCP_AGGREGATION_COUNT_TIMEOUT_MSMDB_MCP_ALLOW_REQUEST_OVERRIDESMDB_MCP_ASSISTANT_BASE_URLMDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MSMDB_MCP_CONFIRMATION_REQUIRED_TOOLSMDB_MCP_CONNECTION_CONNECT_TIMEOUT_MSMDB_MCP_CONNECTION_IDLE_TIMEOUT_MSMDB_MCP_CONNECTION_SCOPEMDB_MCP_DANGEROUS_HOST_BINDINGMDB_MCP_DISABLE_SERVER_SIDE_JSMDB_MCP_DISABLE_UNTRUSTED_DATA_WARNINGand 36 more optional names in the registry entry
Other packages on the entry
- oci
docker.io/mongodb/mongodb-mcp-server:3.4.0
FAQ
What transport does MongoDB use?
stdio (local, npm), stdio (local, oci).
What credentials are declared for MongoDB?
Local install declares secret environment variables.
When was this checked, and what is the source?
These facts were checked on 2026-12-04. Registry name: io.github.mongodb-js/mongodb-mcp-server. Source: https://github.com/mongodb-js/mongodb-mcp-server.
Category hub: Databases. Client indexes: Claude, Cursor, VS Code.
Similar servers
Paid listings (Sponsored, then Featured) appear first in every list, marked Advertisement. Organic listings follow, sorted by GitHub stars. Sorted by GitHub stars as of 2026-12-04. Servers with no public GitHub repo follow, in alphabetical order.

Metabase
Metabase's server for searching and querying a Metabase instance. The registry URL is a hostname template, not a shared public endpoint.
Streamable HTTP (remote)
★ 49,729 GitHub stars · 2026-12-04

Nhost
Nhost's local server for letting a signed-in user work with the data their own permissions allow.
Streamable HTTP (remote)
★ 9,360 GitHub stars · 2026-12-04

Supabase
Manages Supabase projects and their Postgres databases; available hosted or as a local npm package.
Streamable HTTP (remote), stdio (local, npm)
★ 2,961 GitHub stars · 2026-12-04

ClickHouse
ClickHouse's local server for querying ClickHouse clusters and chDB.
stdio (local, pypi), stdio (local, oci)
★ 889 GitHub stars · 2026-12-04

Neon
Neon's server for creating and managing serverless Postgres projects, branches and databases.
Streamable HTTP (remote)
★ 654 GitHub stars · 2026-12-04

MotherDuck / DuckDB
Runs SQL analytics against DuckDB files or MotherDuck cloud databases.
stdio (local, pypi)
★ 532 GitHub stars · 2026-12-04