MongoDB Atlas MCP Server
About
Manage MongoDB Atlas projects, including cluster creation, user management, and network access configuration.
Details
- Author
- mongodb-developer
- Categories
- Database
Jump to
Setup
Install MongoDB Atlas MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/mongodb-developer/mcp-mongodb-atlas
Follow the installation instructions in the repository README, then restart your MCP client.
📢COMMUNITY SERVER NOTICE
This is a community-maintained MCP Server. 👉 For theofficialMongoDB MCP Server, visitmongodb-js/mongodb-mcp-serverAn MCP (Model Context Protocol) server for managing MongoDB Atlas projects. This package provides tools for creating and managing MongoDB Atlas clusters, users, and network access through the MCP interface.
Watch the demonstration video to see MongoDB Atlas MCP Server in action.
- create_atlas_cluster- Create a new MongoDB Atlas cluster in an existing project
- setup_atlas_network_access- Configure network access for an Atlas project
- create_atlas_user- Create a new database user with atlasAdmin role
- get_atlas_connection_strings- Retrieve connection strings for a cluster
- list_atlas_projects- List all Atlas projects accessible with the provided API key
- list_atlas_clusters- List all clusters in a specific Atlas project
You can run the Atlas Project Manager directly from the command line:
# Using environment variables export ATLAS_PUBLIC_KEY="your-public-key" export ATLAS_PRIVATE_KEY="your-private-key" npx mcp-mongodb-atlas # Or passing keys as arguments npx mcp-mongodb-atlas "your-public-key" "your-private-key"
To use with Cline in VSCode, add the server config to your MCP settings file:
{ "mcpServers": { "atlas": { "command": "npx", "args": ["mcp-mongodb-atlas"], "env": { "ATLAS_PUBLIC_KEY": "your-public-key", "ATLAS_PRIVATE_KEY": "your-private-key" }, "disabled": false, "autoApprove": [] } } }
- macOS:~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Windows:%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
- Linux:~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
To use with Cursor, go to "Cursor settings" > "MCP" in the settings and add a new server with the following configuration:
- Name:atlas(or any name you prefer)
- Command:npx mcp-mongodb-atlas
- Arguments: provide your API keys as arguments
## Suggested Command npx mcp-mongodb-atlas <public_key> <private_key>
Newer versions can set the~/.cursor/mcp.jsonfile with:
{ "mcpServers": { "atlas": { "command": "npx", "args": ["mcp-mongodb-atlas"], "env": { "ATLAS_PUBLIC_KEY": "your-public-key", "ATLAS_PRIVATE_KEY": "your-private-key" }, "disabled": false, "autoApprove": [] } } }
- Environment Variables(Optional):
- ATLAS_PUBLIC_KEY: Your MongoDB Atlas public key
- ATLAS_PRIVATE_KEY: Your MongoDB Atlas private key
To use with Claude Desktop, add the server config:
On macOS:~/Library/Application Support/Claude/claude_desktop_config.jsonOn Windows:%APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "atlas": { "command": "npx", "args": ["mcp-mongodb-atlas"], "env": { "ATLAS_PUBLIC_KEY": "your-public-key", "ATLAS_PRIVATE_KEY": "your-private-key" } } } }
You need MongoDB Atlas API keys to use this tool. To create API keys:
- Log in to your MongoDB Atlas account
- Go to Access Manager > API Keys
- Create a new API key with the appropriate permissions
- Save the public and private keys
Clone the repository and install dependencies:
git clone https://github.com/mongodb-developer/mcp-mongodb-atlas.git cd mcp-mongodb-atlas npm install
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector:
The Inspector will provide a URL to access debugging tools in your browser.
Official Airtable MCP server and skills for working with bases, records, workflows, and business operations from AI agents.
MCP Server For Apache Doris, an MPP-based real-time data warehouse.
Official MCP Server from Atlan which enables you to bring the power of metadata to your AI tools
Query Onchain data, like ERC20 tokens, transaction history, smart contract state.
Read and write access to your Baserow tables.
Introspect and query your apps deployed to Convex.
Interact with the data stored in Couchbase clusters using natural language.
Maritime intelligence for tracking vessels, analysing ports, and exploring ship data.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



