mongodb-official
Official MongoDB MCP Server by MongoDB. Connect to MongoDB databases and Atlas clusters for querying, aggregation, and collection management.
- Connectors
- Databases
- 22
What it does and how to use it
A connector (MCP) that links Claude to an external databases tool or service, giving it access to real data and actions.
- Install the connector (command above).
- Add the service credentials/keys when asked.
- Claude can now read and act on that service directly.
Install (Claude Code)
mkdir -p .claude/mcps && curl -fsSL https://doutorai.pt/data/lib/mcps__mongodb-official.md -o .claude/mcps/mongodb-official.jsonPaste this command into the terminal, in your project folder, and the component installs automatically.
Content
{
"mcpServers": {
"mongodb-official": {
"description": "Official MongoDB MCP Server by MongoDB. Connect to MongoDB databases and Atlas clusters for querying, aggregation, and collection management.",
"command": "npx",
"args": ["-y", "mongodb-mcp-server@latest"],
"env": {
"MDB_MCP_CONNECTION_STRING": "<your-mongodb-connection-string>"
}
}
}
}
Need help with Claude Code?
Ask Dr AI - it explains things simply.
Need a tailor-made solution?
Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.
Save hours every week with AI, no hassle
Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.