Citrix NetScaler · Capability

Citrix NetScaler NITRO REST API — System

Citrix NetScaler NITRO REST API — System. 3 operations. Lead operation: Citrix Netscaler List System Files. Self-contained Naftiko capability covering one Citrix Netscaler business surface.

Run with Naftiko Citrix NetscalerSystem

What You Can Do

GET
Listsystemfiles — Citrix Netscaler List System Files
/v1/config/systemfile
POST
Uploadsystemfile — Citrix Netscaler Upload a System File
/v1/config/systemfile
DELETE
Deletesystemfile — Citrix Netscaler Delete a System File
/v1/config/systemfile/{filename}

MCP Tools

citrix-netscaler-list-system-files

Citrix Netscaler List System Files

read-only idempotent
citrix-netscaler-upload-system-file

Citrix Netscaler Upload a System File

citrix-netscaler-delete-system-file

Citrix Netscaler Delete a System File

idempotent

Capability Spec

nitro-system.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Citrix NetScaler NITRO REST API — System
  description: 'Citrix NetScaler NITRO REST API — System. 3 operations. Lead operation: Citrix Netscaler List System Files.
    Self-contained Naftiko capability covering one Citrix Netscaler business surface.'
  tags:
  - Citrix Netscaler
  - System
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CITRIX_NETSCALER_API_KEY: CITRIX_NETSCALER_API_KEY
capability:
  consumes:
  - type: http
    namespace: nitro-system
    baseUri: https://{nsip}/nitro/v1
    description: Citrix NetScaler NITRO REST API — System business capability. Self-contained, no shared references.
    resources:
    - name: config-systemfile
      path: /config/systemfile
      operations:
      - name: listsystemfiles
        method: GET
        description: Citrix Netscaler List System Files
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: args
          in: query
          type: string
          description: File location argument in the format filelocation:%2Fnsconfig%2Fssl (URL-encoded path).
          required: true
      - name: uploadsystemfile
        method: POST
        description: Citrix Netscaler Upload a System File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: config-systemfile-filename
      path: /config/systemfile/{filename}
      operations:
      - name: deletesystemfile
        method: DELETE
        description: Citrix Netscaler Delete a System File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filename
          in: path
          type: string
          description: The name of the file to delete.
          required: true
        - name: args
          in: query
          type: string
          description: File location argument in the format filelocation:%2Fnsconfig%2Fssl (URL-encoded path).
          required: true
    authentication:
      type: apikey
      key: NITRO_AUTH_TOKEN
      value: '{{env.CITRIX_NETSCALER_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: nitro-system-rest
    port: 8080
    description: REST adapter for Citrix NetScaler NITRO REST API — System. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/config/systemfile
      name: config-systemfile
      description: REST surface for config-systemfile.
      operations:
      - method: GET
        name: listsystemfiles
        description: Citrix Netscaler List System Files
        call: nitro-system.listsystemfiles
        with:
          args: rest.args
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: uploadsystemfile
        description: Citrix Netscaler Upload a System File
        call: nitro-system.uploadsystemfile
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/config/systemfile/{filename}
      name: config-systemfile-filename
      description: REST surface for config-systemfile-filename.
      operations:
      - method: DELETE
        name: deletesystemfile
        description: Citrix Netscaler Delete a System File
        call: nitro-system.deletesystemfile
        with:
          filename: rest.filename
          args: rest.args
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: nitro-system-mcp
    port: 9090
    transport: http
    description: MCP adapter for Citrix NetScaler NITRO REST API — System. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: citrix-netscaler-list-system-files
      description: Citrix Netscaler List System Files
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: nitro-system.listsystemfiles
      with:
        args: tools.args
      outputParameters:
      - type: object
        mapping: $.
    - name: citrix-netscaler-upload-system-file
      description: Citrix Netscaler Upload a System File
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: nitro-system.uploadsystemfile
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: citrix-netscaler-delete-system-file
      description: Citrix Netscaler Delete a System File
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: nitro-system.deletesystemfile
      with:
        filename: tools.filename
        args: tools.args
      outputParameters:
      - type: object
        mapping: $.