Knative · Capability

Knative Serving API — Configurations

Knative Serving API — Configurations. 2 operations. Lead operation: List Knative Configurations. Self-contained Naftiko capability covering one Knative business surface.

Run with Naftiko KnativeConfigurations

What You Can Do

GET
Listconfigurations — List Knative Configurations
/v1/apis/serving-knative-dev/v1/namespaces/{namespace}/configurations
GET
Getconfiguration — Get a Knative Configuration
/v1/apis/serving-knative-dev/v1/namespaces/{namespace}/configurations/{name}

MCP Tools

list-knative-configurations

List Knative Configurations

read-only idempotent
get-knative-configuration

Get a Knative Configuration

read-only idempotent

Capability Spec

serving-configurations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Knative Serving API — Configurations
  description: 'Knative Serving API — Configurations. 2 operations. Lead operation: List Knative Configurations. Self-contained
    Naftiko capability covering one Knative business surface.'
  tags:
  - Knative
  - Configurations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KNATIVE_API_KEY: KNATIVE_API_KEY
capability:
  consumes:
  - type: http
    namespace: serving-configurations
    baseUri: https://kubernetes.default.svc
    description: Knative Serving API — Configurations business capability. Self-contained, no shared references.
    resources:
    - name: apis-serving.knative.dev-v1-namespaces-namespace-configurations
      path: /apis/serving.knative.dev/v1/namespaces/{namespace}/configurations
      operations:
      - name: listconfigurations
        method: GET
        description: List Knative Configurations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: apis-serving.knative.dev-v1-namespaces-namespace-configurations-name
      path: /apis/serving.knative.dev/v1/namespaces/{namespace}/configurations/{name}
      operations:
      - name: getconfiguration
        method: GET
        description: Get a Knative Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KNATIVE_API_KEY}}'
  exposes:
  - type: rest
    namespace: serving-configurations-rest
    port: 8080
    description: REST adapter for Knative Serving API — Configurations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/apis/serving-knative-dev/v1/namespaces/{namespace}/configurations
      name: apis-serving-knative-dev-v1-namespaces-namespace-configurations
      description: REST surface for apis-serving.knative.dev-v1-namespaces-namespace-configurations.
      operations:
      - method: GET
        name: listconfigurations
        description: List Knative Configurations
        call: serving-configurations.listconfigurations
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/serving-knative-dev/v1/namespaces/{namespace}/configurations/{name}
      name: apis-serving-knative-dev-v1-namespaces-namespace-configurations-name
      description: REST surface for apis-serving.knative.dev-v1-namespaces-namespace-configurations-name.
      operations:
      - method: GET
        name: getconfiguration
        description: Get a Knative Configuration
        call: serving-configurations.getconfiguration
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: serving-configurations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Knative Serving API — Configurations. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-knative-configurations
      description: List Knative Configurations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: serving-configurations.listconfigurations
      outputParameters:
      - type: object
        mapping: $.
    - name: get-knative-configuration
      description: Get a Knative Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: serving-configurations.getconfiguration
      outputParameters:
      - type: object
        mapping: $.