MongoDB Atlas MCP by usefulapi

v1.1.0
io.usefulapi/mongodb Checked 7 hours ago Published 2 days ago

Read 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.

ParameterTypeDescription
items_per_pageintegerItems per page (1-500).
pageintegerPage 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}.

ParameterTypeDescription
project_id *stringAtlas 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.

ParameterTypeDescription
project_id *stringAtlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd.
items_per_pageintegerItems per page (1-500).
pageintegerPage 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}.

ParameterTypeDescription
cluster_name *stringCluster name, e.g. Cluster0.
project_id *stringAtlas 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.

ParameterTypeDescription
project_id *stringAtlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd.
items_per_pageintegerItems per page (1-500).
pageintegerPage 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.

ParameterTypeDescription
project_id *stringAtlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd.
items_per_pageintegerItems per page (1-500).
pageintegerPage 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.

ParameterTypeDescription
project_id *stringAtlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd.
items_per_pageintegerItems per page (1-500).
pageintegerPage 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.

ParameterTypeDescription
project_id *stringAtlas project (group) id, 24 hex characters, e.g. 5d2f8a9c1e4b3a0012ab34cd.
cidr_blockstringA CIDR block, e.g. 203.0.113.0/24. Give this OR ip_address.
commentstringShort note stored with the entry (max 80 characters).
delete_after_datestringISO 8601 time when Atlas removes the entry, e.g. 2026-12-31T00:00:00Z.
ip_addressstringA single IPv4 or IPv6 address, e.g. 203.0.113.7.