MongoDB MCP Server
MongoDB's own MCP server, maintained in the mongodb-js GitHub organisation, for working with MongoDB databases and MongoDB Atlas from an AI client.
What it does
MongoDB's own MCP server, maintained in the mongodb-js GitHub organisation, for working with MongoDB databases and MongoDB Atlas from an AI client. Run locally through npx, Docker or an interactive setup command, it takes either a connection string or Atlas service account credentials. Database tools query and aggregate documents, insert, update and delete them, manage collections and indexes, and return explain plans. Atlas tools create projects, clusters and database users, read alerts and Performance Advisor output, and handle Stream Processing resources. A read-only flag stops every create, update and delete tool from loading. MongoDB also runs an Atlas-managed copy that clients reach with OAuth.
Capabilities
- Run find queries and aggregation pipelines on MongoDB collections
- Insert, update and delete documents; create and drop collections and indexes
- Create Atlas projects, clusters and database users
- Read Atlas alerts and Performance Advisor index and slow-query suggestions
- Build, manage and remove Atlas Stream Processing workspaces and processors
- Search the MongoDB Assistant knowledge base
About
- Publisher
- MongoDB
- Tool
- MongoDB
Install
- Run this to add it to Any client:
npx -y mongodb-mcp-server@latest setup
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | MCP server | |
| Tool | MongoDB | |
| Publisher | MongoDB | source |
| Official status | OfficialMongoDB's MCP Server docs describe the server and link to the mongodb-js repository | source |
| Connection | Local or remote | source |
| Can change data | Yes | source |
| Needs an API key or sign-in | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Desktop, Cursor, Visual Studio Code, Codex | source |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 10, 2026Version 3.3.01,160 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository npm: mongodb-mcp-serverdocker: docker.io/mongodb/mongodb-mcp-server |
More from MongoDB
1 server · 10 skills
- mongodb-mcp-v3-migration (Skill)
- mongodb-atlas-stream-processing (Skill)
- mongodb-connection (Skill)
- mongodb-mcp-setup (Skill)
- mongodb-natural-language-querying (Skill)
- mongodb-qe-size-estimation (Skill)
Badge for your README
Maintain this project? Add a badge that links to this page.
[](https://kitbay.app/servers/mongodb-js-mongodb-mcp-server/)
Sources
- README (README.md)github.com/mongodb-js/mongodb-mcp-server · Backs: AI clients, Can change data, Connection, Needs an API key or sign-inNov 12, 2026
- Licence file (LICENSE)github.com/mongodb-js/mongodb-mcp-server · Backs: LicenceNov 12, 2026
- Web pagemongodb.com · Backs: Official statusNov 12, 2026
- GitHub repositorygithub.com/mongodb-js/mongodb-mcp-server · Backs: Publisher, Activity, LicenceNov 10, 2026
- MCP Registry entryio.github.mongodb-js/mongodb-mcp-server · Backs: Connection, Needs an API key or sign-inNov 10, 2026