naftiko: 1.0.0-alpha2 info: label: Red Hat Insights API — Systems description: 'Red Hat Insights API — Systems. 2 operations. Lead operation: Red Hat List Systems. Self-contained Naftiko capability covering one Red Hat business surface.' tags: - Red Hat - Systems created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RED_HAT_API_KEY: RED_HAT_API_KEY capability: consumes: - type: http namespace: insights-systems baseUri: https://console.redhat.com/api description: Red Hat Insights API — Systems business capability. Self-contained, no shared references. resources: - name: insights-v1-system path: /insights/v1/system/ operations: - name: listsystems method: GET description: Red Hat List Systems outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: display_name in: query type: string description: Filter systems by display name. - name: sort in: query type: string description: The field to sort results by. Prefix with a dash for descending order. - name: insights-v1-system-system_id path: /insights/v1/system/{system_id}/ operations: - name: getsystem method: GET description: Red Hat Get a System outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.RED_HAT_API_KEY}}' exposes: - type: rest namespace: insights-systems-rest port: 8080 description: REST adapter for Red Hat Insights API — Systems. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/insights/v1/system name: insights-v1-system description: REST surface for insights-v1-system. operations: - method: GET name: listsystems description: Red Hat List Systems call: insights-systems.listsystems with: display_name: rest.display_name sort: rest.sort outputParameters: - type: object mapping: $. - path: /v1/insights/v1/system/{system-id} name: insights-v1-system-system-id description: REST surface for insights-v1-system-system_id. operations: - method: GET name: getsystem description: Red Hat Get a System call: insights-systems.getsystem outputParameters: - type: object mapping: $. - type: mcp namespace: insights-systems-mcp port: 9090 transport: http description: MCP adapter for Red Hat Insights API — Systems. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: red-hat-list-systems description: Red Hat List Systems hints: readOnly: true destructive: false idempotent: true call: insights-systems.listsystems with: display_name: tools.display_name sort: tools.sort outputParameters: - type: object mapping: $. - name: red-hat-get-system description: Red Hat Get a System hints: readOnly: true destructive: false idempotent: true call: insights-systems.getsystem outputParameters: - type: object mapping: $.