Mongodb MCP Server
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
Mongodb MCP Server is an open-source mcp server by mongodb-js, written mainly in TypeScript, with 1,155 GitHub stars and the Apache-2.0 license. Its code was last updated Oct 30, 2026. The latest npm release is mongodb-mcp-server 3.3.0, published Nov 9, 2026, with 136,655 downloads last week.
Scan summary: scanned Nov 5, 2026 at commit a6facd4. Seen able to run shell commands, connect to the internet. Scan policy
How to install Mongodb MCP Server
Built from the start command in the project's README: npx -y mongodb-mcp-server@latest --readOnly. Check the README for required keys or settings.
claude mcp add mongodb-mcp-server -- npx -y mongodb-mcp-server@latest --readOnly{
"mcpServers": {
"mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server@latest",
"--readOnly"
]
}
}
}{
"mcpServers": {
"mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server@latest",
"--readOnly"
]
}
}
}code --add-mcp '{"name":"mongodb-mcp-server","command":"npx","args":["-y","mongodb-mcp-server@latest","--readOnly"]}'What Mongodb MCP Server can touch
- Seen in this scan, either in the code or while it ran.Run shell commandsFound in the code by our scan
- Our checks did not find this. The tool may still do it.Run dynamic codeNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or write filesNot seen in this scan
- Our checks did not find this. The tool may still do it.Read environment and secretsNot seen in this scan
- Our checks did not find this. The tool may still do it.Control a web browserNot seen in this scan
- Not checked directly. Its own description suggests it does this.Connect to databasesLikely, from its own description
- Our checks did not find this. The tool may still do it.Read or send messagesNot seen in this scan
- Our checks did not find this. The tool may still do it.Touch money or tradingNot seen in this scan
- Seen in this scan, either in the code or while it ran.Connect to the internetFound in the code by our scan
"Not seen" means our checks did not find it, and the tool may still do it. Covers commit a6facd4, Nov 5, 2026. See the scan policy.
Before you install Mongodb MCP Server
AgenticMart scanned Mongodb MCP Server on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What it can access
- An MCP server is a program your AI app starts and talks to. A local one runs with your user's permissions: it can see the files, environment variables and network your account can.
- Based on its description and topics, it likely needs to connect to a database.
Before you install
- Give it a read-only database user unless it must write.
- Pin the version you reviewed instead of always installing the latest release.
- Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
- Maintained by mongodb-js on GitHub, 1,155 stars and 298 forks. Popularity is not proof of safety.
- Last code change: Oct 30, 2026.
- Open-source license: Apache-2.0.
Mongodb MCP Server is an open-source mcp server by mongodb-js, written mainly in TypeScript. A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
At a glance
- Stars
- 1.2k
- Forks
- 298
- Language
- TypeScript
- License
- Apache-2.0
- Created
- Apr 2025
- Last update
- Oct 30, 2026
- Type
- MCP Server
- Price
- Free
Topics
Questions about Mongodb MCP Server
What is Mongodb MCP Server?
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
Who maintains Mongodb MCP Server?
Mongodb MCP Server is maintained by mongodb-js on GitHub (mongodb-js/mongodb-mcp-server). AgenticMart lists it from public repository data.
Is Mongodb MCP Server safe to use?
AgenticMart scanned Mongodb MCP Server on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What license does Mongodb MCP Server use?
It is published under the Apache-2.0 license.
Mongodb MCP Server alternatives
View more →Similar mcp servers in Database Management, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Mongodb MCP Server (this page) mongodb-js | 1.2k | Apache-2.0 | Oct 30, 2026 | Scanned, no flagged issues |
| Codebase Memory MCP DeusData | 48k | MIT | Nov 1, 2026 | Scanned, see report |
| Xerj xerj-org | 19k | Apache-2.0 | Nov 1, 2026 | Scanned, no flagged issues |
| MCP Toolbox googleapis | 17k | Apache-2.0 | Nov 1, 2026 | Scanned, no flagged issues |
| Nightingale ccfos | 13k | Apache-2.0 | Oct 30, 2026 | Scanned, no flagged issues |
| Dbhub bytebase | 3.8k | MIT | Oct 26, 2026 | Scanned, no flagged issues |