What problem does it solve?
This guide helps users who have a MongoDB MCP server installed but lack the required environment variables or credentials, and it prevents unsafe or incorrect configuration when connecting agentic clients to MongoDB or Atlas.
Core Features & Use Cases
- Detect and interpret existing configuration: Checks MDB_MCP_* environment variables and identifies partial or complete setups.
- Three authentication flows: Walks users through Connection String setup, Atlas Service Account creation (recommended for Atlas), and Atlas Local via Docker for local development.
- Secure profile management: Instructs how to store credentials in a restricted ~/.mcp-env file, source it from shell profiles, and verify variables without exposing secrets.
- Operational checks and troubleshooting: Validates Docker presence for Atlas Local, enforces Atlas API Access List guidance, and explains read-only vs read-write modes for safe operations.
Quick Start
Guide me to check existing MDB_MCP environment variables, then walk me through adding a secure ~/.mcp-env and sourcing it for either a connection string, an Atlas service account, or Atlas Local with Docker.