protogrid

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

mongodb-mcp-server

L0· runs locally

MongoDB Model Context Protocol Server

v2.1.0 · active · repository · descriptor JSON · versions

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.
Quality–not scored
Trust84of 100
Packages2
Tools seen0

Connect

8 clients · secrets stay placeholders
{
  "mcpServers": {
    "mongodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]",
        "--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}"
      }
    }
  }
}
claude mcp add mongodb-mcp-server -e "MDB_MCP_API_CLIENT_ID=${MDB_MCP_API_CLIENT_ID}" -e "MDB_MCP_API_CLIENT_SECRET=${MDB_MCP_API_CLIENT_SECRET}" -e "MDB_MCP_CONNECTION_STRING=${MDB_MCP_CONNECTION_STRING}" -e "MDB_MCP_VOYAGE_API_KEY=${MDB_MCP_VOYAGE_API_KEY}" -- npx -y [email protected] --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
[mcp_servers.mongodb-mcp-server]
command = "npx"
args = ["-y", "[email protected]", "--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}" }
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mongodb-mcp-server": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "[email protected]",
        "--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"
      ],
      "enabled": true,
      "environment": {
        "MDB_MCP_API_CLIENT_ID": "{env:MDB_MCP_API_CLIENT_ID}",
        "MDB_MCP_API_CLIENT_SECRET": "{env:MDB_MCP_API_CLIENT_SECRET}",
        "MDB_MCP_CONNECTION_STRING": "{env:MDB_MCP_CONNECTION_STRING}",
        "MDB_MCP_VOYAGE_API_KEY": "{env:MDB_MCP_VOYAGE_API_KEY}"
      }
    }
  }
}
{
  "mcpServers": {
    "mongodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]",
        "--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}"
      }
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=mongodb-mcp-server&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm1vbmdvZGItbWNwLXNlcnZlckAyLjEuMCIsIi0tYWxsb3dSZXF1ZXN0T3ZlcnJpZGVzIiwiLS1hcGlDbGllbnRJZCIsIi0tYXBpQ2xpZW50U2VjcmV0IiwiLS1hc3Npc3RhbnRCYXNlVXJsIiwiLS1hdGxhc1RlbXBvcmFyeURhdGFiYXNlVXNlckxpZmV0aW1lTXMiLCItLWNvbmZpcm1hdGlvblJlcXVpcmVkVG9vbHMiLCItLWNvbm5lY3Rpb25TY29wZSIsIi0tY29ubmVjdGlvblN0cmluZyIsIi0tZGlzYWJsZVNlcnZlclNpZGVKcyIsIi0tZGlzYWJsZWRUb29scyIsIi0tZHJ5UnVuIiwiLS1lbGljaXRhdGlvblRpbWVvdXRNcyIsIi0tZXhwb3J0Q2xlYW51cEludGVydmFsTXMiLCItLWV4cG9ydFRpbWVvdXRNcyIsIi0tZXhwb3J0c1BhdGgiLCItLWV4dGVybmFsbHlNYW5hZ2VkU2Vzc2lvbnMiLCItLWhlYWx0aENoZWNrSG9zdCIsIi0taGVhbHRoQ2hlY2tQb3J0IiwiLS1odHRwQm9keUxpbWl0IiwiLS1odHRwSGVhZGVycyIsIi0taHR0cEhvc3QiLCItLWh0dHBQb3J0IiwiLS1odHRwUmVzcG9uc2VUeXBlIiwiLS1pZGxlVGltZW91dE1zIiwiLS1pbmRleENoZWNrIiwiLS1sb2dQYXRoIiwiLS1sb2dnZXJzIiwiLS1tYXhBY3RpdmVDb25uZWN0aW9ucyIsIi0tbWF4Qnl0ZXNQZXJRdWVyeSIsIi0tbWF4RG9jdW1lbnRzUGVyUXVlcnkiLCItLW1heFNlc3Npb25zIiwiLS1tYXhUaW1lTVMiLCItLW1jcENsaWVudExvZ0xldmVsIiwiLS1tb25pdG9yaW5nU2VydmVyRmVhdHVyZXMiLCItLW1vbml0b3JpbmdTZXJ2ZXJIb3N0IiwiLS1tb25pdG9yaW5nU2VydmVyUG9ydCIsIi0tbm90aWZpY2F0aW9uVGltZW91dE1zIiwiLS1wcmV2aWV3RmVhdHVyZXMiLCItLXJlYWRPbmx5IiwiLS10ZWxlbWV0cnkiLCItLXRyYW5zcG9ydCIsIi0tdm95YWdlQXBpS2V5Il0sImVudiI6eyJNREJfTUNQX0FQSV9DTElFTlRfSUQiOiIke01EQl9NQ1BfQVBJX0NMSUVOVF9JRH0iLCJNREJfTUNQX0FQSV9DTElFTlRfU0VDUkVUIjoiJHtNREJfTUNQX0FQSV9DTElFTlRfU0VDUkVUfSIsIk1EQl9NQ1BfQ09OTkVDVElPTl9TVFJJTkciOiIke01EQl9NQ1BfQ09OTkVDVElPTl9TVFJJTkd9IiwiTURCX01DUF9WT1lBR0VfQVBJX0tFWSI6IiR7TURCX01DUF9WT1lBR0VfQVBJX0tFWX0ifX0%3D"
}
{
  "servers": {
    "mongodb-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]",
        "--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}"
      }
    }
  }
}
{
  "mcpServers": {
    "mongodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]",
        "--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}"
      }
    }
  }
}
extensions:
  "mongodb-mcp-server":
    enabled: true
    name: "mongodb-mcp-server"
    type: stdio
    cmd: "npx"
    args:
      - "-y"
      - "[email protected]"
      - "--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"
    envs:
      "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}"
    timeout: 300

