Citrix · Capability

Citrix Endpoint Management REST API — Authentication

Citrix Endpoint Management REST API — Authentication. 2 operations. Lead operation: Citrix Authenticate to the API. Self-contained Naftiko capability covering one Citrix business surface.

Run with Naftiko CitrixAuthentication

What You Can Do

POST
Login — Citrix Authenticate to the API
/v1/authentication/login
POST
Logout — Citrix Log out
/v1/authentication/logout

MCP Tools

citrix-authenticate-api

Citrix Authenticate to the API

citrix-log-out

Citrix Log out

Capability Spec

endpoint-management-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Citrix Endpoint Management REST API — Authentication
  description: 'Citrix Endpoint Management REST API — Authentication. 2 operations. Lead operation: Citrix Authenticate to
    the API. Self-contained Naftiko capability covering one Citrix business surface.'
  tags:
  - Citrix
  - Authentication
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CITRIX_API_KEY: CITRIX_API_KEY
capability:
  consumes:
  - type: http
    namespace: endpoint-management-authentication
    baseUri: https://{xms-server}:4443/xenmobile/api/v1
    description: Citrix Endpoint Management REST API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: authentication-login
      path: /authentication/login
      operations:
      - name: login
        method: POST
        description: Citrix Authenticate to the API
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: authentication-logout
      path: /authentication/logout
      operations:
      - name: logout
        method: POST
        description: Citrix Log out
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: auth_token
      value: '{{env.CITRIX_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: endpoint-management-authentication-rest
    port: 8080
    description: REST adapter for Citrix Endpoint Management REST API — Authentication. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/authentication/login
      name: authentication-login
      description: REST surface for authentication-login.
      operations:
      - method: POST
        name: login
        description: Citrix Authenticate to the API
        call: endpoint-management-authentication.login
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/authentication/logout
      name: authentication-logout
      description: REST surface for authentication-logout.
      operations:
      - method: POST
        name: logout
        description: Citrix Log out
        call: endpoint-management-authentication.logout
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: endpoint-management-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Citrix Endpoint Management REST API — Authentication. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: citrix-authenticate-api
      description: Citrix Authenticate to the API
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: endpoint-management-authentication.login
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: citrix-log-out
      description: Citrix Log out
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: endpoint-management-authentication.logout
      outputParameters:
      - type: object
        mapping: $.