An MCP (Model Context Protocol) server for managing MongoDB Atlas projects, providing tools to create clusters, manage users, configure network access, retrieve connection strings, and list projects/clusters. Version 0.1.10 is the latest stable release, actively maintained by MongoDB. It differentiates from direct Atlas API usage by offering a standardized MCP interface compatible with AI assistants like Claude, Cline, and Cursor. The package includes TypeScript type definitions and supports both environment variable and command-line argument authentication.
npm install mcp-mongodb-atlasNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation, environment variable setup, CLI invocation, and integration with MCP inspector or Claude Desktop.
Upgrade Node.js to v16 or later.
Ensure API key has 'Project Owner' role at minimum for cluster creation.
Use ATLAS_PUBLIC_KEY and ATLAS_PRIVATE_KEY environment variables instead of command-line arguments.
Run 'npx mcp-mongodb-atlas' instead of bare command, or install with 'npm install -g mcp-mongodb-atlas'.
Use 'import { AtlasMCP } from 'mcp-mongodb-atlas'' or run via CLI; avoid 'require'.Set ATLAS_PUBLIC_KEY and ATLAS_PRIVATE_KEY environment variables, or pass them as CLI arguments.