McAfee (Trellix) · Capability

McAfee MVISION API — Devices

McAfee MVISION API — Devices. 2 operations. Lead operation: McAfee List managed devices. Self-contained Naftiko capability covering one Mcafee business surface.

Run with Naftiko McafeeDevices

What You Can Do

GET
Listdevices — McAfee List managed devices
/v1/edr/v2/devices
GET
Getdevice — McAfee Get a specific device
/v1/edr/v2/devices/{deviceid}

MCP Tools

mcafee-list-managed-devices

McAfee List managed devices

read-only idempotent
mcafee-get-specific-device

McAfee Get a specific device

read-only idempotent

Capability Spec

mvision-devices.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: McAfee MVISION API — Devices
  description: 'McAfee MVISION API — Devices. 2 operations. Lead operation: McAfee List managed devices. Self-contained Naftiko
    capability covering one Mcafee business surface.'
  tags:
  - Mcafee
  - Devices
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MCAFEE_API_KEY: MCAFEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: mvision-devices
    baseUri: https://api.mvision.mcafee.com
    description: McAfee MVISION API — Devices business capability. Self-contained, no shared references.
    resources:
    - name: edr-v2-devices
      path: /edr/v2/devices
      operations:
      - name: listdevices
        method: GET
        description: McAfee List managed devices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter[hostName]
          in: query
          type: string
          description: Filter devices by hostname
        - name: filter[os]
          in: query
          type: string
          description: Filter devices by operating system
        - name: filter[healthStatus]
          in: query
          type: string
          description: Filter by device health status
    - name: edr-v2-devices-deviceId
      path: /edr/v2/devices/{deviceId}
      operations:
      - name: getdevice
        method: GET
        description: McAfee Get a specific device
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deviceId
          in: path
          type: string
          description: Unique device identifier
          required: true
    authentication:
      type: bearer
      token: '{{env.MCAFEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: mvision-devices-rest
    port: 8080
    description: REST adapter for McAfee MVISION API — Devices. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/edr/v2/devices
      name: edr-v2-devices
      description: REST surface for edr-v2-devices.
      operations:
      - method: GET
        name: listdevices
        description: McAfee List managed devices
        call: mvision-devices.listdevices
        with:
          filter[hostName]: rest.filter[hostName]
          filter[os]: rest.filter[os]
          filter[healthStatus]: rest.filter[healthStatus]
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/edr/v2/devices/{deviceid}
      name: edr-v2-devices-deviceid
      description: REST surface for edr-v2-devices-deviceId.
      operations:
      - method: GET
        name: getdevice
        description: McAfee Get a specific device
        call: mvision-devices.getdevice
        with:
          deviceId: rest.deviceId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: mvision-devices-mcp
    port: 9090
    transport: http
    description: MCP adapter for McAfee MVISION API — Devices. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: mcafee-list-managed-devices
      description: McAfee List managed devices
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: mvision-devices.listdevices
      with:
        filter[hostName]: tools.filter[hostName]
        filter[os]: tools.filter[os]
        filter[healthStatus]: tools.filter[healthStatus]
      outputParameters:
      - type: object
        mapping: $.
    - name: mcafee-get-specific-device
      description: McAfee Get a specific device
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: mvision-devices.getdevice
      with:
        deviceId: tools.deviceId
      outputParameters:
      - type: object
        mapping: $.