naftiko: 1.0.0-alpha2 info: label: Red Hat Subscription Management API — Systems description: 'Red Hat Subscription Management API — Systems. 2 operations. Lead operation: List Systems. Self-contained Naftiko capability covering one Rhel business surface.' tags: - Rhel - Systems created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RHEL_API_KEY: RHEL_API_KEY capability: consumes: - type: http namespace: subscription-management-systems baseUri: https://api.access.redhat.com/management/v1 description: Red Hat Subscription Management API — Systems business capability. Self-contained, no shared references. resources: - name: systems path: /systems operations: - name: listsystems method: GET description: List Systems outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Maximum number of systems to return - name: offset in: query type: integer description: Offset for pagination - name: systems-uuid path: /systems/{uuid} operations: - name: getsystem method: GET description: Get System outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: uuid in: path type: string description: System UUID required: true authentication: type: bearer token: '{{env.RHEL_API_KEY}}' exposes: - type: rest namespace: subscription-management-systems-rest port: 8080 description: REST adapter for Red Hat Subscription Management API — Systems. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/systems name: systems description: REST surface for systems. operations: - method: GET name: listsystems description: List Systems call: subscription-management-systems.listsystems with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/systems/{uuid} name: systems-uuid description: REST surface for systems-uuid. operations: - method: GET name: getsystem description: Get System call: subscription-management-systems.getsystem with: uuid: rest.uuid outputParameters: - type: object mapping: $. - type: mcp namespace: subscription-management-systems-mcp port: 9090 transport: http description: MCP adapter for Red Hat Subscription Management API — Systems. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-systems description: List Systems hints: readOnly: true destructive: false idempotent: true call: subscription-management-systems.listsystems with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: get-system description: Get System hints: readOnly: true destructive: false idempotent: true call: subscription-management-systems.getsystem with: uuid: tools.uuid outputParameters: - type: object mapping: $.