Skip to content
MCP server

mongodb-atlas-mcp-server

MCP server giving AI clients tools to manage MongoDB Atlas clusters, users and backups

mongodb-atlas-mcp-server is an open-source MCP server for databases. It is available on CLI, API and Self-hosted.

Pricing
Open source
Platforms
CLI, API, Self-hosted
What it can do
Can delete data (6 tools)
GitHub stars
3
Last commit
Language
JavaScript

Similar MCP servers

About mongodb-atlas-mcp-server

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.

Tools this server provides (60)

Taken from the project documentation; the running server may differ.

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_getName suggests: reads
Get a database user by username
user_get_allName suggests: reads
List all database users
user_createName suggests: changes
Create a database user
user_updateName suggests: changes
Update a database user
user_deleteName suggests: deletes
Delete a database user
cluster_getName suggests: reads
Get cluster details
cluster_get_allName suggests: reads
List clusters
cluster_createName suggests: changes
Create cluster
cluster_updateName suggests: changes
Update cluster
cluster_deleteName suggests: deletes
Delete cluster
cluster_get_advanced_configurationName suggests: reads
Get processArgs (advanced config)
cluster_update_advanced_configurationName suggests: changes
Update processArgs (advanced config)
cluster_test_primary_failover
Initiate a test primary failover
project_get_by_idName suggests: reads
Get project by ID
project_get_by_nameName suggests: reads
Get project by name
project_get_allName suggests: reads
List projects
project_createName suggests: changes
Create project
project_deleteName suggests: deletes
Delete project
project_get_teamsName suggests: reads
List teams for a project
project_remove_userName suggests: deletes
Remove a user from a project
project_assign_teamsName suggests: changes
Assign teams to a project
cloud_backup_get_snapshotsName suggests: reads
List cloud backup snapshots (replicaset)
cloud_backup_get_snapshotName suggests: reads
Get a specific snapshot
cloud_backup_get_restore_jobName suggests: reads
Get a snapshot restore job
cloud_backup_create_restore_jobName suggests: changes
Create a snapshot restore job
organization_get_by_idName suggests: reads
Get organization by ID
organization_get_allName suggests: reads
List organizations
organization_get_usersName suggests: reads
List users in an organization
organization_get_projectsName suggests: reads
List projects in an organization
organization_deleteName suggests: deletes
Delete organization
organization_renameName suggests: changes
Rename organization
organization_inviteName suggests: changes
Invite users to organization
project_access_list_get_allName suggests: reads
List IP access list entries
project_access_list_getName suggests: reads
Get a specific access list entry
project_access_list_createName suggests: reads
Add entries to access list
project_access_list_updateName suggests: reads
Upsert access list entries (POST semantics)
project_access_list_deleteName suggests: reads
Delete an access list entry
project_whitelist_get_allName suggests: reads
List whitelist entries
project_whitelist_getName suggests: reads
Get a whitelist entry
project_whitelist_createName suggests: changes
Add whitelist entries
project_whitelist_updateName suggests: changes
Update whitelist entries
project_whitelist_deleteName suggests: deletes
Delete a whitelist entry
events_get_allName suggests: reads
List project events
events_getName suggests: reads
Get event by ID (project scope)
events_get_by_orgName suggests: reads
Get event by ID for an organization
events_get_all_by_orgName suggests: reads
List organization events
atlas_search_get_allName suggests: reads
List indexes for a collection
atlas_search_createName suggests: reads
Create an index
atlas_search_getName suggests: reads
Get index by ID
atlas_search_updateName suggests: reads
Update index by ID
atlas_search_deleteName suggests: reads
Delete index by ID
atlas_search_get_all_analyzersName suggests: reads
List analyzers
atlas_search_upsert_analyzerName suggests: reads
Create/Update analyzers
atlas_user_get_by_nameName suggests: reads
Get Atlas user by username
atlas_user_get_by_idName suggests: reads
Get Atlas user by ID
atlas_user_get_allName suggests: reads
List Atlas users for the project
atlas_user_createName suggests: changes
Create Atlas user
atlas_user_updateName suggests: changes
Update Atlas user
alert_get_allName suggests: reads
List project alerts
alert_getName suggests: reads
Get alert by ID

What it does

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

Pricing

Open source

Free and open source under the MIT license.

mongodb-atlas-mcp-server 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.

How AIPoweredBot checks servers