Placeholders to fill from your own secret store: ${MDB_MCP_API_CLIENT_ID}, ${MDB_MCP_API_CLIENT_SECRET}, ${MDB_MCP_CONNECTION_STRING}, ${MDB_MCP_VOYAGE_API_KEY}. The registry never accepts secret values.

This is a local package: the command runs on your machine.

Quality – / 100not scored

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

protocoln/a · weight 25
  • n/a
    protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygienen/a · weight 30
  • n/a
    tools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)
stabilityn/a · weight 15
  • n/a
    stability.changes, stability.rug_pulltool list unknown
dependencies33 · weight 15
  • fail
    deps.known_vulns1 advisory to act on (malicious, or rated high or critical with a fix available): GHSA-c475-qrg2-pj4r in [email protected] (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[email protected] resolved: 416 packages

Tool list unknown · checked 2026-10-20 09:31 UTC

Tool changes

No tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 84 / 100

provenance75
livenessn/a
freshness85
hygiene95

+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. How it is computed.

Dependencies

[email protected] npm415 dependencies, resolved · MCP SDK @modelcontextprotocol/sdk 1.30.1 · advisories checked 2026-10-19

advisoryseveritypackagefixed in
GHSA-6qxp-vccf-f47hMCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverhigh@modelcontextprotocol/[email protected]MCP SDK, directfixed in 1.31.0
GHSA-c475-qrg2-pj4rbasic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking)high[email protected]indirectfixed in 6.2.1

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.

Endpoints

packageregistryversionruntimesecrets
mongodb-mcp-servernpm2.1.0–MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_CONNECTION_STRING, MDB_MCP_VOYAGE_API_KEY
docker.io/mongodb/mongodb-mcp-server:2.1.0ociunpinned–MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_CONNECTION_STRING, MDB_MCP_VOYAGE_API_KEY

Tools (0)

No tools observed. Local packages are never executed by the registry.

Schemas: list_tools.

Similar MCP servers

