Enables LLMs to interact with MongoDB databases through a complete suite of CRUD operations, administrative tasks, and index management tools. It supports database and collection handling, aggregation pipelines, and comprehensive server monitoring via the Model Context Protocol.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.MONGODB_URI— "": "mongodb://localhost:27017",MONGODB_DEFAULT_DB— "": "your_database_name",MONGODB_MIN_POOL_SIZE— Minimum connection pool size (default: 0)MONGODB_MAX_POOL_SIZE— Maximum connection pool size (default: 100)MONGODB_MAX_IDLE_TIME_MS— Maximum idle time in milliseconds (default: 30000)MONGODB_SERVER_SELECTION_TIMEOUT_MS— Server selection timeout (default: 30000)MONGODB_SOCKET_TIMEOUT_MS— Socket timeout (default: 0 - no timeout)MONGODB_CONNECT_TIMEOUT_MS— Connection timeout (default: 20000)MONGODB_MAX_DOCUMENTS_LIMITMONGODB_DEFAULT_BATCH_SIZEMONGODB_TLS_ENABLED— Enable TLS connection (default: false)MONGODB_TLS_CA_FILEMONGODB_TLS_CERT_FILEMONGODB_TLS_KEY_FILEMONGODB_AUTH_SOURCE— Authentication source (default: admin)MONGODB_AUTH_MECHANISM— Authentication mechanism (SCRAM-SHA-1, SCRAM-SHA-256, etc.)MONGODB_READ_PREFERENCE— Read preference (default: primary)MONGODB_WRITE_CONCERN_W— Write concern (default: 1)MONGODB_WRITE_CONCERN_JMONGODB_READ_CONCERN_LEVEL— Read concern level (default: local)LOG_LEVEL— "": "INFO"LOG_MAX_FILE_SIZE— Maximum log file size in bytes (default: 10MB)LOG_BACKUP_COUNT— Number of backup log files (default: 5)ENABLE_DANGEROUS_OPERATIONS— Enable potentially dangerous operations (default: false)ENABLE_ADMIN_OPERATIONS— Enable administrative operations (default: true)ENABLE_INDEX_OPERATIONS— Enable index operations (default: true)MCP_ENV[](https://m8ven.ai/mcp/441126098-mongo-mcp-1nar6u)