# io.github.mongodb-js/mongodb-mcp-server

> MongoDB Model Context Protocol Server

- name: io.github.mongodb-js/mongodb-mcp-server
- version: 2.1.0
- connection class: L0 (run_local_package)
- trust: 84/100
- quality: –/100 (not scored)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.mongodb-js%2Fmongodb-mcp-server
- tools: https://api.protogrid.dev/v1/servers/io.github.mongodb-js%2Fmongodb-mcp-server/tools

**Runs on your machine: something must execute the package.** Only local packages are published (npm, PyPI, OCI, …). The registry never executes them, so tools are unknown until you run it.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "mongodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server@2.1.0",
        "--allowRequestOverrides",
        "--apiClientId",
        "--apiClientSecret",
        "--assistantBaseUrl",
        "--atlasTemporaryDatabaseUserLifetimeMs",
        "--confirmationRequiredTools",
        "--connectionScope",
        "--connectionString",
        "--disableServerSideJs",
        "--disabledTools",
        "--dryRun",
        "--elicitationTimeoutMs",
        "--exportCleanupIntervalMs",
        "--exportTimeoutMs",
        "--exportsPath",
        "--externallyManagedSessions",
        "--healthCheckHost",
        "--healthCheckPort",
        "--httpBodyLimit",
        "--httpHeaders",
        "--httpHost",
        "--httpPort",
        "--httpResponseType",
        "--idleTimeoutMs",
        "--indexCheck",
        "--logPath",
        "--loggers",
        "--maxActiveConnections",
        "--maxBytesPerQuery",
        "--maxDocumentsPerQuery",
        "--maxSessions",
        "--maxTimeMS",
        "--mcpClientLogLevel",
        "--monitoringServerFeatures",
        "--monitoringServerHost",
        "--monitoringServerPort",
        "--notificationTimeoutMs",
        "--previewFeatures",
        "--readOnly",
        "--telemetry",
        "--transport",
        "--voyageApiKey"
      ],
      "env": {
        "MDB_MCP_API_CLIENT_ID": "${MDB_MCP_API_CLIENT_ID}",
        "MDB_MCP_API_CLIENT_SECRET": "${MDB_MCP_API_CLIENT_SECRET}",
        "MDB_MCP_CONNECTION_STRING": "${MDB_MCP_CONNECTION_STRING}",
        "MDB_MCP_VOYAGE_API_KEY": "${MDB_MCP_VOYAGE_API_KEY}"
      }
    }
  }
}
```

Placeholders to fill: `${MDB_MCP_API_CLIENT_ID}`, `${MDB_MCP_API_CLIENT_SECRET}`, `${MDB_MCP_CONNECTION_STRING}`, `${MDB_MCP_VOYAGE_API_KEY}`.

## Trust

- hygiene: 95
- liveness: n/a
- freshness: 85
- provenance: 75
- drivers: +repository +namespace-matches-repo -thin-description ~liveness-unmeasured ~updated-71d-ago -unpinned-packages(1)
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality –/100 (not scored)

Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.

### protocol: n/a (weight 25)

- n/a `protocol.modern`, `protocol.stateless`, `protocol.transport`, `protocol.list_ttl`: no remote answered a protocol handshake (not probed yet, unreachable, or local-only)

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: n/a (weight 30)

- n/a `tools.descriptions`, `tools.description_length`, `tools.schemas`, `tools.annotations`, `tools.directory_hints`, `tools.token_cost`, `tools.api_dump`: tool list unknown (behind auth, not probed, or empty)

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`: tool list unknown

### dependencies: 33 (weight 15)

- fail `deps.known_vulns`: 1 advisory to act on (malicious, or rated high or critical with a fix available): GHSA-c475-qrg2-pj4r in basic-ftp@5.3.1 (indirect, fixed in 6.2.1)
- fail `deps.mcp_sdk_version`: @modelcontextprotocol/sdk 1.30.1 has 1 known advisory (GHSA-6qxp-vccf-f47h); update @modelcontextprotocol/sdk to 1.31.0 or later
- pass `deps.resolvable`: mongodb-mcp-server@2.1.0 resolved: 416 packages

- tools: unknown
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.mongodb-js/mongodb-mcp-server.svg)](https://protogrid.dev/servers/io.github.mongodb-js/mongodb-mcp-server)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Dependencies

- npm mongodb-mcp-server@2.1.0: resolved, 415 dependencies, MCP SDK @modelcontextprotocol/sdk 1.30.1
  - GHSA-6qxp-vccf-f47h (high) in `` @modelcontextprotocol/sdk@1.30.1 ``, direct, fixed in `` 1.31.0 ``, advisory summary: "MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server" https://osv.dev/vulnerability/GHSA-6qxp-vccf-f47h
  - GHSA-c475-qrg2-pj4r (high) in `` basic-ftp@5.3.1 ``, indirect, fixed in `` 6.2.1 ``, advisory summary: "basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE\_LINE backtracking)" https://osv.dev/vulnerability/GHSA-c475-qrg2-pj4r

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

_none_

## Packages

- npm mongodb-mcp-server@2.1.0 secrets: MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_CONNECTION_STRING, MDB_MCP_VOYAGE_API_KEY
- oci docker.io/mongodb/mongodb-mcp-server:2.1.0 secrets: MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_CONNECTION_STRING, MDB_MCP_VOYAGE_API_KEY

## Tools (0)

_none observed_
