Apache Kafka · Capability

Confluent Kafka REST Proxy API — Cluster

Confluent Kafka REST Proxy API — Cluster. 2 operations. Lead operation: Apache kafka List Clusters. Self-contained Naftiko capability covering one Apache Kafka business surface.

Run with Naftiko Apache KafkaCluster

What You Can Do

GET
Listclusters — Apache kafka List Clusters
/v1/clusters
GET
Getcluster — Apache kafka Get Cluster
/v1/clusters/{cluster-id}

MCP Tools

apache-kafka-list-clusters

Apache kafka List Clusters

read-only idempotent
apache-kafka-get-cluster

Apache kafka Get Cluster

read-only idempotent

Capability Spec

kafka-rest-proxy-cluster.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Confluent Kafka REST Proxy API — Cluster
  description: 'Confluent Kafka REST Proxy API — Cluster. 2 operations. Lead operation: Apache kafka List Clusters. Self-contained
    Naftiko capability covering one Apache Kafka business surface.'
  tags:
  - Apache Kafka
  - Cluster
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_KAFKA_API_KEY: APACHE_KAFKA_API_KEY
capability:
  consumes:
  - type: http
    namespace: kafka-rest-proxy-cluster
    baseUri: http://localhost:8082
    description: Confluent Kafka REST Proxy API — Cluster business capability. Self-contained, no shared references.
    resources:
    - name: clusters
      path: /clusters
      operations:
      - name: listclusters
        method: GET
        description: Apache kafka List Clusters
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: clusters-cluster_id
      path: /clusters/{cluster_id}
      operations:
      - name: getcluster
        method: GET
        description: Apache kafka Get Cluster
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cluster_id
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: kafka-rest-proxy-cluster-rest
    port: 8080
    description: REST adapter for Confluent Kafka REST Proxy API — Cluster. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/clusters
      name: clusters
      description: REST surface for clusters.
      operations:
      - method: GET
        name: listclusters
        description: Apache kafka List Clusters
        call: kafka-rest-proxy-cluster.listclusters
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/clusters/{cluster-id}
      name: clusters-cluster-id
      description: REST surface for clusters-cluster_id.
      operations:
      - method: GET
        name: getcluster
        description: Apache kafka Get Cluster
        call: kafka-rest-proxy-cluster.getcluster
        with:
          cluster_id: rest.cluster_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: kafka-rest-proxy-cluster-mcp
    port: 9090
    transport: http
    description: MCP adapter for Confluent Kafka REST Proxy API — Cluster. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: apache-kafka-list-clusters
      description: Apache kafka List Clusters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kafka-rest-proxy-cluster.listclusters
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-kafka-get-cluster
      description: Apache kafka Get Cluster
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kafka-rest-proxy-cluster.getcluster
      with:
        cluster_id: tools.cluster_id
      outputParameters:
      - type: object
        mapping: $.