Couchbase · Capability

Couchbase Capella Management API — Database Credentials

Couchbase Capella Management API — Database Credentials. 2 operations. Lead operation: List database credentials. Self-contained Naftiko capability covering one Couchbase business surface.

Run with Naftiko CouchbaseDatabase Credentials

What You Can Do

GET
Listdatabasecredentials — List database credentials
/v1/v4/organizations/{organizationid}/projects/{projectid}/clusters/{clusterid}/users
POST
Createdatabasecredential — Create database credentials
/v1/v4/organizations/{organizationid}/projects/{projectid}/clusters/{clusterid}/users

MCP Tools

list-database-credentials

List database credentials

read-only idempotent
create-database-credentials

Create database credentials

Capability Spec

capella-management-database-credentials.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Couchbase Capella Management API — Database Credentials
  description: 'Couchbase Capella Management API — Database Credentials. 2 operations. Lead operation: List database credentials.
    Self-contained Naftiko capability covering one Couchbase business surface.'
  tags:
  - Couchbase
  - Database Credentials
  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-database-credentials
    baseUri: https://cloudapi.cloud.couchbase.com
    description: Couchbase Capella Management API — Database Credentials business capability. Self-contained, no shared references.
    resources:
    - name: v4-organizations-organizationId-projects-projectId-clusters-clusterId-users
      path: /v4/organizations/{organizationId}/projects/{projectId}/clusters/{clusterId}/users
      operations:
      - name: listdatabasecredentials
        method: GET
        description: List database credentials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createdatabasecredential
        method: POST
        description: Create database credentials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.COUCHBASE_API_KEY}}'
  exposes:
  - type: rest
    namespace: capella-management-database-credentials-rest
    port: 8080
    description: REST adapter for Couchbase Capella Management API — Database Credentials. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v4/organizations/{organizationid}/projects/{projectid}/clusters/{clusterid}/users
      name: v4-organizations-organizationid-projects-projectid-clusters-clusterid-users
      description: REST surface for v4-organizations-organizationId-projects-projectId-clusters-clusterId-users.
      operations:
      - method: GET
        name: listdatabasecredentials
        description: List database credentials
        call: capella-management-database-credentials.listdatabasecredentials
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdatabasecredential
        description: Create database credentials
        call: capella-management-database-credentials.createdatabasecredential
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: capella-management-database-credentials-mcp
    port: 9090
    transport: http
    description: MCP adapter for Couchbase Capella Management API — Database Credentials. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: list-database-credentials
      description: List database credentials
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: capella-management-database-credentials.listdatabasecredentials
      outputParameters:
      - type: object
        mapping: $.
    - name: create-database-credentials
      description: Create database credentials
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: capella-management-database-credentials.createdatabasecredential
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.