MCPwell

Home › Servers › Databases › MongoDB

MongoDB MCP server

MongoDB's server for querying databases and managing MongoDB Atlas resources.

★ 1,144 GitHub stars · 2026-12-04

Real user ratings coming soon

Transportstdio (local, npm), stdio (local, oci)
AuthLocal install declares secret environment variables
Registry nameio.github.mongodb-js/mongodb-mcp-server · 3.4.0
Sourcehttps://github.com/mongodb-js/mongodb-mcp-server
Remote endpointsNone declared
Data sourceOfficial MCP Registry
KindVendor
GitHub stars1,144 GitHub stars, fetched 2026-12-04
Date checked2026-12-04
LicenseApache-2.0
Last commit2026-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)

Claude Desktop · mcpServers
{
  "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>"
      }
    }
  }
}
Cursor · mcpServers
{
  "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>"
      }
    }
  }
}
VS Code · .vscode/mcp.json
{
  "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>"
      }
    }
  }
}
Claude Code · .mcp.json
{
  "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
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

Optional environment variables

Not placed in the snippet. Names declared on the entry:

Other packages on the entry

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

Databases

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

Real user ratings coming soon

Nhost

Databases

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

Real user ratings coming soon

Supabase

Databases

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

Real user ratings coming soon

ClickHouse

Databases

ClickHouse's local server for querying ClickHouse clusters and chDB.

stdio (local, pypi), stdio (local, oci)

★ 889 GitHub stars · 2026-12-04

Real user ratings coming soon

Neon

Databases

Neon's server for creating and managing serverless Postgres projects, branches and databases.

Streamable HTTP (remote)

★ 654 GitHub stars · 2026-12-04

Real user ratings coming soon

MotherDuck / DuckDB

Databases

Runs SQL analytics against DuckDB files or MotherDuck cloud databases.

stdio (local, pypi)

★ 532 GitHub stars · 2026-12-04

Real user ratings coming soon