mongodb-mcp-server
Verified Safeby mongodb-js
Overview
Enabling AI assistants to interact with MongoDB Atlas and local deployments through natural language, providing data context and management capabilities.
Installation
npx mongodb-mcp-server --transport http --loggers stderr mcp --previewFeatures searchEnvironment Variables
- MDB_MCP_API_CLIENT_ID
- MDB_MCP_API_CLIENT_SECRET
- MDB_MCP_CONNECTION_STRING
- MDB_MCP_VOYAGE_API_KEY
- DO_NOT_TRACK
- MDB_MCP_READ_ONLY
- MDB_MCP_PREVIEW_FEATURES
Security Notes
The server exposes powerful database and Atlas management tools (create, update, delete operations, IP access list modifications). These operations are protected by a user confirmation mechanism and can be selectively disabled via configuration (`readOnly`, `disabledTools`). Sensitive data is redacted in logs. Untrusted data in tool responses is wrapped with clear warnings to prevent LLMs from executing embedded instructions. HTTP transport explicitly logs warnings when binding to public network interfaces and includes basic header validation. It employs secure password generation for temporary Atlas database users. The use of the Model Context Protocol (MCP) means external AI models will interact with these tools, so careful configuration of access controls and enabled tools is crucial.
Similar Servers
mcp-typescript-template
This server acts as a template for building remote Model Context Protocol (MCP) servers using TypeScript, handling MCP tool registration and session management over HTTP.
toolhive-registry-server
The ToolHive Registry Server acts as a central metadata hub for enterprise Model Context Protocol (MCP) server governance and discovery.
climcp
Provides a command-line interface for human and automated interaction with Model Context Protocol (MCP) servers, facilitating exploration, CI automation, and debugging.
universal-mcp-servers
Provides secure, Model Context Protocol (MCP)-compliant access to file system operations (read, write, move, list, search, get metadata, edit files) for AI development tools, including dynamic access control.