naftiko: 1.0.0-alpha2 info: label: Spinnaker Gate API — Clusters description: 'Spinnaker Gate API — Clusters. 2 operations. Lead operation: List Application Clusters. Self-contained Naftiko capability covering one Spinnaker business surface.' tags: - Spinnaker - Clusters created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SPINNAKER_API_KEY: SPINNAKER_API_KEY capability: consumes: - type: http namespace: gate-clusters baseUri: http://localhost:8084 description: Spinnaker Gate API — Clusters business capability. Self-contained, no shared references. resources: - name: applications-application-clusters path: /applications/{application}/clusters operations: - name: listapplicationclusters method: GET description: List Application Clusters outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: application in: path type: string description: The Spinnaker application name required: true - name: applications-application-clusters-account-clusterName-serverGroups path: /applications/{application}/clusters/{account}/{clusterName}/serverGroups operations: - name: listclusterservergroups method: GET description: List Cluster Server Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: application in: path type: string description: The Spinnaker application name required: true - name: account in: path type: string description: The cloud account name required: true - name: clusterName in: path type: string description: The cluster name required: true authentication: type: bearer token: '{{env.SPINNAKER_API_KEY}}' exposes: - type: rest namespace: gate-clusters-rest port: 8080 description: REST adapter for Spinnaker Gate API — Clusters. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/applications/{application}/clusters name: applications-application-clusters description: REST surface for applications-application-clusters. operations: - method: GET name: listapplicationclusters description: List Application Clusters call: gate-clusters.listapplicationclusters with: application: rest.application outputParameters: - type: object mapping: $. - path: /v1/applications/{application}/clusters/{account}/{clustername}/servergroups name: applications-application-clusters-account-clustername-servergroups description: REST surface for applications-application-clusters-account-clusterName-serverGroups. operations: - method: GET name: listclusterservergroups description: List Cluster Server Groups call: gate-clusters.listclusterservergroups with: application: rest.application account: rest.account clusterName: rest.clusterName outputParameters: - type: object mapping: $. - type: mcp namespace: gate-clusters-mcp port: 9090 transport: http description: MCP adapter for Spinnaker Gate API — Clusters. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-application-clusters description: List Application Clusters hints: readOnly: true destructive: false idempotent: true call: gate-clusters.listapplicationclusters with: application: tools.application outputParameters: - type: object mapping: $. - name: list-cluster-server-groups description: List Cluster Server Groups hints: readOnly: true destructive: false idempotent: true call: gate-clusters.listclusterservergroups with: application: tools.application account: tools.account clusterName: tools.clusterName outputParameters: - type: object mapping: $.