naftiko: 1.0.0-alpha2 info: label: Argo CD — ClusterService description: 'Argo CD — ClusterService. 7 operations. Lead operation: Argo CD List Returns List of Clusters. Self-contained Naftiko capability covering one Argo Cd business surface.' tags: - Argo Cd - ClusterService created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ARGO_CD_API_KEY: ARGO_CD_API_KEY capability: consumes: - type: http namespace: argo-cd-clusterservice baseUri: '' description: Argo CD — ClusterService business capability. Self-contained, no shared references. resources: - name: api-v1-clusters path: /api/v1/clusters operations: - name: clusterservicelist method: GET description: Argo CD List Returns List of Clusters outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: server in: query type: string - name: name in: query type: string - name: id.type in: query type: string description: type is the type of the specified cluster identifier ( "server" - default, "name" ). - name: id.value in: query type: string description: value holds the cluster server URL or cluster name. - name: clusterservicecreate method: POST description: Argo CD Create Creates a Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string required: true - name: upsert in: query type: boolean - name: api-v1-clusters-id.value path: /api/v1/clusters/{id.value} operations: - name: clusterserviceget method: GET description: Argo CD Get Returns a Cluster by Server Address outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.value in: path type: string description: value holds the cluster server URL or cluster name required: true - name: server in: query type: string - name: name in: query type: string - name: id.type in: query type: string description: type is the type of the specified cluster identifier ( "server" - default, "name" ). - name: clusterserviceupdate method: PUT description: Argo CD Update Updates a Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.value in: path type: string description: value holds the cluster server URL or cluster name required: true - name: body in: body type: string required: true - name: updatedFields in: query type: array - name: id.type in: query type: string description: type is the type of the specified cluster identifier ( "server" - default, "name" ). - name: clusterservicedelete method: DELETE description: Argo CD Delete Deletes a Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.value in: path type: string description: value holds the cluster server URL or cluster name required: true - name: server in: query type: string - name: name in: query type: string - name: id.type in: query type: string description: type is the type of the specified cluster identifier ( "server" - default, "name" ). - name: api-v1-clusters-id.value-invalidate-cache path: /api/v1/clusters/{id.value}/invalidate-cache operations: - name: clusterserviceinvalidatecache method: POST description: Argo CD InvalidateCache Invalidates Cluster Cache outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.value in: path type: string description: value holds the cluster server URL or cluster name required: true - name: api-v1-clusters-id.value-rotate-auth path: /api/v1/clusters/{id.value}/rotate-auth operations: - name: clusterservicerotateauth method: POST description: Argo CD RotateAuth Rotates the Bearer Token Used for a Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.value in: path type: string description: value holds the cluster server URL or cluster name required: true exposes: - type: rest namespace: argo-cd-clusterservice-rest port: 8080 description: REST adapter for Argo CD — ClusterService. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/clusters name: api-v1-clusters description: REST surface for api-v1-clusters. operations: - method: GET name: clusterservicelist description: Argo CD List Returns List of Clusters call: argo-cd-clusterservice.clusterservicelist with: server: rest.server name: rest.name id.type: rest.id.type id.value: rest.id.value outputParameters: - type: object mapping: $. - method: POST name: clusterservicecreate description: Argo CD Create Creates a Cluster call: argo-cd-clusterservice.clusterservicecreate with: body: rest.body upsert: rest.upsert outputParameters: - type: object mapping: $. - path: /v1/api/v1/clusters/{id-value} name: api-v1-clusters-id-value description: REST surface for api-v1-clusters-id.value. operations: - method: GET name: clusterserviceget description: Argo CD Get Returns a Cluster by Server Address call: argo-cd-clusterservice.clusterserviceget with: id.value: rest.id.value server: rest.server name: rest.name id.type: rest.id.type outputParameters: - type: object mapping: $. - method: PUT name: clusterserviceupdate description: Argo CD Update Updates a Cluster call: argo-cd-clusterservice.clusterserviceupdate with: id.value: rest.id.value body: rest.body updatedFields: rest.updatedFields id.type: rest.id.type outputParameters: - type: object mapping: $. - method: DELETE name: clusterservicedelete description: Argo CD Delete Deletes a Cluster call: argo-cd-clusterservice.clusterservicedelete with: id.value: rest.id.value server: rest.server name: rest.name id.type: rest.id.type outputParameters: - type: object mapping: $. - path: /v1/api/v1/clusters/{id-value}/invalidate-cache name: api-v1-clusters-id-value-invalidate-cache description: REST surface for api-v1-clusters-id.value-invalidate-cache. operations: - method: POST name: clusterserviceinvalidatecache description: Argo CD InvalidateCache Invalidates Cluster Cache call: argo-cd-clusterservice.clusterserviceinvalidatecache with: id.value: rest.id.value outputParameters: - type: object mapping: $. - path: /v1/api/v1/clusters/{id-value}/rotate-auth name: api-v1-clusters-id-value-rotate-auth description: REST surface for api-v1-clusters-id.value-rotate-auth. operations: - method: POST name: clusterservicerotateauth description: Argo CD RotateAuth Rotates the Bearer Token Used for a Cluster call: argo-cd-clusterservice.clusterservicerotateauth with: id.value: rest.id.value outputParameters: - type: object mapping: $. - type: mcp namespace: argo-cd-clusterservice-mcp port: 9090 transport: http description: MCP adapter for Argo CD — ClusterService. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: argo-cd-list-returns-list description: Argo CD List Returns List of Clusters hints: readOnly: true destructive: false idempotent: true call: argo-cd-clusterservice.clusterservicelist with: server: tools.server name: tools.name id.type: tools.id.type id.value: tools.id.value outputParameters: - type: object mapping: $. - name: argo-cd-create-creates-cluster description: Argo CD Create Creates a Cluster hints: readOnly: false destructive: false idempotent: false call: argo-cd-clusterservice.clusterservicecreate with: body: tools.body upsert: tools.upsert outputParameters: - type: object mapping: $. - name: argo-cd-get-returns-cluster description: Argo CD Get Returns a Cluster by Server Address hints: readOnly: true destructive: false idempotent: true call: argo-cd-clusterservice.clusterserviceget with: id.value: tools.id.value server: tools.server name: tools.name id.type: tools.id.type outputParameters: - type: object mapping: $. - name: argo-cd-update-updates-cluster description: Argo CD Update Updates a Cluster hints: readOnly: false destructive: false idempotent: true call: argo-cd-clusterservice.clusterserviceupdate with: id.value: tools.id.value body: tools.body updatedFields: tools.updatedFields id.type: tools.id.type outputParameters: - type: object mapping: $. - name: argo-cd-delete-deletes-cluster description: Argo CD Delete Deletes a Cluster hints: readOnly: false destructive: true idempotent: true call: argo-cd-clusterservice.clusterservicedelete with: id.value: tools.id.value server: tools.server name: tools.name id.type: tools.id.type outputParameters: - type: object mapping: $. - name: argo-cd-invalidatecache-invalidates-cluster description: Argo CD InvalidateCache Invalidates Cluster Cache hints: readOnly: true destructive: false idempotent: false call: argo-cd-clusterservice.clusterserviceinvalidatecache with: id.value: tools.id.value outputParameters: - type: object mapping: $. - name: argo-cd-rotateauth-rotates-bearer description: Argo CD RotateAuth Rotates the Bearer Token Used for a Cluster hints: readOnly: false destructive: false idempotent: false call: argo-cd-clusterservice.clusterservicerotateauth with: id.value: tools.id.value outputParameters: - type: object mapping: $.