# mongodb-atlas-mcp-server

> mongodb-atlas-mcp-server is an open-source MCP server for databases. MCP server giving AI clients tools to manage MongoDB Atlas clusters, users and backups. It is available on CLI, API and Self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted
- **Repository:** https://github.com/montumodi/mongodb-atlas-mcp-server
- **GitHub stars:** 3
- **License:** MIT
- **Categories:** [databases](https://ai-powered.com/categories/databases), [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure)
- **Listing updated:** 2026-12-01

## About

This server lets an MCP-compatible AI client work with MongoDB Atlas through the Atlas administration API rather than the database itself. Once connected, the client can call tools covering clusters, database users, projects, organizations, backups, alerts, access lists and Atlas Search indexes.

It is built on the mongodb-atlas-api-client package and communicates over stdin and stdout. Authentication uses an Atlas API public and private key pair plus a project ID, read from environment variables, so the credentials stay on the machine running the server.

The server suits platform engineers and developers who want an assistant to inspect or administer Atlas resources, such as reviewing cluster configuration, managing IP access entries or triggering restore jobs, without writing the API calls by hand.

## Features

- **Cluster management tools:** Create, read, update and delete clusters, plus advanced configuration and failover testing.
- **User and access administration:** Manage database users, Atlas users, teams and IP access lists from the assistant.
- **Backup and restore jobs:** List snapshots and start snapshot restore jobs for replica sets.
- **Search index control:** List, create, update and delete Atlas Search indexes and analyzers.
- **Events and alerts:** Query project and organization events and acknowledge alerts.
- **Data Lake operations:** Manage Data Lakes and retrieve query logs.

## Good for

- Inspecting cluster settings and advanced configuration through a chat assistant
- Adding or cleaning up IP access list entries for a project
- Creating database users with scoped roles during onboarding
- Starting a snapshot restore job after an incident
- Reviewing recent project events and acknowledging alerts

## Tools

From the tool list in its README, going by the names, 6 of 60 tools delete data and 14 change data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `user_get` (name suggests: reads): Get a database user by username
- `user_get_all` (name suggests: reads): List all database users
- `user_create` (name suggests: changes): Create a database user
- `user_update` (name suggests: changes): Update a database user
- `user_delete` (name suggests: deletes): Delete a database user
- `cluster_get` (name suggests: reads): Get cluster details
- `cluster_get_all` (name suggests: reads): List clusters
- `cluster_create` (name suggests: changes): Create cluster
- `cluster_update` (name suggests: changes): Update cluster
- `cluster_delete` (name suggests: deletes): Delete cluster
- `cluster_get_advanced_configuration` (name suggests: reads): Get processArgs (advanced config)
- `cluster_update_advanced_configuration` (name suggests: changes): Update processArgs (advanced config)
- `cluster_test_primary_failover`: Initiate a test primary failover
- `project_get_by_id` (name suggests: reads): Get project by ID
- `project_get_by_name` (name suggests: reads): Get project by name
- `project_get_all` (name suggests: reads): List projects
- `project_create` (name suggests: changes): Create project
- `project_delete` (name suggests: deletes): Delete project
- `project_get_teams` (name suggests: reads): List teams for a project
- `project_remove_user` (name suggests: deletes): Remove a user from a project
- `project_assign_teams` (name suggests: changes): Assign teams to a project
- `cloud_backup_get_snapshots` (name suggests: reads): List cloud backup snapshots (replicaset)
- `cloud_backup_get_snapshot` (name suggests: reads): Get a specific snapshot
- `cloud_backup_get_restore_job` (name suggests: reads): Get a snapshot restore job
- `cloud_backup_create_restore_job` (name suggests: changes): Create a snapshot restore job
- `organization_get_by_id` (name suggests: reads): Get organization by ID
- `organization_get_all` (name suggests: reads): List organizations
- `organization_get_users` (name suggests: reads): List users in an organization
- `organization_get_projects` (name suggests: reads): List projects in an organization
- `organization_delete` (name suggests: deletes): Delete organization
- `organization_rename` (name suggests: changes): Rename organization
- `organization_invite` (name suggests: changes): Invite users to organization
- `project_access_list_get_all` (name suggests: reads): List IP access list entries
- `project_access_list_get` (name suggests: reads): Get a specific access list entry
- `project_access_list_create` (name suggests: reads): Add entries to access list
- `project_access_list_update` (name suggests: reads): Upsert access list entries (POST semantics)
- `project_access_list_delete` (name suggests: reads): Delete an access list entry
- `project_whitelist_get_all` (name suggests: reads): List whitelist entries
- `project_whitelist_get` (name suggests: reads): Get a whitelist entry
- `project_whitelist_create` (name suggests: changes): Add whitelist entries
- `project_whitelist_update` (name suggests: changes): Update whitelist entries
- `project_whitelist_delete` (name suggests: deletes): Delete a whitelist entry
- `events_get_all` (name suggests: reads): List project events
- `events_get` (name suggests: reads): Get event by ID (project scope)
- `events_get_by_org` (name suggests: reads): Get event by ID for an organization
- `events_get_all_by_org` (name suggests: reads): List organization events
- `atlas_search_get_all` (name suggests: reads): List indexes for a collection
- `atlas_search_create` (name suggests: reads): Create an index
- `atlas_search_get` (name suggests: reads): Get index by ID
- `atlas_search_update` (name suggests: reads): Update index by ID
- `atlas_search_delete` (name suggests: reads): Delete index by ID
- `atlas_search_get_all_analyzers` (name suggests: reads): List analyzers
- `atlas_search_upsert_analyzer` (name suggests: reads): Create/Update analyzers
- `atlas_user_get_by_name` (name suggests: reads): Get Atlas user by username
- `atlas_user_get_by_id` (name suggests: reads): Get Atlas user by ID
- `atlas_user_get_all` (name suggests: reads): List Atlas users for the project
- `atlas_user_create` (name suggests: changes): Create Atlas user
- `atlas_user_update` (name suggests: changes): Update Atlas user
- `alert_get_all` (name suggests: reads): List project alerts
- `alert_get` (name suggests: reads): Get alert by ID

## FAQ

### What credentials does mongodb-atlas-mcp-server need?

An Atlas API public key, private key and project ID, supplied as environment variables. The base URL can optionally be overridden.

### How does mongodb-atlas-mcp-server connect to AI clients?

It implements the Model Context Protocol and communicates over stdin and stdout, so any MCP-compatible client can use it.

### What license is mongodb-atlas-mcp-server released under?

The repository is licensed under MIT.

### Is mongodb-atlas-mcp-server free?

Yes. mongodb-atlas-mcp-server is open source, so you can use and self-host it for free.

### What are the best alternatives to mongodb-atlas-mcp-server?

The closest alternatives to mongodb-atlas-mcp-server are Mongodb MCP Server, mcp-mongo-server, mongo-mcp, mongodb-lens and Databricks MCP Server.

## Where this comes from

- Description: written from the project's README.

## Alternatives

- [Mongodb MCP Server](https://ai-powered.com/mcp/mongodb-mcp-server): Mongodb MCP Server is an open-source MCP server for databases.
- [mcp-mongo-server](https://ai-powered.com/mcp/mcp-mongo-server): mcp-mongo-server is an open-source MCP server for databases.
- [mongo-mcp](https://ai-powered.com/mcp/mongo-mcp): mongo-mcp is an open-source MCP server for databases.
- [mongodb-lens](https://ai-powered.com/mcp/mongodb-lens): mongodb-lens is an open-source MCP server for databases.
- [Databricks MCP Server](https://ai-powered.com/mcp/databricks-mcp-server): Databricks MCP Server is an open-source MCP server for databases.
- [Mongo Scout MCP](https://ai-powered.com/mcp/mongo-scout-mcp): Mongo Scout MCP is an open-source MCP server for databases.
- [Elasticsearch MCP Server](https://ai-powered.com/mcp/elasticsearch-mcp-server): Elasticsearch MCP Server is an open-source MCP server for databases.
- [postgres-mcp](https://ai-powered.com/mcp/postgres-mcp-4): postgres-mcp is an open-source MCP server for databases.

---
Source: https://ai-powered.com/mcp/mongodb-atlas-mcp-server
