Qovery · Capability

Qovery API — ArgoCD

Qovery API — ArgoCD. 7 operations. Lead operation: Get ArgoCD app by ID. Self-contained Naftiko capability covering one Qovery business surface.

Run with Naftiko QoveryArgoCD

What You Can Do

GET
Getargocdapp — Get ArgoCD app by ID
/v1/argocdapp/{argocdappid}
POST
Saveargocdcredentials — Save ArgoCD credentials for a cluster
/v1/cluster/{clusterid}/argocdconfig
GET
Getargocdcredentials — Get ArgoCD credentials for a cluster
/v1/cluster/{clusterid}/argocdconfig
DELETE
Deleteargocdcredentials — Delete ArgoCD credentials for a cluster
/v1/cluster/{clusterid}/argocdconfig
POST
Checkargocdconnection — Check ArgoCD connection
/v1/cluster/{clusterid}/argocdconfig/check
POST
Saveargocddestinationclustermapping — Save an ArgoCD destination cluster mapping
/v1/organization/{organizationid}/argocddestinationclustermapping
GET
Listargocddestinationclustermappings — List ArgoCD instance mappings for an organization
/v1/organization/{organizationid}/argocddestinationclustermapping

MCP Tools

get-argocd-app-id

Get ArgoCD app by ID

read-only idempotent
save-argocd-credentials-cluster

Save ArgoCD credentials for a cluster

get-argocd-credentials-cluster

Get ArgoCD credentials for a cluster

read-only idempotent
delete-argocd-credentials-cluster

Delete ArgoCD credentials for a cluster

idempotent
check-argocd-connection

Check ArgoCD connection

read-only
save-argocd-destination-cluster-mapping

Save an ArgoCD destination cluster mapping

list-argocd-instance-mappings-organization

List ArgoCD instance mappings for an organization

read-only idempotent

Capability Spec

qovery-argocd.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Qovery API — ArgoCD
  description: 'Qovery API — ArgoCD. 7 operations. Lead operation: Get ArgoCD app by ID. Self-contained Naftiko capability
    covering one Qovery business surface.'
  tags:
  - Qovery
  - ArgoCD
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    QOVERY_API_KEY: QOVERY_API_KEY
capability:
  consumes:
  - type: http
    namespace: qovery-argocd
    baseUri: https://api.qovery.com
    description: Qovery API — ArgoCD business capability. Self-contained, no shared references.
    resources:
    - name: argocdApp-argocdAppId
      path: /argocdApp/{argocdAppId}
      operations:
      - name: getargocdapp
        method: GET
        description: Get ArgoCD app by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: cluster-clusterId-argoCdConfig
      path: /cluster/{clusterId}/argoCdConfig
      operations:
      - name: saveargocdcredentials
        method: POST
        description: Save ArgoCD credentials for a cluster
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getargocdcredentials
        method: GET
        description: Get ArgoCD credentials for a cluster
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteargocdcredentials
        method: DELETE
        description: Delete ArgoCD credentials for a cluster
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: cluster-clusterId-argoCdConfig-check
      path: /cluster/{clusterId}/argoCdConfig/check
      operations:
      - name: checkargocdconnection
        method: POST
        description: Check ArgoCD connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organization-organizationId-argoCdDestinationClusterMapping
      path: /organization/{organizationId}/argoCdDestinationClusterMapping
      operations:
      - name: saveargocddestinationclustermapping
        method: POST
        description: Save an ArgoCD destination cluster mapping
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listargocddestinationclustermappings
        method: GET
        description: List ArgoCD instance mappings for an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.QOVERY_API_KEY}}'
  exposes:
  - type: rest
    namespace: qovery-argocd-rest
    port: 8080
    description: REST adapter for Qovery API — ArgoCD. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/argocdapp/{argocdappid}
      name: argocdapp-argocdappid
      description: REST surface for argocdApp-argocdAppId.
      operations:
      - method: GET
        name: getargocdapp
        description: Get ArgoCD app by ID
        call: qovery-argocd.getargocdapp
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/cluster/{clusterid}/argocdconfig
      name: cluster-clusterid-argocdconfig
      description: REST surface for cluster-clusterId-argoCdConfig.
      operations:
      - method: POST
        name: saveargocdcredentials
        description: Save ArgoCD credentials for a cluster
        call: qovery-argocd.saveargocdcredentials
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getargocdcredentials
        description: Get ArgoCD credentials for a cluster
        call: qovery-argocd.getargocdcredentials
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteargocdcredentials
        description: Delete ArgoCD credentials for a cluster
        call: qovery-argocd.deleteargocdcredentials
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/cluster/{clusterid}/argocdconfig/check
      name: cluster-clusterid-argocdconfig-check
      description: REST surface for cluster-clusterId-argoCdConfig-check.
      operations:
      - method: POST
        name: checkargocdconnection
        description: Check ArgoCD connection
        call: qovery-argocd.checkargocdconnection
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/argocddestinationclustermapping
      name: organization-organizationid-argocddestinationclustermapping
      description: REST surface for organization-organizationId-argoCdDestinationClusterMapping.
      operations:
      - method: POST
        name: saveargocddestinationclustermapping
        description: Save an ArgoCD destination cluster mapping
        call: qovery-argocd.saveargocddestinationclustermapping
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listargocddestinationclustermappings
        description: List ArgoCD instance mappings for an organization
        call: qovery-argocd.listargocddestinationclustermappings
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: qovery-argocd-mcp
    port: 9090
    transport: http
    description: MCP adapter for Qovery API — ArgoCD. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-argocd-app-id
      description: Get ArgoCD app by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-argocd.getargocdapp
      outputParameters:
      - type: object
        mapping: $.
    - name: save-argocd-credentials-cluster
      description: Save ArgoCD credentials for a cluster
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-argocd.saveargocdcredentials
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-argocd-credentials-cluster
      description: Get ArgoCD credentials for a cluster
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-argocd.getargocdcredentials
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-argocd-credentials-cluster
      description: Delete ArgoCD credentials for a cluster
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: qovery-argocd.deleteargocdcredentials
      outputParameters:
      - type: object
        mapping: $.
    - name: check-argocd-connection
      description: Check ArgoCD connection
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: qovery-argocd.checkargocdconnection
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: save-argocd-destination-cluster-mapping
      description: Save an ArgoCD destination cluster mapping
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-argocd.saveargocddestinationclustermapping
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-argocd-instance-mappings-organization
      description: List ArgoCD instance mappings for an organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-argocd.listargocddestinationclustermappings
      outputParameters:
      - type: object
        mapping: $.