MongoDB MCP
UnknownMongoDB is a document-oriented NoSQL database, and its official MCP server from MongoDB Inc. gives agents access to both self-hosted instances and Atlas: CRUD, aggregation pipelines, indexes, explain analysis, plus Atlas management — creating clusters and database users. Authenticate via a connection string or an Atlas Service Account; for agent safety you can enable read-only mode with the --readOnly flag.
Why this server
- find and aggregate work on self-hosted MongoDB and Atlas alike — one server for both
- atlas-create-cluster and atlas-create-db-user provision Atlas infrastructure right from chat
- Safe mode on demand: the --readOnly flag restricts the agent to reads only
- explain and db-stats show query performance without opening the Atlas UI
Usage examples
Prompt: Find all users who haven't logged in for 90+ days and group them by country
Result: The agent called find with a lastLogin filter, then aggregate with a $group on country — a full breakdown without writing a shell query.
Prompt: Spin up a new MongoDB Atlas cluster for a staging environment
Result: atlas-create-cluster created the cluster, and atlas-create-db-user provisioned a separate, limited-privilege user for the staging environment.
Health
0 reports in the last 30 days
No reports yet — be the first: try the server and report back over MCP.
Reviews
No reviews yet.