Citrix · Capability

Citrix DaaS REST API — Machines

Citrix DaaS REST API — Machines. 2 operations. Lead operation: Citrix List machines. Self-contained Naftiko capability covering one Citrix business surface.

Run with Naftiko CitrixMachines

What You Can Do

GET
Listmachines — Citrix List machines
/v1/machines
GET
Getmachine — Citrix Get a machine
/v1/machines/{machineid}

MCP Tools

citrix-list-machines

Citrix List machines

read-only idempotent
citrix-get-machine

Citrix Get a machine

read-only idempotent

Capability Spec

daas-machines.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Citrix DaaS REST API — Machines
  description: 'Citrix DaaS REST API — Machines. 2 operations. Lead operation: Citrix List machines. Self-contained Naftiko
    capability covering one Citrix business surface.'
  tags:
  - Citrix
  - Machines
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CITRIX_API_KEY: CITRIX_API_KEY
capability:
  consumes:
  - type: http
    namespace: daas-machines
    baseUri: https://api.cloud.com/cvad/manage
    description: Citrix DaaS REST API — Machines business capability. Self-contained, no shared references.
    resources:
    - name: Machines
      path: /Machines
      operations:
      - name: listmachines
        method: GET
        description: Citrix List machines
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: Machines-machineId
      path: /Machines/{machineId}
      operations:
      - name: getmachine
        method: GET
        description: Citrix Get a machine
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.CITRIX_API_KEY}}'
  exposes:
  - type: rest
    namespace: daas-machines-rest
    port: 8080
    description: REST adapter for Citrix DaaS REST API — Machines. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/machines
      name: machines
      description: REST surface for Machines.
      operations:
      - method: GET
        name: listmachines
        description: Citrix List machines
        call: daas-machines.listmachines
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/machines/{machineid}
      name: machines-machineid
      description: REST surface for Machines-machineId.
      operations:
      - method: GET
        name: getmachine
        description: Citrix Get a machine
        call: daas-machines.getmachine
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: daas-machines-mcp
    port: 9090
    transport: http
    description: MCP adapter for Citrix DaaS REST API — Machines. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: citrix-list-machines
      description: Citrix List machines
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: daas-machines.listmachines
      outputParameters:
      - type: object
        mapping: $.
    - name: citrix-get-machine
      description: Citrix Get a machine
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: daas-machines.getmachine
      outputParameters:
      - type: object
        mapping: $.