
MongoDB MCP Server
MongoDB's official MCP server — Atlas and local databases as agent tools.
About
The MongoDB MCP server (mongodb-js/mongodb-mcp-server, Apache-2.0, ~1.1k stars) gives agents structured MongoDB access: query, aggregate, manage Atlas clusters, and inspect schemas.
Actively maintained (78 releases/12mo) with a clean issue record. The safe way to let agents touch your database — scoped credentials, structured tools, no raw shell.
What it can do
- Query and aggregation tools
- Atlas cluster management
- Schema inspection
- Official MongoDB
- Apache-2.0 open source
Setup
- Create a MongoDB connection string with a least-privilege user.
- Add the server to your MCP config.
- For Atlas, use an API key with scoped roles.
Prerequisites
MongoDB (Atlas or self-hosted); scoped credentials.
Use cases
Works with
Trust score — 8/10
Scored 8/10 (verified tier). Official MongoDB, Apache-2.0, actively maintained with a clean issue record. Docked for smaller adoption (~1.1k stars). Verified tier.
★ 1,142 GitHub stars
How the trust score is built
Full methodology →- Adoption · stars/downloads, log-scaled vs peers
- 6.0/10
- Maintenance · recency, releases, issue load
- 9.1/10
- Openness · license + docs
- 9.4/10
- Manual review · sanity read + red-flag check
- 8.0/10
- · 1,142 GitHub stars (log-scaled vs catalog peers)
- · last push 1d ago; 78 releases/12mo; 26 open issues
- · manual review: MongoDB's official MCP server; Atlas + local; active; license: Apache-2.0
Sources
Every fact above was checked against these sources. Where a claim comes from the provider and couldn't be independently verified, the text says so.