InnerVault

mongodb-mcp-server

Stale Official MCP Registry, io.github.mongodb-js

MongoDB Model Context Protocol Server

Open the source (opens github.com) https://github.com/mongodb-js/mongodb-mcp-server

Before you use it

  • Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
  • Needs credentials: MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_CONNECTION_STRING, MDB_MCP_CONNECTION_STRINGS, MDB_MCP_VOYAGE_API_KEY. Use a key with the least access you can.

What it is

MCP servers from io.github.mongodb-js.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

How to get it

npm package (stdio)

mongodb-mcp-server@3.3.0

From the server's entry in the official MCP Registry

oci package (stdio)

docker.io/mongodb/mongodb-mcp-server:3.3.0

From the server's entry in the official MCP Registry

Settings it asks for

  • MDB_MCP_AGGREGATION_COUNT_MAX_TIME_MS_CAP · Deprecated. Use `aggregationCountTimeoutMs` instead.
  • MDB_MCP_AGGREGATION_COUNT_TIMEOUT_MS · 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…
  • MDB_MCP_ALLOW_REQUEST_OVERRIDES · When set to true, allows configuration values to be overridden via request headers and query parameters.
  • MDB_MCP_API_CLIENT_ID secret · Atlas API client ID for authentication. Required for running Atlas tools.
  • MDB_MCP_API_CLIENT_SECRET secret · Atlas API client secret for authentication. Required for running Atlas tools.
  • MDB_MCP_ASSISTANT_BASE_URL · Base URL for the MongoDB Assistant API.
  • MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS · 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 · Comma separated values of tool names that require user confirmation before execution. Requires the client to support elicitation.
  • MDB_MCP_CONNECTION_IDLE_TIMEOUT_MS · 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…
  • MDB_MCP_CONNECTION_SCOPE · Visibility scope for MongoDB connections created at runtime. With 'session' (the default), each MCP session only sees the connections it created (plus the…
  • MDB_MCP_CONNECTION_STRING secret · MongoDB connection string for direct database connections, exposed under the connectionId "preconfigured". Optional, if not set, you'll need to call the…
  • MDB_MCP_CONNECTION_STRINGS secret · MongoDB connection strings keyed by name, as a JSON object (e.g. {"preconfigured": "mongodb://...", "analytics": "mongodb://..."}). Each name becomes a…

Related

  1. GitHub MCP server

    MCP servers

    GitHub's official MCP server. It lets an agent read and work with repositories, issues and pull requests.

    Hand-checked InnerVault (hand-checked), GitHub 34.3k ★MIT

    https://api.githubcopilot.com/mcp/
  2. Apify MCP server

    MCP servers

    Lets an agent run Apify's ready-made scrapers to pull data from websites, search engines, maps and social platforms.

    Hand-checked InnerVault (hand-checked), Apify 16.0k ★MIT

  3. Official MCP Registry

    MCP servers

    The MCP project's own registry of public MCP servers, so you can look for a connector before building one.

    Hand-checked InnerVault (hand-checked), MCP project Moving from MIT to Apache-2.0

  4. MCP reference servers

    MCP servers

    Small example servers from the MCP project (filesystem, git, fetch, memory and more) that show how MCP works.

    Hand-checked InnerVault (hand-checked), MCP project Moving from MIT to Apache-2.0

  5. Anthropic's guide to adding MCP servers to Claude Code, with examples of local and remote servers.

    Hand-checked InnerVault (hand-checked), Anthropic Anthropic documentation

  6. Playwright MCP

    MCP servers

    Lets an agent drive a real browser: open pages, click, fill in forms and read what's on screen.

    Hand-checked InnerVault (hand-checked), Microsoft Apache-2.0

    claude mcp add playwright npx @playwright/mcp@latest