Kuma · Capability

Kuma API — MeshTrafficPermission

Kuma API — MeshTrafficPermission. 4 operations. Lead operation: Returns a list of MeshTrafficPermission in the mesh.. Self-contained Naftiko capability covering one Kuma business surface.

Run with Naftiko KumaMeshTrafficPermission

What You Can Do

GET
Getmeshtrafficpermissionlist — Returns a list of MeshTrafficPermission in the mesh.
/v1/meshes/{mesh}/meshtrafficpermissions
GET
Getmeshtrafficpermission — Returns MeshTrafficPermission entity
/v1/meshes/{mesh}/meshtrafficpermissions/{name}
PUT
Putmeshtrafficpermission — Creates or Updates MeshTrafficPermission entity
/v1/meshes/{mesh}/meshtrafficpermissions/{name}
DELETE
Deletemeshtrafficpermission — Deletes MeshTrafficPermission entity
/v1/meshes/{mesh}/meshtrafficpermissions/{name}

MCP Tools

returns-list-meshtrafficpermission-mesh

Returns a list of MeshTrafficPermission in the mesh.

read-only idempotent
returns-meshtrafficpermission-entity

Returns MeshTrafficPermission entity

read-only idempotent
creates-updates-meshtrafficpermission-entity

Creates or Updates MeshTrafficPermission entity

idempotent
deletes-meshtrafficpermission-entity

Deletes MeshTrafficPermission entity

idempotent

Capability Spec

kuma-meshtrafficpermission.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kuma API — MeshTrafficPermission
  description: 'Kuma API — MeshTrafficPermission. 4 operations. Lead operation: Returns a list of MeshTrafficPermission in
    the mesh.. Self-contained Naftiko capability covering one Kuma business surface.'
  tags:
  - Kuma
  - MeshTrafficPermission
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KUMA_API_KEY: KUMA_API_KEY
capability:
  consumes:
  - type: http
    namespace: kuma-meshtrafficpermission
    baseUri: ''
    description: Kuma API — MeshTrafficPermission business capability. Self-contained, no shared references.
    resources:
    - name: meshes-mesh-meshtrafficpermissions
      path: /meshes/{mesh}/meshtrafficpermissions
      operations:
      - name: getmeshtrafficpermissionlist
        method: GET
        description: Returns a list of MeshTrafficPermission in the mesh.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: offset
          in: query
          type: integer
          description: offset in the list of entities
        - name: size
          in: query
          type: integer
          description: the number of items per page
        - name: filter
          in: query
          type: object
          description: filter by labels when multiple filters are present, they are ANDed
        - name: mesh
          in: path
          type: string
          description: name of the mesh
          required: true
    - name: meshes-mesh-meshtrafficpermissions-name
      path: /meshes/{mesh}/meshtrafficpermissions/{name}
      operations:
      - name: getmeshtrafficpermission
        method: GET
        description: Returns MeshTrafficPermission entity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: mesh
          in: path
          type: string
          description: name of the mesh
          required: true
        - name: name
          in: path
          type: string
          description: name of the MeshTrafficPermission
          required: true
      - name: putmeshtrafficpermission
        method: PUT
        description: Creates or Updates MeshTrafficPermission entity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: mesh
          in: path
          type: string
          description: name of the mesh
          required: true
        - name: name
          in: path
          type: string
          description: name of the MeshTrafficPermission
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletemeshtrafficpermission
        method: DELETE
        description: Deletes MeshTrafficPermission entity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: mesh
          in: path
          type: string
          description: name of the mesh
          required: true
        - name: name
          in: path
          type: string
          description: name of the MeshTrafficPermission
          required: true
    authentication:
      type: bearer
      token: '{{env.KUMA_API_KEY}}'
  exposes:
  - type: rest
    namespace: kuma-meshtrafficpermission-rest
    port: 8080
    description: REST adapter for Kuma API — MeshTrafficPermission. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/meshes/{mesh}/meshtrafficpermissions
      name: meshes-mesh-meshtrafficpermissions
      description: REST surface for meshes-mesh-meshtrafficpermissions.
      operations:
      - method: GET
        name: getmeshtrafficpermissionlist
        description: Returns a list of MeshTrafficPermission in the mesh.
        call: kuma-meshtrafficpermission.getmeshtrafficpermissionlist
        with:
          offset: rest.offset
          size: rest.size
          filter: rest.filter
          mesh: rest.mesh
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/meshes/{mesh}/meshtrafficpermissions/{name}
      name: meshes-mesh-meshtrafficpermissions-name
      description: REST surface for meshes-mesh-meshtrafficpermissions-name.
      operations:
      - method: GET
        name: getmeshtrafficpermission
        description: Returns MeshTrafficPermission entity
        call: kuma-meshtrafficpermission.getmeshtrafficpermission
        with:
          mesh: rest.mesh
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putmeshtrafficpermission
        description: Creates or Updates MeshTrafficPermission entity
        call: kuma-meshtrafficpermission.putmeshtrafficpermission
        with:
          mesh: rest.mesh
          name: rest.name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletemeshtrafficpermission
        description: Deletes MeshTrafficPermission entity
        call: kuma-meshtrafficpermission.deletemeshtrafficpermission
        with:
          mesh: rest.mesh
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: kuma-meshtrafficpermission-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kuma API — MeshTrafficPermission. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: returns-list-meshtrafficpermission-mesh
      description: Returns a list of MeshTrafficPermission in the mesh.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kuma-meshtrafficpermission.getmeshtrafficpermissionlist
      with:
        offset: tools.offset
        size: tools.size
        filter: tools.filter
        mesh: tools.mesh
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-meshtrafficpermission-entity
      description: Returns MeshTrafficPermission entity
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kuma-meshtrafficpermission.getmeshtrafficpermission
      with:
        mesh: tools.mesh
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: creates-updates-meshtrafficpermission-entity
      description: Creates or Updates MeshTrafficPermission entity
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: kuma-meshtrafficpermission.putmeshtrafficpermission
      with:
        mesh: tools.mesh
        name: tools.name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deletes-meshtrafficpermission-entity
      description: Deletes MeshTrafficPermission entity
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: kuma-meshtrafficpermission.deletemeshtrafficpermission
      with:
        mesh: tools.mesh
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.