Connect to MongoDB databases for document-based data storage and retrieval. Perfect for flexible schema designs and scalable applications.
How to Use
1
Install MongoDB locally or use MongoDB Atlas
2
Get your connection string (URI)
3
Add the configuration with your MongoDB URI
4
Ensure your database is accessible from your machine
服务器配置
{
"mcpServers": {
"mongodb": {
"env": {
"MONGODB_URI": "mongodb://localhost:27017"
},
"args": [
"-y",
"@mongodb/mcp-server"
],
"command": "npx"
}
}
}