MongoDB Atlas MCP Server
OfficialMongoDB Atlas MCP Server
Ein MCP-Server (Model Context Protocol) zur Verwaltung von MongoDB Atlas-Projekten. Dieses Paket bietet Tools zum Erstellen und Verwalten von MongoDB Atlas-Clustern, Benutzern und Netzwerkzugriff über die MCP-Schnittstelle.
Demo-Video

Sehen Sie sich das Demonstrationsvideo an, um den MongoDB Atlas MCP Server in Aktion zu sehen.
Related MCP server: MongoDB MCP Server
Merkmale
MCP-Tools
create_atlas_cluster– Erstellen Sie einen neuen MongoDB Atlas-Cluster in einem vorhandenen Projektsetup_atlas_network_access- Netzwerkzugriff für ein Atlas-Projekt konfigurierencreate_atlas_user– Erstellen Sie einen neuen Datenbankbenutzer mit der Rolle „atlasAdmin“.get_atlas_connection_strings- Verbindungszeichenfolgen für einen Cluster abrufenlist_atlas_projects– Listet alle Atlas-Projekte auf, auf die mit dem bereitgestellten API-Schlüssel zugegriffen werden kannlist_atlas_clusters– Listet alle Cluster in einem bestimmten Atlas-Projekt auf
Installation
npm install mcp-mongodb-atlasVerwendung
Als Befehlszeilentool
Sie können den Atlas Project Manager direkt von der Befehlszeile aus ausführen:
# 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"Mit Cline (VSCode-Erweiterung)
Um es mit Cline in VSCode zu verwenden, fügen Sie die Serverkonfiguration zu Ihrer MCP-Einstellungsdatei hinzu:
{
"mcpServers": {
"atlas": {
"command": "npx",
"args": ["mcp-mongodb-atlas"],
"env": {
"ATLAS_PUBLIC_KEY": "your-public-key",
"ATLAS_PRIVATE_KEY": "your-private-key"
},
"disabled": false,
"autoApprove": []
}
}
}Die MCP-Einstellungsdatei befindet sich unter:
macOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonWindows:
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.jsonLinux:
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Mit Cursor
Zur Verwendung mit Cursor gehen Sie in den Einstellungen zu „Cursor-Einstellungen“ > „MCP“ und fügen Sie einen neuen Server mit der folgenden Konfiguration hinzu:
Name :
atlas(oder ein beliebiger Name Ihrer Wahl)Befehl :
npx mcp-mongodb-atlasArgumente : Geben Sie Ihre API-Schlüssel als Argumente an
## Suggested Command
npx mcp-mongodb-atlas <public_key> <private_key>Neuere Versionen können die Datei ~/.cursor/mcp.json mit Folgendem festlegen:
{
"mcpServers": {
"atlas": {
"command": "npx",
"args": ["mcp-mongodb-atlas"],
"env": {
"ATLAS_PUBLIC_KEY": "your-public-key",
"ATLAS_PRIVATE_KEY": "your-private-key"
},
"disabled": false,
"autoApprove": []
}
}
}Umgebungsvariablen (optional):
ATLAS_PUBLIC_KEY: Ihr öffentlicher MongoDB Atlas-SchlüsselATLAS_PRIVATE_KEY: Ihr privater MongoDB Atlas-Schlüssel
Mit Claude Desktop
Zur Verwendung mit Claude Desktop fügen Sie die Serverkonfiguration hinzu:
Unter macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Unter 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"
}
}
}
}API-Schlüssel
Sie benötigen MongoDB Atlas API-Schlüssel, um dieses Tool zu verwenden. So erstellen Sie API-Schlüssel:
Melden Sie sich bei Ihrem MongoDB Atlas-Konto an
Gehen Sie zu Access Manager > API-Schlüssel
Erstellen Sie einen neuen API-Schlüssel mit den entsprechenden Berechtigungen
Speichern Sie die öffentlichen und privaten Schlüssel
Entwicklung
Klonen Sie das Repository und installieren Sie Abhängigkeiten:
git clone https://github.com/mongodb-developer/mcp-mongodb-atlas.git
cd mcp-mongodb-atlas
npm installErstellen Sie das Projekt:
npm run buildFür die Entwicklung mit automatischem Rebuild:
npm run watchDebuggen
Da MCP-Server über stdio kommunizieren, kann das Debuggen eine Herausforderung darstellen. Wir empfehlen die Verwendung des MCP Inspector:
npm run inspectorDer Inspector stellt eine URL für den Zugriff auf Debugging-Tools in Ihrem Browser bereit.
Lizenz
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables large language models to interact directly with MongoDB databases, allowing them to query collections, inspect schemas, and manage data through natural language.27MIT

MongoDB MCP Serverofficial
AlicenseBqualityAmaintenanceA Model Context Protocol server that enables AI assistants to interact with MongoDB Atlas resources through natural language, supporting database operations and Atlas management functions.2874,6851,108Apache 2.0- AlicenseAqualityBmaintenanceA Model Context Protocol server that enables interaction with MongoDB databases and MongoDB Atlas, allowing users to perform database operations and manage Atlas resources through natural language.2274,685Apache 2.0
- AlicenseCqualityDmaintenanceA Model Context Protocol server that provides access to the MongoDB Atlas API, enabling management of clusters, users, projects, backups, and more through MCP tools.76153MIT
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
An MCP server that integrates with Discord to provide AI-powered features.
Cloud-hosted MCP server for durable AI memory
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mongodb-developer/mcp-mongodb-atlas'
If you have feedback or need assistance with the MCP directory API, please join our Discord server