mongodb-mcp-server-forked
Verified Safeby officialpraise
Overview
A Model Context Protocol server for enabling AI assistants to interact with MongoDB databases and MongoDB Atlas resources through natural language.
Installation
npx -y mongodb-mcp-serverEnvironment Variables
- MDB_MCP_API_CLIENT_ID
- MDB_MCP_API_CLIENT_SECRET
- MDB_MCP_CONNECTION_STRING
- MDB_MCP_LOG_PATH
- MDB_MCP_DISABLED_TOOLS
- MDB_MCP_READ_ONLY
- MDB_MCP_INDEX_CHECK
- MDB_MCP_TELEMETRY
- DO_NOT_TRACK
Security Notes
The server uses `mongodb-redact` to hide sensitive data in logs, generates secure, expiring passwords for Atlas database users, and guides users on assigning minimal API key permissions. It features an 'indexCheck' to enforce query optimization and 'readOnly' mode for restricted access. However, like any database-interacting system, its overall security is highly dependent on how MongoDB connection strings and Atlas API credentials (client ID/secret) are configured and managed externally.
Similar Servers
mongodb-mcp-server
Provides a robust AI agent interface for interacting with MongoDB databases and MongoDB Atlas cloud services, enabling tool-calling for data management, monitoring, and search operations.
context-portal
Manages structured project context for AI assistants and developer tools, enabling Retrieval Augmented Generation (RAG) and prompt caching within IDEs.
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
opensearch-mcp-server-py
Enables AI assistants and LLMs to interact with OpenSearch clusters by providing a standardized Model Context Protocol (MCP) interface through built-in and dynamic tools.