mongodb-mcp-server
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_IDsecret · Atlas API client ID for authentication. Required for running Atlas tools.MDB_MCP_API_CLIENT_SECRETsecret · 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_STRINGsecret · 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_STRINGSsecret · MongoDB connection strings keyed by name, as a JSON object (e.g. {"preconfigured": "mongodb://...", "analytics": "mongodb://..."}). Each name becomes a…
Related
-
GitHub MCP server
MCP serversGitHub's official MCP server. It lets an agent read and work with repositories, issues and pull requests.
https://api.githubcopilot.com/mcp/ -
Apify MCP server
MCP serversLets an agent run Apify's ready-made scrapers to pull data from websites, search engines, maps and social platforms.
-
Official MCP Registry
MCP serversThe MCP project's own registry of public MCP servers, so you can look for a connector before building one.
-
MCP reference servers
MCP serversSmall example servers from the MCP project (filesystem, git, fetch, memory and more) that show how MCP works.
-
Connect MCP servers to Claude Code
MCP serversAnthropic's guide to adding MCP servers to Claude Code, with examples of local and remote servers.
-
Playwright MCP
MCP serversLets an agent drive a real browser: open pages, click, fill in forms and read what's on screen.
claude mcp add playwright npx @playwright/mcp@latest