MongoDB Atlas MCP by usefulapi
v1.1.0Read Atlas projects, clusters, users, alerts and IP access; add IP access entries in MongoDB Atlas.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mongodb_list_projects List projects
List the Atlas projects (groups) the service account can see, with id, name and cluster count. Good first call to find a project id. Atlas API: GET /api/atlas/v2/groups.
| Parameter | Type | Description |
|---|---|---|
items_per_page | integer | Items per page (1-500). |
page | integer | Page number, starting at 1. |
mongodb_get_project Get project
Get one Atlas project: name, organization id, creation date and region settings. Atlas API: GET /api/atlas/v2/groups/{groupId}.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd. |
mongodb_list_clusters List clusters
List the clusters in one Atlas project with state, MongoDB version, cluster type and region. Atlas API: GET /api/atlas/v2/groups/{groupId}/clusters.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd. |
items_per_page | integer | Items per page (1-500). |
page | integer | Page number, starting at 1. |
mongodb_get_cluster Get cluster
Get one cluster: state, MongoDB version, instance size, replication and connection strings' host names (no passwords). Atlas API: GET /api/atlas/v2/groups/{groupId}/clusters/{clusterName}.
| Parameter | Type | Description |
|---|---|---|
cluster_name * | string | Cluster name, e.g. Cluster0. |
project_id * | string | Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd. |
mongodb_list_database_users List database users
List the database users of one project: usernames, auth database and roles. Passwords are never returned. Atlas API: GET /api/atlas/v2/groups/{groupId}/databaseUsers.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd. |
items_per_page | integer | Items per page (1-500). |
page | integer | Page number, starting at 1. |
mongodb_list_ip_access_entries List IP access list
List the IP access list entries of one project: allowed IP addresses and CIDR blocks, with comments and expiry. Atlas API: GET /api/atlas/v2/groups/{groupId}/accessList.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd. |
items_per_page | integer | Items per page (1-500). |
page | integer | Page number, starting at 1. |
mongodb_list_alerts List alerts
List the alerts of one project: event type, status (OPEN, TRACKING, CLOSED, ...), creation and resolution times. Atlas API: GET /api/atlas/v2/groups/{groupId}/alerts.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd. |
items_per_page | integer | Items per page (1-500). |
page | integer | Page number, starting at 1. |
mongodb_add_ip_access_entry Add IP access entry
Add one IP address or CIDR block to a project's IP access list, which lets that network reach the project's clusters. Give exactly one of ip_address or cidr_block. This widens network access: confirm the address first. Atlas API: POST /api/atlas/v2/groups/{groupId}/accessList.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Atlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd. |
cidr_block | string | A CIDR block, e.g. 203.0.113.0/24. Give this OR ip_address. |
comment | string | Short note stored with the entry (max 80 characters). |
delete_after_date | string | ISO 8601 time when Atlas removes the entry, e.g. 2026-12-31T00:00:00Z. |
ip_address | string | A single IPv4 or IPv6 address, e.g. 203.0.113.7. |