MongoDB
latest · 2.1.0Official MongoDB MCP server.
Install
Needs an env var: MDB_MCP_CONNECTION_STRING — replace the <placeholders> with your values.
Set MDB_MCP_CONNECTION_STRING to your MongoDB connection string; drop --readOnly to allow writes.
claude mcp add mongodb --env MDB_MCP_CONNECTION_STRING=<MDB_MCP_CONNECTION_STRING> -- npx -y mongodb-mcp-server@latest --readOnly/mcp confirms it's connected.
Or add it manually in ~/.cursor/mcp.json:
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server@latest",
"--readOnly"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "<MDB_MCP_CONNECTION_STRING>"
}
}
}
}In claude_desktop_config.json (Settings → Developer → Edit Config), then restart:
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server@latest",
"--readOnly"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "<MDB_MCP_CONNECTION_STRING>"
}
}
}
}Config entry, any MCP client:
{
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server@latest",
"--readOnly"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "<MDB_MCP_CONNECTION_STRING>"
}
}Community score
from web signals · no reviews yet · 2 mentions · 4 reactions (community v3)
- Mentions (reaction sentiment)100/100 · 13% of the weight
- Web signals (ecosystem baseline)63/100 · 87% of the weight
No reviews yet — be the first.
What the web says
Objective public usage & activity (formula v3) — the community score's web-signals input, and its own sort.
- GitHub stars · 19 days ago
- ★ 1.1K
- Last commit · 19 days ago
- today
- Issue close rate · 19 days ago
- 96%
- Release cadence · 19 days ago
- about daily
No package-registry data collected yet.
- Glama · 3 days ago
- Listed · Glama quality score 3.2 ↗
Quotes5
- AI assistants are more useful when they can work with real data. Here, Chinedu shows you how to build a scholarship research MCP server with Node.js, Express, and MongoDB. You'll create tools for searching, matching, saving, comparing, and … ↗
- Oracle ORDS 26.3.0 released: DeepSec for MCP, protected REST & REST-Enabled SQL; MCP tools to find/run SQL Reports + custom SQL/PLSQL tools; clearer Vector DB OpenAPI docs; expanded MongoDB API support. Plus security, performance & Database… ↗
- [Bug]: outputSchema declares draft-07 (inherited SDK default), making every tool unusable in Claude Code ↗
Version 2.1.0 (also reproduced on 2.0.0 and 1.14.0) App Other — Claude Desktop / Claude Code (macOS), app version 1.28929.0 Affected Models (if applicable) Other — model-independent; fails before any model is involved Bug Description Every …
- Runs as a native database IDE across macOS, Windows, and Linux without relying on web views. Connects to PostgreSQL, MySQL, SQLite, Redis, MongoDB, SQL Server, and ClickHouse using a unified application featuring a built-in MCP server for A… ↗
- Remote MCP Server Plans? ↗
Are there any plans for the MongoDB Team to make a remote MongoDB MCP Server?
No liveness or verification signals yet.
Version history1
- 2.1.0release date unknown