Citrix NetScaler · Capability

Citrix NetScaler NITRO REST API — Authentication

Citrix NetScaler NITRO REST API — Authentication. 2 operations. Lead operation: Citrix Netscaler Log in to the Netscaler Appliance. Self-contained Naftiko capability covering one Citrix Netscaler business surface.

Run with Naftiko Citrix NetscalerAuthentication

What You Can Do

POST
Login — Citrix Netscaler Log in to the Netscaler Appliance
/v1/config/login
POST
Logout — Citrix Netscaler Log Out From the Netscaler Appliance
/v1/config/logout

MCP Tools

citrix-netscaler-log-netscaler-appliance

Citrix Netscaler Log in to the Netscaler Appliance

citrix-netscaler-log-out-netscaler

Citrix Netscaler Log Out From the Netscaler Appliance

Capability Spec

nitro-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Citrix NetScaler NITRO REST API — Authentication
  description: 'Citrix NetScaler NITRO REST API — Authentication. 2 operations. Lead operation: Citrix Netscaler Log in to
    the Netscaler Appliance. Self-contained Naftiko capability covering one Citrix Netscaler business surface.'
  tags:
  - Citrix Netscaler
  - Authentication
  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-authentication
    baseUri: https://{nsip}/nitro/v1
    description: Citrix NetScaler NITRO REST API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: config-login
      path: /config/login
      operations:
      - name: login
        method: POST
        description: Citrix Netscaler Log in to the Netscaler Appliance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: config-logout
      path: /config/logout
      operations:
      - name: logout
        method: POST
        description: Citrix Netscaler Log Out From the Netscaler Appliance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: NITRO_AUTH_TOKEN
      value: '{{env.CITRIX_NETSCALER_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: nitro-authentication-rest
    port: 8080
    description: REST adapter for Citrix NetScaler NITRO REST API — Authentication. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/config/login
      name: config-login
      description: REST surface for config-login.
      operations:
      - method: POST
        name: login
        description: Citrix Netscaler Log in to the Netscaler Appliance
        call: nitro-authentication.login
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/config/logout
      name: config-logout
      description: REST surface for config-logout.
      operations:
      - method: POST
        name: logout
        description: Citrix Netscaler Log Out From the Netscaler Appliance
        call: nitro-authentication.logout
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: nitro-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Citrix NetScaler NITRO REST API — Authentication. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: citrix-netscaler-log-netscaler-appliance
      description: Citrix Netscaler Log in to the Netscaler Appliance
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: nitro-authentication.login
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: citrix-netscaler-log-out-netscaler
      description: Citrix Netscaler Log Out From the Netscaler Appliance
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: nitro-authentication.logout
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.