MongoDB Atlas is an MCP server that connects AI assistants and developer applications to MongoDB Atlas using the Application Development Kit (ADK) and mongodb-mcp-server. It enables developers, data engineers, and backend teams to perform scalable data management through RESTful CRUD operations directly from their development environments. By utilizing MongoDB Atlas service account credentials, the server maintains secure communication through client ID and client secret authentication. The server integrates with google-adk to streamline configuration and deployment, offering built-in logging and error handling for simplified troubleshooting. Development teams use this server to query collections, update documents, and automate database interactions without switching between external database management tools and their coding workflows. The architecture exposes standardized interfaces that allow external agents to interact with cloud-hosted NoSQL databases, making it possible to execute database tasks in automated development loops while enforcing service-level access controls.
Category: Cloud & Infrastructure
Tags: atlas, cloud, database, mongodb, nosql
google-adk package installed on your system. 2. Clone the repository and navigate into the project directory: bash git clone https://github.com/ani5959/mongodb_mcp_with_adk.git cd mongodb_mcp_with_adk 3. Add the server definition to your MCP client configuration file: json { "mcpServers": { "MongoDB": { "command": "npx", "args": [ "-y", "mongodb-mcp-server", "--apiClientId", "your-atlas-service-accounts-client-id", "--apiClientSecret", "your-atlas-service-accounts-client-secret" ] } } } 4. Replace the client ID and secret placeholders with your MongoDB Atlas service account credentials. 5. Run the web interface using adk web to access the local server UI at http://localhost:8080.Part of MCP Servers
You can clone the repository from GitHub and ensure the google-adk prerequisite is available. Then, configure your MCP client using npx to execute mongodb-mcp-server with your Atlas service account client ID and client secret flags.
The server connects applications to MongoDB Atlas clusters. It exposes RESTful endpoints for CRUD operations, manages authentication through service account credentials, and provides error logging to streamline database queries and updates.
You need MongoDB Atlas service account credentials, specifically an apiClientId and an apiClientSecret, passed as arguments in your client configuration to authenticate API requests securely.
Yes, this MCP server implementation is open-source software distributed under the MIT license on GitHub.