naftiko: 1.0.0-alpha2 info: label: Cilium API — BGP description: 'Cilium API — BGP. 3 operations. Lead operation: Cilium List BGP peers. Self-contained Naftiko capability covering one Cilium business surface.' tags: - Cilium - BGP created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CILIUM_API_KEY: CILIUM_API_KEY capability: consumes: - type: http namespace: cilium-bgp baseUri: http://localhost/v1 description: Cilium API — BGP business capability. Self-contained, no shared references. resources: - name: bgp-peers path: /bgp/peers operations: - name: getbgppeers method: GET description: Cilium List BGP peers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: bgp-route-policies path: /bgp/route-policies operations: - name: getbgproutepolicies method: GET description: Cilium List BGP route policies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: bgp-routes path: /bgp/routes operations: - name: getbgproutes method: GET description: Cilium List BGP routes outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: cilium-bgp-rest port: 8080 description: REST adapter for Cilium API — BGP. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/bgp/peers name: bgp-peers description: REST surface for bgp-peers. operations: - method: GET name: getbgppeers description: Cilium List BGP peers call: cilium-bgp.getbgppeers outputParameters: - type: object mapping: $. - path: /v1/bgp/route-policies name: bgp-route-policies description: REST surface for bgp-route-policies. operations: - method: GET name: getbgproutepolicies description: Cilium List BGP route policies call: cilium-bgp.getbgproutepolicies outputParameters: - type: object mapping: $. - path: /v1/bgp/routes name: bgp-routes description: REST surface for bgp-routes. operations: - method: GET name: getbgproutes description: Cilium List BGP routes call: cilium-bgp.getbgproutes outputParameters: - type: object mapping: $. - type: mcp namespace: cilium-bgp-mcp port: 9090 transport: http description: MCP adapter for Cilium API — BGP. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cilium-list-bgp-peers description: Cilium List BGP peers hints: readOnly: true destructive: false idempotent: true call: cilium-bgp.getbgppeers outputParameters: - type: object mapping: $. - name: cilium-list-bgp-route-policies description: Cilium List BGP route policies hints: readOnly: true destructive: false idempotent: true call: cilium-bgp.getbgproutepolicies outputParameters: - type: object mapping: $. - name: cilium-list-bgp-routes description: Cilium List BGP routes hints: readOnly: true destructive: false idempotent: true call: cilium-bgp.getbgproutes outputParameters: - type: object mapping: $.