Couchbase · Capability

Couchbase Capella Management API — Allowed CIDRs

Couchbase Capella Management API — Allowed CIDRs. 3 operations. Lead operation: List allowed CIDRs. Self-contained Naftiko capability covering one Couchbase business surface.

Run with Naftiko CouchbaseAllowed CIDRs

What You Can Do

GET
Listallowedcidrs — List allowed CIDRs
/v1/v4/organizations/{organizationid}/projects/{projectid}/clusters/{clusterid}/allowedcidrs
POST
Addallowedcidr — Add an allowed CIDR
/v1/v4/organizations/{organizationid}/projects/{projectid}/clusters/{clusterid}/allowedcidrs
DELETE
Deleteallowedcidr — Delete an allowed CIDR
/v1/v4/organizations/{organizationid}/projects/{projectid}/clusters/{clusterid}/allowedcidrs/{allowedcidrid}

MCP Tools

list-allowed-cidrs

List allowed CIDRs

read-only idempotent
add-allowed-cidr

Add an allowed CIDR

delete-allowed-cidr

Delete an allowed CIDR

idempotent

Capability Spec

capella-management-allowed-cidrs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Couchbase Capella Management API — Allowed CIDRs
  description: 'Couchbase Capella Management API — Allowed CIDRs. 3 operations. Lead operation: List allowed CIDRs. Self-contained
    Naftiko capability covering one Couchbase business surface.'
  tags:
  - Couchbase
  - Allowed CIDRs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COUCHBASE_API_KEY: COUCHBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: capella-management-allowed-cidrs
    baseUri: https://cloudapi.cloud.couchbase.com
    description: Couchbase Capella Management API — Allowed CIDRs business capability. Self-contained, no shared references.
    resources:
    - name: v4-organizations-organizationId-projects-projectId-clusters-clusterId-allowedCID
      path: /v4/organizations/{organizationId}/projects/{projectId}/clusters/{clusterId}/allowedCIDRs
      operations:
      - name: listallowedcidrs
        method: GET
        description: List allowed CIDRs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: addallowedcidr
        method: POST
        description: Add an allowed CIDR
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v4-organizations-organizationId-projects-projectId-clusters-clusterId-allowedCID
      path: /v4/organizations/{organizationId}/projects/{projectId}/clusters/{clusterId}/allowedCIDRs/{allowedCIDRId}
      operations:
      - name: deleteallowedcidr
        method: DELETE
        description: Delete an allowed CIDR
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: allowedCIDRId
          in: path
          type: string
          description: The ID of the allowed CIDR to delete
          required: true
    authentication:
      type: bearer
      token: '{{env.COUCHBASE_API_KEY}}'
  exposes:
  - type: rest
    namespace: capella-management-allowed-cidrs-rest
    port: 8080
    description: REST adapter for Couchbase Capella Management API — Allowed CIDRs. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v4/organizations/{organizationid}/projects/{projectid}/clusters/{clusterid}/allowedcidrs
      name: v4-organizations-organizationid-projects-projectid-clusters-clusterid-allowedcid
      description: REST surface for v4-organizations-organizationId-projects-projectId-clusters-clusterId-allowedCID.
      operations:
      - method: GET
        name: listallowedcidrs
        description: List allowed CIDRs
        call: capella-management-allowed-cidrs.listallowedcidrs
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: addallowedcidr
        description: Add an allowed CIDR
        call: capella-management-allowed-cidrs.addallowedcidr
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/organizations/{organizationid}/projects/{projectid}/clusters/{clusterid}/allowedcidrs/{allowedcidrid}
      name: v4-organizations-organizationid-projects-projectid-clusters-clusterid-allowedcid
      description: REST surface for v4-organizations-organizationId-projects-projectId-clusters-clusterId-allowedCID.
      operations:
      - method: DELETE
        name: deleteallowedcidr
        description: Delete an allowed CIDR
        call: capella-management-allowed-cidrs.deleteallowedcidr
        with:
          allowedCIDRId: rest.allowedCIDRId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: capella-management-allowed-cidrs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Couchbase Capella Management API — Allowed CIDRs. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-allowed-cidrs
      description: List allowed CIDRs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: capella-management-allowed-cidrs.listallowedcidrs
      outputParameters:
      - type: object
        mapping: $.
    - name: add-allowed-cidr
      description: Add an allowed CIDR
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: capella-management-allowed-cidrs.addallowedcidr
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-allowed-cidr
      description: Delete an allowed CIDR
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: capella-management-allowed-cidrs.deleteallowedcidr
      with:
        allowedCIDRId: tools.allowedCIDRId
      outputParameters:
      - type: object
        mapping: $.