MongoDB Atlas
by mongodb-js
Connect to a MongoDB cluster (self-hosted or Atlas), run CRUD + aggregations, and query Atlas Vector Search indexes. Official MongoDB MCP. Source: mongodb-js/mongodb-mcp-server. Atlas Control-plane alt:…
Connection string for MongoDB (e.g., mongodb+srv://user:[email protected]/db). If unset, the agent must call the connect tool first.
MongoDB Atlas Service Account Client ID, required only to enable Atlas Admin API tools. Obtain: cloud.mongodb.com -> Access Manager -> Organization Access -> Applications -> Service Accounts
MongoDB Atlas Service Account Client Secret, paired with MDB_MCP_API_CLIENT_ID
Restricts to read/connect/metadata operations only. Default false -- recommended true for a safer default; without it, destructive tools like drop-database and delete-many are exposed behind only a soft confirmation guard.
Send usage telemetry to MongoDB. Set to 'disabled' to opt out. Default enabled.
stdio or http. Default stdio.
Reject queries doing a COLLSCAN instead of using an index. Default false.
Comma-separated tool names/categories to disable (e.g., 'insertOne,drop-database'). Default empty.
Path to a JSON config file (precedence: CLI > env > config file).
Voyage AI key, only for Atlas Local auto-embed vector-search deployments.
Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.
Default template
# Optional extra environment variables, one KEY=VALUE per line. # Lines starting with # are ignored: uncomment and edit what you need. # Documented options: https://github.com/mongodb-js/mongodb-mcp-server # Route the connector through an HTTP proxy, if your network needs one. # HTTPS_PROXY=http://proxy.example:8080 # Turn up logging for troubleshooting (read by many servers; the name varies). # LOG_LEVEL=debug
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
npx -y [email protected]