MongoDB · Capability

MongoDB Atlas Administration API — Serverless Instances

MongoDB Atlas Administration API — Serverless Instances. 2 operations. Lead operation: Return All Serverless Instances in One Project. Self-contained Naftiko capability covering one Mongodb business surface.

Run with Naftiko MongodbServerless Instances

What You Can Do

GET
Listgroupserverlessinstances — Return All Serverless Instances in One Project
/v1/api/atlas/v2/groups/{groupid}/serverless
GET
Getgroupserverlessinstance — Return One Serverless Instance from One Project
/v1/api/atlas/v2/groups/{groupid}/serverless/{name}

MCP Tools

return-all-serverless-instances-one

Return All Serverless Instances in One Project

read-only idempotent
return-one-serverless-instance-one

Return One Serverless Instance from One Project

read-only idempotent

Capability Spec

atlas-serverless-instances.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: MongoDB Atlas Administration API — Serverless Instances
  description: 'MongoDB Atlas Administration API — Serverless Instances. 2 operations. Lead operation: Return All Serverless
    Instances in One Project. Self-contained Naftiko capability covering one Mongodb business surface.'
  tags:
  - Mongodb
  - Serverless Instances
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MONGODB_API_KEY: MONGODB_API_KEY
capability:
  consumes:
  - type: http
    namespace: atlas-serverless-instances
    baseUri: https://cloud.mongodb.com
    description: MongoDB Atlas Administration API — Serverless Instances business capability. Self-contained, no shared references.
    resources:
    - name: api-atlas-v2-groups-groupId-serverless
      path: /api/atlas/v2/groups/{groupId}/serverless
      operations:
      - name: listgroupserverlessinstances
        method: GET
        description: Return All Serverless Instances in One Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-atlas-v2-groups-groupId-serverless-name
      path: /api/atlas/v2/groups/{groupId}/serverless/{name}
      operations:
      - name: getgroupserverlessinstance
        method: GET
        description: Return One Serverless Instance from One Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: Human-readable label that identifies the serverless instance.
          required: true
    authentication:
      type: bearer
      token: '{{env.MONGODB_API_KEY}}'
  exposes:
  - type: rest
    namespace: atlas-serverless-instances-rest
    port: 8080
    description: REST adapter for MongoDB Atlas Administration API — Serverless Instances. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/atlas/v2/groups/{groupid}/serverless
      name: api-atlas-v2-groups-groupid-serverless
      description: REST surface for api-atlas-v2-groups-groupId-serverless.
      operations:
      - method: GET
        name: listgroupserverlessinstances
        description: Return All Serverless Instances in One Project
        call: atlas-serverless-instances.listgroupserverlessinstances
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/atlas/v2/groups/{groupid}/serverless/{name}
      name: api-atlas-v2-groups-groupid-serverless-name
      description: REST surface for api-atlas-v2-groups-groupId-serverless-name.
      operations:
      - method: GET
        name: getgroupserverlessinstance
        description: Return One Serverless Instance from One Project
        call: atlas-serverless-instances.getgroupserverlessinstance
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: atlas-serverless-instances-mcp
    port: 9090
    transport: http
    description: MCP adapter for MongoDB Atlas Administration API — Serverless Instances. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: return-all-serverless-instances-one
      description: Return All Serverless Instances in One Project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: atlas-serverless-instances.listgroupserverlessinstances
      outputParameters:
      - type: object
        mapping: $.
    - name: return-one-serverless-instance-one
      description: Return One Serverless Instance from One Project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: atlas-serverless-instances.getgroupserverlessinstance
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.