naftiko: 1.0.0-alpha2 info: label: Couchbase Capella Management API — Buckets description: 'Couchbase Capella Management API — Buckets. 5 operations. Lead operation: List buckets in a cluster. Self-contained Naftiko capability covering one Couchbase business surface.' tags: - Couchbase - Buckets 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-buckets baseUri: https://cloudapi.cloud.couchbase.com description: Couchbase Capella Management API — Buckets business capability. Self-contained, no shared references. resources: - name: v4-organizations-organizationId-projects-projectId-clusters-clusterId-buckets path: /v4/organizations/{organizationId}/projects/{projectId}/clusters/{clusterId}/buckets operations: - name: listcapellabuckets method: GET description: List buckets in a cluster outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcapellabucket method: POST description: Create a bucket 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-buckets-bu path: /v4/organizations/{organizationId}/projects/{projectId}/clusters/{clusterId}/buckets/{bucketId} operations: - name: getcapellabucket method: GET description: Get bucket details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatecapellabucket method: PUT description: Update a bucket outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletecapellabucket method: DELETE description: Delete a bucket outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.COUCHBASE_API_KEY}}' exposes: - type: rest namespace: capella-management-buckets-rest port: 8080 description: REST adapter for Couchbase Capella Management API — Buckets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v4/organizations/{organizationid}/projects/{projectid}/clusters/{clusterid}/buckets name: v4-organizations-organizationid-projects-projectid-clusters-clusterid-buckets description: REST surface for v4-organizations-organizationId-projects-projectId-clusters-clusterId-buckets. operations: - method: GET name: listcapellabuckets description: List buckets in a cluster call: capella-management-buckets.listcapellabuckets outputParameters: - type: object mapping: $. - method: POST name: createcapellabucket description: Create a bucket call: capella-management-buckets.createcapellabucket with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v4/organizations/{organizationid}/projects/{projectid}/clusters/{clusterid}/buckets/{bucketid} name: v4-organizations-organizationid-projects-projectid-clusters-clusterid-buckets-bu description: REST surface for v4-organizations-organizationId-projects-projectId-clusters-clusterId-buckets-bu. operations: - method: GET name: getcapellabucket description: Get bucket details call: capella-management-buckets.getcapellabucket outputParameters: - type: object mapping: $. - method: PUT name: updatecapellabucket description: Update a bucket call: capella-management-buckets.updatecapellabucket with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecapellabucket description: Delete a bucket call: capella-management-buckets.deletecapellabucket outputParameters: - type: object mapping: $. - type: mcp namespace: capella-management-buckets-mcp port: 9090 transport: http description: MCP adapter for Couchbase Capella Management API — Buckets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-buckets-cluster description: List buckets in a cluster hints: readOnly: true destructive: false idempotent: true call: capella-management-buckets.listcapellabuckets outputParameters: - type: object mapping: $. - name: create-bucket description: Create a bucket hints: readOnly: false destructive: false idempotent: false call: capella-management-buckets.createcapellabucket with: body: tools.body outputParameters: - type: object mapping: $. - name: get-bucket-details description: Get bucket details hints: readOnly: true destructive: false idempotent: true call: capella-management-buckets.getcapellabucket outputParameters: - type: object mapping: $. - name: update-bucket description: Update a bucket hints: readOnly: false destructive: false idempotent: true call: capella-management-buckets.updatecapellabucket with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-bucket description: Delete a bucket hints: readOnly: false destructive: true idempotent: true call: capella-management-buckets.deletecapellabucket outputParameters: - type: object mapping: $.