M
Install Command
npx -y mongodb-mcp-serverClaude Desktop Config
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": ["-y", "mongodb-mcp-server"],
"env": { "MDB_MCP_CONNECTION_STRING": "mongodb+srv://..." }
}
}
}About MongoDB MCP
The official MongoDB MCP server provides a bridge between AI assistants and MongoDB, enabling comprehensive database operations through natural language.
Features
- Connect to MongoDB Atlas or local MongoDB
- Execute find, aggregate, insert, update, delete operations
- Inspect collection schemas
- Create and manage indexes
- Atlas Search integration
- Database administration tasks
Tags
mongodbnosqldatabaseatlasofficial