mongodb-mcp-server
CommunityMCP server by mongodb-js · updated · ★ 1.1k
MongoDB Model Context Protocol Server mongodb-mcp-server is a community project by mongodb-js, not verified by a company domain.
Last commit in the past day
Apache-2.0: permissive, fine for commercial use
Published package or server URL, 1,146 stars, original repository
Not checked yet. What we check
Install mongodb-mcp-server
Built from the published package, never by AIclaude mcp add mongodb-mcp-server -- npx -y mongodb-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mongodb-mcp-server -- npx -y mongodb-mcp-server{
"mcpServers": {
"mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mongodb-mcp-server npx -y mongodb-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mongodb-mcp-server block.
Alternatives to mongodb-mcp-server
All alternatives →MCP server for interacting with the Supabase platform
Self-learning vector database for Node.js — hybrid search, Graph RAG, FlashAttention-3, HNSW, 50+ attention mechanisms
MCP Toolbox for Databases enables your agent to connect to your database.
Shared proxy-aware fetch and httpClient factory for the MongoDB MCP server
Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.
WhoDB CLI - database management tool with TUI, programmatic commands, and MCP server
mongodb-mcp-server: common questions
How do I install mongodb-mcp-server?
In Claude Code run claude mcp add mongodb-mcp-server -- npx -y mongodb-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mongodb-mcp-server the official server?
mongodb-mcp-server is a community project by mongodb-js, not verified by a company domain.
Is mongodb-mcp-server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is mongodb-mcp-server safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality B. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to mongodb-mcp-server?
Similar MCP servers: Supabase, Ruvector, MCP Toolbox for Databases, MCP Fetch.
Does mongodb-mcp-server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
