mongodb-js_mongodb-mcp-server
Verified Safeby MCP-Mirror
Overview
Provides a Model Context Protocol server to enable AI assistants to interact with MongoDB databases and MongoDB Atlas resources through natural language.
Installation
npx -y mongodb-mcp-server --connectionString "mongodb+srv://username:password@cluster.mongodb.net/myDatabase"Environment 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_TELEMETRY
- DO_NOT_TRACK
Security Notes
The server uses standard practices for credential management (environment variables, token-based authentication for Atlas). Sensitive information in logs is redacted using 'mongodb-redact'. Tool arguments are strongly typed with Zod schemas, mitigating injection risks. Secure password generation uses 'crypto.randomBytes'. No explicit 'eval' or direct shell execution of arbitrary user input was found. The use of EJSON for BSON type handling is safe.
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.
mcp-server-neon
The Neon MCP Server allows users to interact with and manage their Neon Postgres databases using natural language commands, acting as a bridge between AI agents/LLMs and the Neon API and database operations.
awesome-mcp-devtools
This repository serves as a curated list of developer tools, SDKs, libraries, and resources for building and interacting with Model Context Protocol (MCP) servers.
mcp-servers
A curated collection of Model Context Protocol (MCP) server configurations to integrate various developer tools and services with AI agents.