MongoDB
MongoDB Model Context Protocol Server
Official
The company’s official documentation names this server (MongoDB MCP Server).
- Registry name
io.github.mongodb-js/mongodb-mcp-server- Version
- 2.1.0
- Transports
- stdio
- Packages
- npm
mongodb-mcp-serverocidocker.io/mongodb/mongodb-mcp-server:2.1.0 - Repository
- github.com/mongodb-js/mongodb-mcp-server
- First published
- Aug 10, 2026
- Updated
- Aug 10, 2026
GitHub stars · Downloads
as of Oct 4, 2026- GitHub stars
- 1,140
- npm downloads
- 477,237 last month
Add it to a client
Commands and config follow each client’s own MCP docs. Some servers also need an API key or environment variables; see the server’s documentation.
Cursor
mcp.json {
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
]
}
}
} Format from Cursor’s docsGemini CLI
settings.json {
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
]
}
}
} Format from Gemini CLI’s docsVS Code
.vscode/mcp.json {
"servers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
]
}
}
} Format from VS Code’s docsClient compatibility
By transport: whether the client’s docs list a transport this server offers. It doesn’t cover sign-in or other requirements.
- Claude Code Transport supported
- Codex Transport supported
- Cursor Transport supported
- Gemini CLI Transport supported
- VS Code Client docs don’t list transports
- ChatGPT No shared transport
- Claude Client docs don’t list transports
- Cline Transport supported
- Devin Desktop Transport supported
- GitHub Copilot Client docs don’t list transports
- JetBrains AI Assistant Transport supported
- Kiro Transport supported
- OpenCode Client docs don’t list transports
- Zed Client docs don’t list transports
Sources
- Official MCP Registry registry.modelcontextprotocol.io · checked Sep 28, 2026
- MongoDB: vendor documentation mongodb.com · checked Oct 4, 2026
This data comes from the Official MCP Registry.