MongoDB · Capability

MongoDB Atlas Administration API — Alerts

MongoDB Atlas Administration API — Alerts. 4 operations. Lead operation: Return All Open Alerts for One Alert Configuration. Self-contained Naftiko capability covering one Mongodb business surface.

Run with Naftiko MongodbAlerts

What You Can Do

GET
Getgroupalertconfigalerts — Return All Open Alerts for One Alert Configuration
/v1/api/atlas/v2/groups/{groupid}/alertconfigs/{alertconfigid}/alerts
GET
Listgroupalerts — Return All Alerts from One Project
/v1/api/atlas/v2/groups/{groupid}/alerts
GET
Getgroupalert — Return One Alert from One Project
/v1/api/atlas/v2/groups/{groupid}/alerts/{alertid}
PATCH
Acknowledgegroupalert — Acknowledge One Alert from One Project
/v1/api/atlas/v2/groups/{groupid}/alerts/{alertid}

MCP Tools

return-all-open-alerts-one

Return All Open Alerts for One Alert Configuration

read-only idempotent
return-all-alerts-one-project

Return All Alerts from One Project

read-only idempotent
return-one-alert-one-project

Return One Alert from One Project

read-only idempotent
acknowledge-one-alert-one-project

Acknowledge One Alert from One Project

idempotent

Capability Spec

atlas-alerts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: MongoDB Atlas Administration API — Alerts
  description: 'MongoDB Atlas Administration API — Alerts. 4 operations. Lead operation: Return All Open Alerts for One Alert
    Configuration. Self-contained Naftiko capability covering one Mongodb business surface.'
  tags:
  - Mongodb
  - Alerts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MONGODB_API_KEY: MONGODB_API_KEY
capability:
  consumes:
  - type: http
    namespace: atlas-alerts
    baseUri: https://cloud.mongodb.com
    description: MongoDB Atlas Administration API — Alerts business capability. Self-contained, no shared references.
    resources:
    - name: api-atlas-v2-groups-groupId-alertConfigs-alertConfigId-alerts
      path: /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts
      operations:
      - name: getgroupalertconfigalerts
        method: GET
        description: Return All Open Alerts for One Alert Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: alertConfigId
          in: path
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert configuration.
          required: true
    - name: api-atlas-v2-groups-groupId-alerts
      path: /api/atlas/v2/groups/{groupId}/alerts
      operations:
      - name: listgroupalerts
        method: GET
        description: Return All Alerts from One Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: Status of the alerts to return. Omit this parameter to return all alerts in all statuses. TRACKING
            indicates the alert condition exists but has not persisted fo
    - name: api-atlas-v2-groups-groupId-alerts-alertId
      path: /api/atlas/v2/groups/{groupId}/alerts/{alertId}
      operations:
      - name: getgroupalert
        method: GET
        description: Return One Alert from One Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: alertId
          in: path
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert.
          required: true
      - name: acknowledgegroupalert
        method: PATCH
        description: Acknowledge One Alert from One Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: alertId
          in: path
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.MONGODB_API_KEY}}'
  exposes:
  - type: rest
    namespace: atlas-alerts-rest
    port: 8080
    description: REST adapter for MongoDB Atlas Administration API — Alerts. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/atlas/v2/groups/{groupid}/alertconfigs/{alertconfigid}/alerts
      name: api-atlas-v2-groups-groupid-alertconfigs-alertconfigid-alerts
      description: REST surface for api-atlas-v2-groups-groupId-alertConfigs-alertConfigId-alerts.
      operations:
      - method: GET
        name: getgroupalertconfigalerts
        description: Return All Open Alerts for One Alert Configuration
        call: atlas-alerts.getgroupalertconfigalerts
        with:
          alertConfigId: rest.alertConfigId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/atlas/v2/groups/{groupid}/alerts
      name: api-atlas-v2-groups-groupid-alerts
      description: REST surface for api-atlas-v2-groups-groupId-alerts.
      operations:
      - method: GET
        name: listgroupalerts
        description: Return All Alerts from One Project
        call: atlas-alerts.listgroupalerts
        with:
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/atlas/v2/groups/{groupid}/alerts/{alertid}
      name: api-atlas-v2-groups-groupid-alerts-alertid
      description: REST surface for api-atlas-v2-groups-groupId-alerts-alertId.
      operations:
      - method: GET
        name: getgroupalert
        description: Return One Alert from One Project
        call: atlas-alerts.getgroupalert
        with:
          alertId: rest.alertId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: acknowledgegroupalert
        description: Acknowledge One Alert from One Project
        call: atlas-alerts.acknowledgegroupalert
        with:
          alertId: rest.alertId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: atlas-alerts-mcp
    port: 9090
    transport: http
    description: MCP adapter for MongoDB Atlas Administration API — Alerts. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: return-all-open-alerts-one
      description: Return All Open Alerts for One Alert Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: atlas-alerts.getgroupalertconfigalerts
      with:
        alertConfigId: tools.alertConfigId
      outputParameters:
      - type: object
        mapping: $.
    - name: return-all-alerts-one-project
      description: Return All Alerts from One Project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: atlas-alerts.listgroupalerts
      with:
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: return-one-alert-one-project
      description: Return One Alert from One Project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: atlas-alerts.getgroupalert
      with:
        alertId: tools.alertId
      outputParameters:
      - type: object
        mapping: $.
    - name: acknowledge-one-alert-one-project
      description: Acknowledge One Alert from One Project
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: atlas-alerts.acknowledgegroupalert
      with:
        alertId: tools.alertId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.