Kuma · Capability

Kuma API — System

Kuma API — System. 2 operations. Lead operation: The index endpoint. Self-contained Naftiko capability covering one Kuma business surface.

Run with Naftiko KumaSystem

What You Can Do

GET
Index — The index endpoint
/v1
GET
Getresourcetypedescription — A list of all resources that exist
/v1/resources

MCP Tools

index-endpoint

The index endpoint

read-only idempotent
list-all-resources-that-exist

A list of all resources that exist

read-only idempotent

Capability Spec

kuma-system.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kuma API — System
  description: 'Kuma API — System. 2 operations. Lead operation: The index endpoint. Self-contained Naftiko capability covering
    one Kuma business surface.'
  tags:
  - Kuma
  - System
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KUMA_API_KEY: KUMA_API_KEY
capability:
  consumes:
  - type: http
    namespace: kuma-system
    baseUri: ''
    description: Kuma API — System business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: index
        method: GET
        description: The index endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: _resources
      path: /_resources
      operations:
      - name: getresourcetypedescription
        method: GET
        description: A list of all resources that exist
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KUMA_API_KEY}}'
  exposes:
  - type: rest
    namespace: kuma-system-rest
    port: 8080
    description: REST adapter for Kuma API — System. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: GET
        name: index
        description: The index endpoint
        call: kuma-system.index
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/resources
      name: resources
      description: REST surface for _resources.
      operations:
      - method: GET
        name: getresourcetypedescription
        description: A list of all resources that exist
        call: kuma-system.getresourcetypedescription
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: kuma-system-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kuma API — System. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: index-endpoint
      description: The index endpoint
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kuma-system.index
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-resources-that-exist
      description: A list of all resources that exist
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kuma-system.getresourcetypedescription
      outputParameters:
      - type: object
        mapping: $.