MongoDB Atlas MCP Server

MongoDB Atlas MCP Server is an MCP server that provides tools for managing MongoDB Atlas cloud infrastructure through AI clients. It connects directly to the MongoDB Atlas administration API, allowing developers, DevOps engineers, and database administrators to manage Atlas projects without leaving their code editors or chat assistants. Users can provision new MongoDB clusters in existing projects, list projects and clusters, retrieve database connection strings, and add administrative users with the atlasAdmin role. The server also provides capabilities to adjust project network access rules, making it possible to configure IP whitelisting alongside resource creation. By exposing these management capabilities via the Model Context Protocol, the server enables language models to orchestrate Atlas cloud operations, verify infrastructure state, and automate administrative provisioning workflows directly through standard MCP tooling.

Category: Cloud & Infrastructure

Tags: atlas, cloud-database, database-management, mongodb, nosql

Visit MongoDB Atlas MCP Server

How to install and configure MongoDB Atlas MCP Server

  1. Obtain your MongoDB Atlas Public Key and Private Key from Access Manager > API Keys in your MongoDB Atlas account. 2. In your MCP client configuration file (such as claude_desktop_config.json, Cline's settings, or ~/.cursor/mcp.json), add the server entry. 3. Configure the server definition with command npx, args ["mcp-mongodb-atlas"], and environment variables ATLAS_PUBLIC_KEY and ATLAS_PRIVATE_KEY set to your API keys. 4. Restart your MCP client to load the tools.

What you can do with MongoDB Atlas MCP Server

  • Creating a new MongoDB Atlas cluster in an existing project via conversational prompts. * Listing all available Atlas projects and active clusters accessible by the API key. * Retrieving cluster connection strings directly into the development environment for immediate application configuration. * Creating database administrative users assigned the atlasAdmin role for database management. * Configuring network access and IP whitelists for a specific Atlas project workspace.

Key facts

  • https://github.com/mongodb-developer/mcp-mongodb-atlas
  • Cloud & Infrastructure, Databases & Data Stores
  • atlas, cloud-database, database-management, mongodb, nosql

Part of MCP Servers

Related MCP servers

  • MCP KQL Server — MCP KQL Server is an MCP server that connects AI assistants to Azure Data Explorer clusters using Azure CLI authentication.…
  • MCP Media Player — MCP Media Player is an MCP server that exposes playback controls for Home Assistant media players to AI agents. It…
  • MCP Memory Keeper — MCP Memory Keeper is an MCP server that provides persistent context management and memory storage for Claude AI coding assistants.…
  • MCP Kubernetes Server — MCP Kubernetes Server is an MCP server that provides tools for managing and inspecting Kubernetes clusters directly through Large Language…
  • MCP Notes — MCP Notes is an MCP server that provides note-taking and note-management capabilities to AI models using Amazon Web Services DynamoDB…
  • MCP Neo4j Server — MCP Neo4j Server is an MCP server that provides an integration between the Neo4j graph database and Model Context Protocol…

How do I install MongoDB Atlas MCP Server?

You can install it using npx by running npx mcp-mongodb-atlas, or install it locally via npm using npm install mcp-mongodb-atlas. Add the command and your Atlas API keys to your MCP client configuration.

What can MongoDB Atlas MCP Server do?

The server allows AI clients to manage MongoDB Atlas infrastructure. It includes tools to list projects and clusters, create new clusters, retrieve cluster connection strings, create database users with admin roles, and configure project network access settings.

Which MCP clients work with MongoDB Atlas MCP Server?

The server works with standard MCP clients including Claude Desktop, Cursor, and the Cline extension for VSCode. It communicates over standard input/output (stdio) and can also run directly from the command line.

Is MongoDB Atlas MCP Server open source?

Yes, it is open source and licensed under the MIT license. You can view the source code and build it locally from its public GitHub repository.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories