Istio · Capability

Istio Networking API — Gateway

Istio Networking API — Gateway. 5 operations. Lead operation: Istio List Gateways. Self-contained Naftiko capability covering one Istio business surface.

Run with Naftiko IstioGateway

What You Can Do

GET
Listgateways — Istio List Gateways
/v1/namespaces/{namespace}/gateways
POST
Creategateway — Istio Create a Gateway
/v1/namespaces/{namespace}/gateways
GET
Getgateway — Istio Get a Gateway
/v1/namespaces/{namespace}/gateways/{name}
PUT
Replacegateway — Istio Replace a Gateway
/v1/namespaces/{namespace}/gateways/{name}
DELETE
Deletegateway — Istio Delete a Gateway
/v1/namespaces/{namespace}/gateways/{name}

MCP Tools

istio-list-gateways

Istio List Gateways

read-only idempotent
istio-create-gateway

Istio Create a Gateway

istio-get-gateway

Istio Get a Gateway

read-only idempotent
istio-replace-gateway

Istio Replace a Gateway

idempotent
istio-delete-gateway

Istio Delete a Gateway

idempotent

Capability Spec

networking-gateway.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Istio Networking API — Gateway
  description: 'Istio Networking API — Gateway. 5 operations. Lead operation: Istio List Gateways. Self-contained Naftiko
    capability covering one Istio business surface.'
  tags:
  - Istio
  - Gateway
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ISTIO_API_KEY: ISTIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: networking-gateway
    baseUri: https://{cluster}/apis/networking.istio.io/v1
    description: Istio Networking API — Gateway business capability. Self-contained, no shared references.
    resources:
    - name: namespaces-namespace-gateways
      path: /namespaces/{namespace}/gateways
      operations:
      - name: listgateways
        method: GET
        description: Istio List Gateways
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: creategateway
        method: POST
        description: Istio Create a Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: namespaces-namespace-gateways-name
      path: /namespaces/{namespace}/gateways/{name}
      operations:
      - name: getgateway
        method: GET
        description: Istio Get a Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: replacegateway
        method: PUT
        description: Istio Replace a Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletegateway
        method: DELETE
        description: Istio Delete a Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ISTIO_API_KEY}}'
  exposes:
  - type: rest
    namespace: networking-gateway-rest
    port: 8080
    description: REST adapter for Istio Networking API — Gateway. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/namespaces/{namespace}/gateways
      name: namespaces-namespace-gateways
      description: REST surface for namespaces-namespace-gateways.
      operations:
      - method: GET
        name: listgateways
        description: Istio List Gateways
        call: networking-gateway.listgateways
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: creategateway
        description: Istio Create a Gateway
        call: networking-gateway.creategateway
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/namespaces/{namespace}/gateways/{name}
      name: namespaces-namespace-gateways-name
      description: REST surface for namespaces-namespace-gateways-name.
      operations:
      - method: GET
        name: getgateway
        description: Istio Get a Gateway
        call: networking-gateway.getgateway
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: replacegateway
        description: Istio Replace a Gateway
        call: networking-gateway.replacegateway
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletegateway
        description: Istio Delete a Gateway
        call: networking-gateway.deletegateway
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: networking-gateway-mcp
    port: 9090
    transport: http
    description: MCP adapter for Istio Networking API — Gateway. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: istio-list-gateways
      description: Istio List Gateways
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: networking-gateway.listgateways
      outputParameters:
      - type: object
        mapping: $.
    - name: istio-create-gateway
      description: Istio Create a Gateway
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: networking-gateway.creategateway
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: istio-get-gateway
      description: Istio Get a Gateway
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: networking-gateway.getgateway
      outputParameters:
      - type: object
        mapping: $.
    - name: istio-replace-gateway
      description: Istio Replace a Gateway
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: networking-gateway.replacegateway
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: istio-delete-gateway
      description: Istio Delete a Gateway
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: networking-gateway.deletegateway
      outputParameters:
      - type: object
        mapping: $.