MCP server

MongoDB
MCPDocuments the agent can query without a second console.
MongoDB’s official MCP. Find, aggregate, and — if you allow it — update.
latest·Apache-2.0·Updated this quarter·github.com/mongodb-js/mongodb-mcp-server·Transport: stdio
Claude CodeDesktop
Scanned
claude_desktop_config.json
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "mongodb://…"
}
}
}
}By MongoDB
Spec
What the server actually exposes.
find
readQuery a collection.
aggregate
readRun a pipeline.
insert-many
writeWrite documents after you confirm.
Guardrails
- Connection string in env
- Prefer a read user
- Writes are named tools
mongodb-mcp.mcp/tools
Tools
- read
find
Query a collection.
- read
aggregate
Run a pipeline.
- write
insert-many
Write documents after you confirm.
Last call
{ "ok": true,
"tool": "find",
"rows": 12 }Other servers worth installing
Discussion
No notes yet. Be the first hunter to report back.
