Skip to main content
MongoDB Atlas logo

MongoDB Atlas

Manage MongoDB Atlas: projects, clusters, database users, network access, backups. Exposes 35 actions covering the API surface an agent needs - read and write.

What it can do

MethodWhat it does
mongodbatlas_organizations_listList organizations - GET /orgs.
mongodbatlas_organization_getGet one organization - GET /orgs/{id}.
mongodbatlas_organization_createCreate an organization - POST /orgs.
mongodbatlas_organization_updateUpdate an organization - PATCH /orgs/{id}.
mongodbatlas_organization_deleteDelete an organization - DELETE /orgs/{id}.
mongodbatlas_projects_listList projects - GET /groups.
mongodbatlas_project_getGet one project - GET /groups/{id}.
mongodbatlas_project_createCreate a project - POST /groups.
mongodbatlas_project_updateUpdate a project - PATCH /groups/{id}.
mongodbatlas_project_deleteDelete a project - DELETE /groups/{id}.
mongodbatlas_clusters_listList clusters - GET /groups/{project_id}/clusters.
mongodbatlas_cluster_getGet one cluster - GET /groups/{project_id}/clusters/{cluster_name}.
mongodbatlas_cluster_createCreate a cluster - POST /groups/{project_id}/clusters.
mongodbatlas_cluster_updateUpdate a cluster - PATCH /groups/{project_id}/clusters/{cluster_name}.
mongodbatlas_cluster_deleteDelete a cluster - DELETE /groups/{project_id}/clusters/{cluster_name}.
mongodbatlas_cluster_pausePause a cluster - POST /groups/{project_id}/clusters/{cluster_name}/pause.
mongodbatlas_cluster_resumeResume a paused cluster - POST /groups/{project_id}/clusters/{cluster_name}/resume.
mongodbatlas_database_users_listList database users - GET /groups/{project_id}/databaseUsers.
mongodbatlas_database_user_getGet one database user - GET /groups/{project_id}/databaseUsers/{username}.
mongodbatlas_database_user_createCreate a database user - POST /groups/{project_id}/databaseUsers.
mongodbatlas_database_user_updateUpdate a database user - PATCH /groups/{project_id}/databaseUsers/admin/{username}.
mongodbatlas_database_user_deleteDelete a database user - DELETE /groups/{project_id}/databaseUsers/admin/{username}.
mongodbatlas_network_access_listList IP access list entries - GET /groups/{project_id}/accessList.
mongodbatlas_network_access_getGet one IP access list entry - GET /groups/{project_id}/accessList/{ip_address}.
mongodbatlas_network_access_createAdd an IP to the access list - POST /groups/{project_id}/accessList.
mongodbatlas_network_access_deleteRemove an IP from the access list - DELETE /groups/{project_id}/accessList/{ip_address}.
mongodbatlas_backups_listList backups for a cluster - GET /groups/{project_id}/clusters/{cluster_name}/backups.
mongodbatlas_backup_getGet one backup - GET /groups/{project_id}/clusters/{cluster_name}/backups/{backup_id}.
mongodbatlas_restore_jobs_listList restore jobs for a cluster - GET /groups/{project_id}/clusters/{cluster_name}/restoreJobs.
mongodbatlas_alerts_listList alerts - GET /groups/{project_id}/alerts.
mongodbatlas_alert_getGet one alert - GET /groups/{project_id}/alerts/{alert_id}.
mongodbatlas_alert_acknowledgeAcknowledge an alert - PATCH /groups/{project_id}/alerts/{alert_id}.
mongodbatlas_processes_listList processes (hosts) in a project - GET /groups/{group_id}/processes.
mongodbatlas_process_getGet one process info - GET /groups/{group_id}/processes/{host_name}.
mongodbatlas_metrics_getGet metrics for a process - GET /groups/{group_id}/processes/{host_name}/measurements.

How to get credentials

This connector uses an API key / token. Create one in the provider dashboard, then paste it into FlyMyAI:

  • MONGODBATLAS_PUBLIC_KEY - Atlas - Access Manager - API Keys - Public Key. (https://cloud.mongodb.com/)
  • MONGODBATLAS_PRIVATE_KEY - Private key shown when you create the API key.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
MONGODBATLAS_PUBLIC_KEYAtlas - Access Manager - API Keys - Public Key.
MONGODBATLAS_PRIVATE_KEYPrivate key shown when you create the API key.

Troubleshooting

  • 401 Unauthorized / 403 Forbidden - the token is wrong, expired, or missing a required scope; regenerate it.
  • 429 Too Many Requests - provider rate limit; retry after a short backoff.
  • Unexpected 4xx on writes - double-check required fields; the agent confirms before write actions.
We love our partners - FlyMy.AI builds with the best. Thanks, MongoDB Atlas!