Official server.json
{
  "name": "io.github.mongodb-js/mongodb-mcp-server",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "version": "2.1.0",
  "packages": [
    {
      "version": "2.1.0",
      "transport": {
        "type": "stdio"
      },
      "identifier": "mongodb-mcp-server",
      "registryType": "npm",
      "packageArguments": [
        {
          "name": "--allowRequestOverrides",
          "type": "named",
          "format": "boolean",
          "description": "When set to true, allows configuration values to be overridden via request headers and query parameters."
        },
        {
          "name": "--apiClientId",
          "type": "named",
          "description": "Atlas API client ID for authentication. Required for running Atlas tools."
        },
        {
          "name": "--apiClientSecret",
          "type": "named",
          "description": "Atlas API client secret for authentication. Required for running Atlas tools."
        },
        {
          "name": "--assistantBaseUrl",
          "type": "named",
          "description": "Base URL for the MongoDB Assistant API."
        },
        {
          "name": "--atlasTemporaryDatabaseUserLifetimeMs",
          "type": "named",
          "format": "number",
          "description": "Time in milliseconds that temporary database users created when connecting to MongoDB Atlas clusters will remain active before being automatically deleted."
        },
        {
          "name": "--confirmationRequiredTools",
          "type": "named",
          "description": "Comma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation."
        },
        {
          "name": "--connectionScope",
          "type": "named",
          "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 — recommended when the HTTP transport is exposed to multiple clients without authentication. With 'global', connections are shared across all sessions and survive session rotation."
        },
        {
          "name": "--connectionString",
          "type": "named",
          "description": "MongoDB connection string for direct database connections. Optional, if not set, you'll need to call the connect tool before interacting with MongoDB data."
        },
        {
          "name": "--disableServerSideJs",
          "type": "named",
          "format": "boolean",
          "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."
        },
        {
          "name": "--disabledTools",
          "type": "named",
          "description": "Comma separated values of tool names, operation types, and/or categories of tools that will be disabled."
        },
        {
          "name": "--dryRun",
          "type": "named",
          "format": "boolean",
          "description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server."
        },
        {
          "name": "--elicitationTimeoutMs",
          "type": "named",
          "format": "number",
          "description": "Time in milliseconds the user has to respond to an elicitation request (such as a tool confirmation prompt) before it fails."
        },
        {
          "name": "--exportCleanupIntervalMs",
          "type": "named",
          "format": "number",
          "description": "Time in milliseconds between export cleanup cycles that remove expired export files."
        },
        {
          "name": "--exportTimeoutMs",
          "type": "named",
          "format": "number",
          "description": "Time in milliseconds after which an export is considered expired and eligible for cleanup."
        },
        {
          "name": "--exportsPath",
          "type": "named",
          "description": "Folder to store exported data files."
        },
        {
          "name": "--externallyManagedSessions",
          "type": "named",
          "format": "boolean",
          "description": "When true, the HTTP transport allows requests with a session ID supplied externally through the 'mcp-session-id' header. When an external ID is supplied, the initialization request is optional."
        },
        {
          "name": "--healthCheckHost",
          "type": "named",
          "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."
        },
        {
          "name": "--healthCheckPort",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--httpBodyLimit",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--httpHeaders",
          "type": "named",
          "description": "Header that the HTTP server will validate when making requests (only used when transport is 'http')."
        },
        {
          "name": "--httpHost",
          "type": "named",
          "description": "Host address to bind the HTTP server to (only used when transport is 'http')."
        },
        {
          "name": "--httpPort",
          "type": "named",
          "format": "number",
          "description": "Port number for the HTTP server (only used when transport is 'http'). Use 0 for a random port."
        },
        {
          "name": "--httpResponseType",
          "type": "named",
          "description": "The HTTP response type for tool responses: 'sse' for Server-Sent Events, 'json' for standard JSON responses."
        },
        {
          "name": "--idleTimeoutMs",
          "type": "named",
          "format": "number",
          "description": "Idle timeout for a client to disconnect (only applies to http transport)."
        },
        {
          "name": "--indexCheck",
          "type": "named",
          "format": "boolean",
          "description": "When set to true, enforces that query operations must use an index, rejecting queries that perform a collection scan."
        },
        {
          "name": "--logPath",
          "type": "named",
          "description": "Folder to store logs."
        },
        {
          "name": "--loggers",
          "type": "named",
          "description": "Comma separated values of logger types."
        },
        {
          "name": "--maxActiveConnections",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--maxBytesPerQuery",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--maxDocumentsPerQuery",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--maxSessions",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--maxTimeMS",
          "type": "named",
          "format": "number",
          "description": "The maximum time in milliseconds that operations are allowed to run on the MongoDB server. When set, this value is passed as the maxTimeMS option to read operations such as find, aggregate, and count."
        },
        {
          "name": "--mcpClientLogLevel",
          "type": "named",
          "description": "Minimum severity level for log messages forwarded to the MCP client."
        },
        {
          "name": "--monitoringServerFeatures",
          "type": "named",
          "description": "Features to expose on the monitoring server (only used when transport is 'http' and monitoringServerHost/monitoringServerPort are set)."
        },
        {
          "name": "--monitoringServerHost",
          "type": "named",
          "description": "Host address to bind the monitoring HTTP server to (only used when transport is 'http'). If provided, `monitoringServerPort` must also be set."
        },
        {
          "name": "--monitoringServerPort",
          "type": "named",
          "format": "number",
          "description": "Port number for the monitoring HTTP server (only used when transport is 'http'). If provided, `monitoringServerHost` must also be set."
        },
        {
          "name": "--notificationTimeoutMs",
          "type": "named",
          "format": "number",
          "description": "Notification timeout for a client to be aware of disconnect (only applies to http transport)."
        },
        {
          "name": "--previewFeatures",
          "type": "named",
          "description": "Comma separated values of preview features that are enabled."
        },
        {
          "name": "--readOnly",
          "type": "named",
          "format": "boolean",
          "description": "When set to true, only allows read, connect, and metadata operation types, disabling create/update/delete operations."
        },
        {
          "name": "--telemetry",
          "type": "named",
          "description": "When set to disabled, disables telemetry collection."
        },
        {
          "name": "--transport",
          "type": "named",
          "description": "Either 'stdio' or 'http'."
        },
        {
          "name": "--voyageApiKey",
          "type": "named",
          "description": "API key for Voyage AI embeddings service (required for creating Atlas Local deployments with auto-embed vector search capabilities)."
        }
      ],
      "environmentVariables": [
        {
          "name": "MDB_MCP_ALLOW_REQUEST_OVERRIDES",
          "format": "boolean",
          "description": "When set to true, allows configuration values to be overridden via request headers and query parameters."
        },
        {
          "name": "MDB_MCP_API_CLIENT_ID",
          "format": "string",
          "isSecret": true,
          "description": "Atlas API client ID for authentication. Required for running Atlas tools."
        },
        {
          "name": "MDB_MCP_API_CLIENT_SECRET",
          "format": "string",
          "isSecret": true,
          "description": "Atlas API client secret for authentication. Required for running Atlas tools."
        },
        {
          "name": "MDB_MCP_ASSISTANT_BASE_URL",
          "format": "string",
          "description": "Base URL for the MongoDB Assistant API."
        },
        {
          "name": "MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS",
          "format": "number",
          "description": "Time in milliseconds that temporary database users created when connecting to MongoDB Atlas clusters will remain active before being automatically deleted."
        },
        {
          "name": "MDB_MCP_CONFIRMATION_REQUIRED_TOOLS",
          "format": "string",
          "description": "Comma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation."
        },
        {
          "name": "MDB_MCP_CONNECTION_SCOPE",
          "format": "string",
          "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 — recommended when the HTTP transport is exposed to multiple clients without authentication. With 'global', connections are shared across all sessions and survive session rotation."
        },
        {
          "name": "MDB_MCP_CONNECTION_STRING",
          "format": "string",
          "isSecret": true,
          "description": "MongoDB connection string for direct database connections. Optional, if not set, you'll need to call the connect tool before interacting with MongoDB data."
        },
        {
          "name": "MDB_MCP_DISABLE_SERVER_SIDE_JS",
          "format": "boolean",
          "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."
        },
        {
          "name": "MDB_MCP_DISABLED_TOOLS",
          "format": "string",
          "description": "Comma separated values of tool names, operation types, and/or categories of tools that will be disabled."
        },
        {
          "name": "MDB_MCP_DRY_RUN",
          "format": "boolean",
          "description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server."
        },
        {
          "name": "MDB_MCP_ELICITATION_TIMEOUT_MS",
          "format": "number",
          "description": "Time in milliseconds the user has to respond to an elicitation request (such as a tool confirmation prompt) before it fails."
        },
        {
          "name": "MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS",
          "format": "number",
          "description": "Time in milliseconds between export cleanup cycles that remove expired export files."
        },
        {
          "name": "MDB_MCP_EXPORT_TIMEOUT_MS",
          "format": "number",
          "description": "Time in milliseconds after which an export is considered expired and eligible for cleanup."
        },
        {
          "name": "MDB_MCP_EXPORTS_PATH",
          "format": "string",
          "description": "Folder to store exported data files."
        },
        {
          "name": "MDB_MCP_EXTERNALLY_MANAGED_SESSIONS",
          "format": "boolean",
          "description": "When true, the HTTP transport allows requests with a session ID supplied externally through the 'mcp-session-id' header. When an external ID is supplied, the initialization request is optional."
        },
        {
          "name": "MDB_MCP_HEALTH_CHECK_HOST",
          "format": "string",
          "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."
        },
        {
          "name": "MDB_MCP_HEALTH_CHECK_PORT",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_HTTP_BODY_LIMIT",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_HTTP_HEADERS",
          "format": "string",
          "description": "Header that the HTTP server will validate when making requests (only used when transport is 'http')."
        },
        {
          "name": "MDB_MCP_HTTP_HOST",
          "format": "string",
          "description": "Host address to bind the HTTP server to (only used when transport is 'http')."
        },
        {
          "name": "MDB_MCP_HTTP_PORT",
          "format": "number",
          "description": "Port number for the HTTP server (only used when transport is 'http'). Use 0 for a random port."
        },
        {
          "name": "MDB_MCP_HTTP_RESPONSE_TYPE",
          "format": "string",
          "description": "The HTTP response type for tool responses: 'sse' for Server-Sent Events, 'json' for standard JSON responses."
        },
        {
          "name": "MDB_MCP_IDLE_TIMEOUT_MS",
          "format": "number",
          "description": "Idle timeout for a client to disconnect (only applies to http transport)."
        },
        {
          "name": "MDB_MCP_INDEX_CHECK",
          "format": "boolean",
          "description": "When set to true, enforces that query operations must use an index, rejecting queries that perform a collection scan."
        },
        {
          "name": "MDB_MCP_LOG_PATH",
          "format": "string",
          "description": "Folder to store logs."
        },
        {
          "name": "MDB_MCP_LOGGERS",
          "format": "string",
          "description": "Comma separated values of logger types."
        },
        {
          "name": "MDB_MCP_MAX_ACTIVE_CONNECTIONS",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_MAX_BYTES_PER_QUERY",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_MAX_DOCUMENTS_PER_QUERY",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_MAX_SESSIONS",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_MAX_TIME_M_S",
          "format": "number",
          "description": "The maximum time in milliseconds that operations are allowed to run on the MongoDB server. When set, this value is passed as the maxTimeMS option to read operations such as find, aggregate, and count."
        },
        {
          "name": "MDB_MCP_MCP_CLIENT_LOG_LEVEL",
          "format": "string",
          "description": "Minimum severity level for log messages forwarded to the MCP client."
        },
        {
          "name": "MDB_MCP_MONITORING_SERVER_FEATURES",
          "format": "string",
          "description": "Features to expose on the monitoring server (only used when transport is 'http' and monitoringServerHost/monitoringServerPort are set)."
        },
        {
          "name": "MDB_MCP_MONITORING_SERVER_HOST",
          "format": "string",
          "description": "Host address to bind the monitoring HTTP server to (only used when transport is 'http'). If provided, `monitoringServerPort` must also be set."
        },
        {
          "name": "MDB_MCP_MONITORING_SERVER_PORT",
          "format": "number",
          "description": "Port number for the monitoring HTTP server (only used when transport is 'http'). If provided, `monitoringServerHost` must also be set."
        },
        {
          "name": "MDB_MCP_NOTIFICATION_TIMEOUT_MS",
          "format": "number",
          "description": "Notification timeout for a client to be aware of disconnect (only applies to http transport)."
        },
        {
          "name": "MDB_MCP_PREVIEW_FEATURES",
          "format": "string",
          "description": "Comma separated values of preview features that are enabled."
        },
        {
          "name": "MDB_MCP_READ_ONLY",
          "format": "boolean",
          "description": "When set to true, only allows read, connect, and metadata operation types, disabling create/update/delete operations."
        },
        {
          "name": "MDB_MCP_TELEMETRY",
          "format": "string",
          "description": "When set to disabled, disables telemetry collection."
        },
        {
          "name": "MDB_MCP_TRANSPORT",
          "format": "string",
          "description": "Either 'stdio' or 'http'."
        },
        {
          "name": "MDB_MCP_VOYAGE_API_KEY",
          "format": "string",
          "isSecret": true,
          "description": "API key for Voyage AI embeddings service (required for creating Atlas Local deployments with auto-embed vector search capabilities)."
        }
      ]
    },
    {
      "transport": {
        "type": "stdio"
      },
      "identifier": "docker.io/mongodb/mongodb-mcp-server:2.1.0",
      "registryType": "oci",
      "packageArguments": [
        {
          "name": "--allowRequestOverrides",
          "type": "named",
          "format": "boolean",
          "description": "When set to true, allows configuration values to be overridden via request headers and query parameters."
        },
        {
          "name": "--apiClientId",
          "type": "named",
          "description": "Atlas API client ID for authentication. Required for running Atlas tools."
        },
        {
          "name": "--apiClientSecret",
          "type": "named",
          "description": "Atlas API client secret for authentication. Required for running Atlas tools."
        },
        {
          "name": "--assistantBaseUrl",
          "type": "named",
          "description": "Base URL for the MongoDB Assistant API."
        },
        {
          "name": "--atlasTemporaryDatabaseUserLifetimeMs",
          "type": "named",
          "format": "number",
          "description": "Time in milliseconds that temporary database users created when connecting to MongoDB Atlas clusters will remain active before being automatically deleted."
        },
        {
          "name": "--confirmationRequiredTools",
          "type": "named",
          "description": "Comma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation."
        },
        {
          "name": "--connectionScope",
          "type": "named",
          "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 — recommended when the HTTP transport is exposed to multiple clients without authentication. With 'global', connections are shared across all sessions and survive session rotation."
        },
        {
          "name": "--connectionString",
          "type": "named",
          "description": "MongoDB connection string for direct database connections. Optional, if not set, you'll need to call the connect tool before interacting with MongoDB data."
        },
        {
          "name": "--disableServerSideJs",
          "type": "named",
          "format": "boolean",
          "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."
        },
        {
          "name": "--disabledTools",
          "type": "named",
          "description": "Comma separated values of tool names, operation types, and/or categories of tools that will be disabled."
        },
        {
          "name": "--dryRun",
          "type": "named",
          "format": "boolean",
          "description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server."
        },
        {
          "name": "--elicitationTimeoutMs",
          "type": "named",
          "format": "number",
          "description": "Time in milliseconds the user has to respond to an elicitation request (such as a tool confirmation prompt) before it fails."
        },
        {
          "name": "--exportCleanupIntervalMs",
          "type": "named",
          "format": "number",
          "description": "Time in milliseconds between export cleanup cycles that remove expired export files."
        },
        {
          "name": "--exportTimeoutMs",
          "type": "named",
          "format": "number",
          "description": "Time in milliseconds after which an export is considered expired and eligible for cleanup."
        },
        {
          "name": "--exportsPath",
          "type": "named",
          "description": "Folder to store exported data files."
        },
        {
          "name": "--externallyManagedSessions",
          "type": "named",
          "format": "boolean",
          "description": "When true, the HTTP transport allows requests with a session ID supplied externally through the 'mcp-session-id' header. When an external ID is supplied, the initialization request is optional."
        },
        {
          "name": "--healthCheckHost",
          "type": "named",
          "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."
        },
        {
          "name": "--healthCheckPort",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--httpBodyLimit",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--httpHeaders",
          "type": "named",
          "description": "Header that the HTTP server will validate when making requests (only used when transport is 'http')."
        },
        {
          "name": "--httpHost",
          "type": "named",
          "description": "Host address to bind the HTTP server to (only used when transport is 'http')."
        },
        {
          "name": "--httpPort",
          "type": "named",
          "format": "number",
          "description": "Port number for the HTTP server (only used when transport is 'http'). Use 0 for a random port."
        },
        {
          "name": "--httpResponseType",
          "type": "named",
          "description": "The HTTP response type for tool responses: 'sse' for Server-Sent Events, 'json' for standard JSON responses."
        },
        {
          "name": "--idleTimeoutMs",
          "type": "named",
          "format": "number",
          "description": "Idle timeout for a client to disconnect (only applies to http transport)."
        },
        {
          "name": "--indexCheck",
          "type": "named",
          "format": "boolean",
          "description": "When set to true, enforces that query operations must use an index, rejecting queries that perform a collection scan."
        },
        {
          "name": "--logPath",
          "type": "named",
          "description": "Folder to store logs."
        },
        {
          "name": "--loggers",
          "type": "named",
          "description": "Comma separated values of logger types."
        },
        {
          "name": "--maxActiveConnections",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--maxBytesPerQuery",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--maxDocumentsPerQuery",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--maxSessions",
          "type": "named",
          "format": "number",
          "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."
        },
        {
          "name": "--maxTimeMS",
          "type": "named",
          "format": "number",
          "description": "The maximum time in milliseconds that operations are allowed to run on the MongoDB server. When set, this value is passed as the maxTimeMS option to read operations such as find, aggregate, and count."
        },
        {
          "name": "--mcpClientLogLevel",
          "type": "named",
          "description": "Minimum severity level for log messages forwarded to the MCP client."
        },
        {
          "name": "--monitoringServerFeatures",
          "type": "named",
          "description": "Features to expose on the monitoring server (only used when transport is 'http' and monitoringServerHost/monitoringServerPort are set)."
        },
        {
          "name": "--monitoringServerHost",
          "type": "named",
          "description": "Host address to bind the monitoring HTTP server to (only used when transport is 'http'). If provided, `monitoringServerPort` must also be set."
        },
        {
          "name": "--monitoringServerPort",
          "type": "named",
          "format": "number",
          "description": "Port number for the monitoring HTTP server (only used when transport is 'http'). If provided, `monitoringServerHost` must also be set."
        },
        {
          "name": "--notificationTimeoutMs",
          "type": "named",
          "format": "number",
          "description": "Notification timeout for a client to be aware of disconnect (only applies to http transport)."
        },
        {
          "name": "--previewFeatures",
          "type": "named",
          "description": "Comma separated values of preview features that are enabled."
        },
        {
          "name": "--readOnly",
          "type": "named",
          "format": "boolean",
          "description": "When set to true, only allows read, connect, and metadata operation types, disabling create/update/delete operations."
        },
        {
          "name": "--telemetry",
          "type": "named",
          "description": "When set to disabled, disables telemetry collection."
        },
        {
          "name": "--transport",
          "type": "named",
          "description": "Either 'stdio' or 'http'."
        },
        {
          "name": "--voyageApiKey",
          "type": "named",
          "description": "API key for Voyage AI embeddings service (required for creating Atlas Local deployments with auto-embed vector search capabilities)."
        }
      ],
      "environmentVariables": [
        {
          "name": "MDB_MCP_ALLOW_REQUEST_OVERRIDES",
          "format": "boolean",
          "description": "When set to true, allows configuration values to be overridden via request headers and query parameters."
        },
        {
          "name": "MDB_MCP_API_CLIENT_ID",
          "format": "string",
          "isSecret": true,
          "description": "Atlas API client ID for authentication. Required for running Atlas tools."
        },
        {
          "name": "MDB_MCP_API_CLIENT_SECRET",
          "format": "string",
          "isSecret": true,
          "description": "Atlas API client secret for authentication. Required for running Atlas tools."
        },
        {
          "name": "MDB_MCP_ASSISTANT_BASE_URL",
          "format": "string",
          "description": "Base URL for the MongoDB Assistant API."
        },
        {
          "name": "MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS",
          "format": "number",
          "description": "Time in milliseconds that temporary database users created when connecting to MongoDB Atlas clusters will remain active before being automatically deleted."
        },
        {
          "name": "MDB_MCP_CONFIRMATION_REQUIRED_TOOLS",
          "format": "string",
          "description": "Comma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation."
        },
        {
          "name": "MDB_MCP_CONNECTION_SCOPE",
          "format": "string",
          "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 — recommended when the HTTP transport is exposed to multiple clients without authentication. With 'global', connections are shared across all sessions and survive session rotation."
        },
        {
          "name": "MDB_MCP_CONNECTION_STRING",
          "format": "string",
          "isSecret": true,
          "description": "MongoDB connection string for direct database connections. Optional, if not set, you'll need to call the connect tool before interacting with MongoDB data."
        },
        {
          "name": "MDB_MCP_DISABLE_SERVER_SIDE_JS",
          "format": "boolean",
          "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."
        },
        {
          "name": "MDB_MCP_DISABLED_TOOLS",
          "format": "string",
          "description": "Comma separated values of tool names, operation types, and/or categories of tools that will be disabled."
        },
        {
          "name": "MDB_MCP_DRY_RUN",
          "format": "boolean",
          "description": "When true, runs the server in dry mode: dumps configuration and enabled tools, then exits without starting the server."
        },
        {
          "name": "MDB_MCP_ELICITATION_TIMEOUT_MS",
          "format": "number",
          "description": "Time in milliseconds the user has to respond to an elicitation request (such as a tool confirmation prompt) before it fails."
        },
        {
          "name": "MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS",
          "format": "number",
          "description": "Time in milliseconds between export cleanup cycles that remove expired export files."
        },
        {
          "name": "MDB_MCP_EXPORT_TIMEOUT_MS",
          "format": "number",
          "description": "Time in milliseconds after which an export is considered expired and eligible for cleanup."
        },
        {
          "name": "MDB_MCP_EXPORTS_PATH",
          "format": "string",
          "description": "Folder to store exported data files."
        },
        {
          "name": "MDB_MCP_EXTERNALLY_MANAGED_SESSIONS",
          "format": "boolean",
          "description": "When true, the HTTP transport allows requests with a session ID supplied externally through the 'mcp-session-id' header. When an external ID is supplied, the initialization request is optional."
        },
        {
          "name": "MDB_MCP_HEALTH_CHECK_HOST",
          "format": "string",
          "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."
        },
        {
          "name": "MDB_MCP_HEALTH_CHECK_PORT",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_HTTP_BODY_LIMIT",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_HTTP_HEADERS",
          "format": "string",
          "description": "Header that the HTTP server will validate when making requests (only used when transport is 'http')."
        },
        {
          "name": "MDB_MCP_HTTP_HOST",
          "format": "string",
          "description": "Host address to bind the HTTP server to (only used when transport is 'http')."
        },
        {
          "name": "MDB_MCP_HTTP_PORT",
          "format": "number",
          "description": "Port number for the HTTP server (only used when transport is 'http'). Use 0 for a random port."
        },
        {
          "name": "MDB_MCP_HTTP_RESPONSE_TYPE",
          "format": "string",
          "description": "The HTTP response type for tool responses: 'sse' for Server-Sent Events, 'json' for standard JSON responses."
        },
        {
          "name": "MDB_MCP_IDLE_TIMEOUT_MS",
          "format": "number",
          "description": "Idle timeout for a client to disconnect (only applies to http transport)."
        },
        {
          "name": "MDB_MCP_INDEX_CHECK",
          "format": "boolean",
          "description": "When set to true, enforces that query operations must use an index, rejecting queries that perform a collection scan."
        },
        {
          "name": "MDB_MCP_LOG_PATH",
          "format": "string",
          "description": "Folder to store logs."
        },
        {
          "name": "MDB_MCP_LOGGERS",
          "format": "string",
          "description": "Comma separated values of logger types."
        },
        {
          "name": "MDB_MCP_MAX_ACTIVE_CONNECTIONS",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_MAX_BYTES_PER_QUERY",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_MAX_DOCUMENTS_PER_QUERY",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_MAX_SESSIONS",
          "format": "number",
          "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."
        },
        {
          "name": "MDB_MCP_MAX_TIME_M_S",
          "format": "number",
          "description": "The maximum time in milliseconds that operations are allowed to run on the MongoDB server. When set, this value is passed as the maxTimeMS option to read operations such as find, aggregate, and count."
        },
        {
          "name": "MDB_MCP_MCP_CLIENT_LOG_LEVEL",
          "format": "string",
          "description": "Minimum severity level for log messages forwarded to the MCP client."
        },
        {
          "name": "MDB_MCP_MONITORING_SERVER_FEATURES",
          "format": "string",
          "description": "Features to expose on the monitoring server (only used when transport is 'http' and monitoringServerHost/monitoringServerPort are set)."
        },
        {
          "name": "MDB_MCP_MONITORING_SERVER_HOST",
          "format": "string",
          "description": "Host address to bind the monitoring HTTP server to (only used when transport is 'http'). If provided, `monitoringServerPort` must also be set."
        },
        {
          "name": "MDB_MCP_MONITORING_SERVER_PORT",
          "format": "number",
          "description": "Port number for the monitoring HTTP server (only used when transport is 'http'). If provided, `monitoringServerHost` must also be set."
        },
        {
          "name": "MDB_MCP_NOTIFICATION_TIMEOUT_MS",
          "format": "number",
          "description": "Notification timeout for a client to be aware of disconnect (only applies to http transport)."
        },
        {
          "name": "MDB_MCP_PREVIEW_FEATURES",
          "format": "string",
          "description": "Comma separated values of preview features that are enabled."
        },
        {
          "name": "MDB_MCP_READ_ONLY",
          "format": "boolean",
          "description": "When set to true, only allows read, connect, and metadata operation types, disabling create/update/delete operations."
        },
        {
          "name": "MDB_MCP_TELEMETRY",
          "format": "string",
          "description": "When set to disabled, disables telemetry collection."
        },
        {
          "name": "MDB_MCP_TRANSPORT",
          "format": "string",
          "description": "Either 'stdio' or 'http'."
        },
        {
          "name": "MDB_MCP_VOYAGE_API_KEY",
          "format": "string",
          "isSecret": true,
          "description": "API key for Voyage AI embeddings service (required for creating Atlas Local deployments with auto-embed vector search capabilities)."
        }
      ]
    }
  ],
  "repository": {
    "url": "https://github.com/mongodb-js/mongodb-mcp-server",
    "source": "github"
  },
  "description": "MongoDB Model Context Protocol Server"
}