Couchbase · Capability

Couchbase Capella Management API — Projects

Couchbase Capella Management API — Projects. 5 operations. Lead operation: List projects. Self-contained Naftiko capability covering one Couchbase business surface.

Run with Naftiko CouchbaseProjects

What You Can Do

GET
Listprojects — List projects
/v1/v4/organizations/{organizationid}/projects
POST
Createproject — Create a project
/v1/v4/organizations/{organizationid}/projects
GET
Getproject — Get project details
/v1/v4/organizations/{organizationid}/projects/{projectid}
PUT
Updateproject — Update a project
/v1/v4/organizations/{organizationid}/projects/{projectid}
DELETE
Deleteproject — Delete a project
/v1/v4/organizations/{organizationid}/projects/{projectid}

MCP Tools

list-projects

List projects

read-only idempotent
create-project

Create a project

get-project-details

Get project details

read-only idempotent
update-project

Update a project

idempotent
delete-project

Delete a project

idempotent

Capability Spec

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