Manage MongoDB Atlas projects, including cluster creation, user management, and network access configuration.
An 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 projectsetup_atlas_network_access
- Configure network access for an Atlas projectcreate_atlas_user
- Create a new database user with atlasAdmin roleget_atlas_connection_strings
- Retrieve connection strings for a clusterlist_atlas_projects
- List all Atlas projects accessible with the provided API keylist_atlas_clusters
- List all clusters in a specific Atlas projectnpm install mcp-mongodb-atlas
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": []
}
}
}
The MCP settings file is located at:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
~/.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:
atlas
(or any name you prefer)npx mcp-mongodb-atlas
## Suggested Command
npx mcp-mongodb-atlas <public_key> <private_key>
Newer versions can set the ~/.cursor/mcp.json
file 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": []
}
}
}
ATLAS_PUBLIC_KEY
: Your MongoDB Atlas public keyATLAS_PRIVATE_KEY
: Your MongoDB Atlas private keyTo use with Claude Desktop, add the server config:
On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On 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:
Clone the repository and install dependencies:
git clone https://github.com/mongodb-developer/mcp-mongodb-atlas.git
cd mcp-mongodb-atlas
npm install
Build the project:
npm run build
For development with auto-rebuild:
npm run watch
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
MIT
Real-time PostgreSQL & Supabase database schema access for AI-IDEs via Model Context Protocol. Provides live database context through secure SSE connections with three powerful tools: get_schema, analyze_database, and check_schema_alignment.
Interact with the microCMS headless CMS API, enabling AI assistants to manage content.
A local, high-performance memory server for AI agents, built with SQLite, vector embeddings, and a knowledge graph. Packaged for npm and Docker.
Search, Query and interact with data in your Milvus Vector Database.
a lightweight, local RAG memory store to record, retrieve, update, delete, and visualize persistent "memories" across sessions—perfect for developers working with multiple AI coders (like Windsurf, Cursor, or Copilot) or anyone who wants their AI to actually remember them.
Hydrolix time-series datalake integration providing schema exploration and query capabilities to LLM-based workflows.
A TypeScript and SQLite-based server enabling AI to remember personal data for personalized communication.
A read-only MCP server for querying live data from Square using the CData JDBC Driver.
An MCP server for NocoDB, the open-source Airtable alternative. It allows interaction with your NocoDB instance via API.
Connect to any relational database, and be able to get valid SQL, and ask questions like what does a certain column prefix mean.