MongoDB · Capability

MongoDB Atlas Administration API — Maintenance Windows

MongoDB Atlas Administration API — Maintenance Windows. 5 operations. Lead operation: Reset One Maintenance Window for One Project. Self-contained Naftiko capability covering one Mongodb business surface.

Run with Naftiko MongodbMaintenance Windows

What You Can Do

DELETE
Resetgroupmaintenancewindow — Reset One Maintenance Window for One Project
/v1/api/atlas/v2/groups/{groupid}/maintenancewindow
GET
Getgroupmaintenancewindow — Return One Maintenance Window for One Project
/v1/api/atlas/v2/groups/{groupid}/maintenancewindow
PATCH
Updategroupmaintenancewindow — Update One Maintenance Window for One Project
/v1/api/atlas/v2/groups/{groupid}/maintenancewindow
POST
Togglegroupmaintenancewindowautodefer — Toggle Automatic Deferral of Maintenance for One Project
/v1/api/atlas/v2/groups/{groupid}/maintenancewindow/autodefer
POST
Defergroupmaintenancewindow — Defer One Maintenance Window for One Project
/v1/api/atlas/v2/groups/{groupid}/maintenancewindow/defer

MCP Tools

reset-one-maintenance-window-one

Reset One Maintenance Window for One Project

idempotent
return-one-maintenance-window-one

Return One Maintenance Window for One Project

read-only idempotent
update-one-maintenance-window-one

Update One Maintenance Window for One Project

idempotent
toggle-automatic-deferral-maintenance-one

Toggle Automatic Deferral of Maintenance for One Project

defer-one-maintenance-window-one

Defer One Maintenance Window for One Project

Capability Spec

atlas-maintenance-windows.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: MongoDB Atlas Administration API — Maintenance Windows
  description: 'MongoDB Atlas Administration API — Maintenance Windows. 5 operations. Lead operation: Reset One Maintenance
    Window for One Project. Self-contained Naftiko capability covering one Mongodb business surface.'
  tags:
  - Mongodb
  - Maintenance Windows
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MONGODB_API_KEY: MONGODB_API_KEY
capability:
  consumes:
  - type: http
    namespace: atlas-maintenance-windows
    baseUri: https://cloud.mongodb.com
    description: MongoDB Atlas Administration API — Maintenance Windows business capability. Self-contained, no shared references.
    resources:
    - name: api-atlas-v2-groups-groupId-maintenanceWindow
      path: /api/atlas/v2/groups/{groupId}/maintenanceWindow
      operations:
      - name: resetgroupmaintenancewindow
        method: DELETE
        description: Reset One Maintenance Window for One Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getgroupmaintenancewindow
        method: GET
        description: Return One Maintenance Window for One Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updategroupmaintenancewindow
        method: PATCH
        description: Update One Maintenance Window for One Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-atlas-v2-groups-groupId-maintenanceWindow-autoDefer
      path: /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer
      operations:
      - name: togglegroupmaintenancewindowautodefer
        method: POST
        description: Toggle Automatic Deferral of Maintenance for One Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-atlas-v2-groups-groupId-maintenanceWindow-defer
      path: /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer
      operations:
      - name: defergroupmaintenancewindow
        method: POST
        description: Defer One Maintenance Window for One Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MONGODB_API_KEY}}'
  exposes:
  - type: rest
    namespace: atlas-maintenance-windows-rest
    port: 8080
    description: REST adapter for MongoDB Atlas Administration API — Maintenance Windows. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/atlas/v2/groups/{groupid}/maintenancewindow
      name: api-atlas-v2-groups-groupid-maintenancewindow
      description: REST surface for api-atlas-v2-groups-groupId-maintenanceWindow.
      operations:
      - method: DELETE
        name: resetgroupmaintenancewindow
        description: Reset One Maintenance Window for One Project
        call: atlas-maintenance-windows.resetgroupmaintenancewindow
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getgroupmaintenancewindow
        description: Return One Maintenance Window for One Project
        call: atlas-maintenance-windows.getgroupmaintenancewindow
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updategroupmaintenancewindow
        description: Update One Maintenance Window for One Project
        call: atlas-maintenance-windows.updategroupmaintenancewindow
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/atlas/v2/groups/{groupid}/maintenancewindow/autodefer
      name: api-atlas-v2-groups-groupid-maintenancewindow-autodefer
      description: REST surface for api-atlas-v2-groups-groupId-maintenanceWindow-autoDefer.
      operations:
      - method: POST
        name: togglegroupmaintenancewindowautodefer
        description: Toggle Automatic Deferral of Maintenance for One Project
        call: atlas-maintenance-windows.togglegroupmaintenancewindowautodefer
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/atlas/v2/groups/{groupid}/maintenancewindow/defer
      name: api-atlas-v2-groups-groupid-maintenancewindow-defer
      description: REST surface for api-atlas-v2-groups-groupId-maintenanceWindow-defer.
      operations:
      - method: POST
        name: defergroupmaintenancewindow
        description: Defer One Maintenance Window for One Project
        call: atlas-maintenance-windows.defergroupmaintenancewindow
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: atlas-maintenance-windows-mcp
    port: 9090
    transport: http
    description: MCP adapter for MongoDB Atlas Administration API — Maintenance Windows. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: reset-one-maintenance-window-one
      description: Reset One Maintenance Window for One Project
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: atlas-maintenance-windows.resetgroupmaintenancewindow
      outputParameters:
      - type: object
        mapping: $.
    - name: return-one-maintenance-window-one
      description: Return One Maintenance Window for One Project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: atlas-maintenance-windows.getgroupmaintenancewindow
      outputParameters:
      - type: object
        mapping: $.
    - name: update-one-maintenance-window-one
      description: Update One Maintenance Window for One Project
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: atlas-maintenance-windows.updategroupmaintenancewindow
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: toggle-automatic-deferral-maintenance-one
      description: Toggle Automatic Deferral of Maintenance for One Project
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: atlas-maintenance-windows.togglegroupmaintenancewindowautodefer
      outputParameters:
      - type: object
        mapping: $.
    - name: defer-one-maintenance-window-one
      description: Defer One Maintenance Window for One Project
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: atlas-maintenance-windows.defergroupmaintenancewindow
      outputParameters:
      - type: object
        mapping: $.