naftiko: 1.0.0-alpha2 info: label: Gravitee.io - Access Management API — Factor description: 'Gravitee.io - Access Management API — Factor. 3 operations. Lead operation: List factor plugins. Self-contained Naftiko capability covering one Gravitee business surface.' tags: - Gravitee - Factor created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAVITEE_API_KEY: GRAVITEE_API_KEY capability: consumes: - type: http namespace: am-factor baseUri: '' description: Gravitee.io - Access Management API — Factor business capability. Self-contained, no shared references. resources: - name: platform-plugins-factors path: /platform/plugins/factors operations: - name: listfactorplugins method: GET description: List factor plugins outputRawFormat: json outputParameters: - name: result type: object value: $. - name: platform-plugins-factors-factor path: /platform/plugins/factors/{factor} operations: - name: getfactorplugin method: GET description: Get a factor plugin outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: factor in: path type: string required: true - name: platform-plugins-factors-factor-schema path: /platform/plugins/factors/{factor}/schema operations: - name: getfactorpluginschema method: GET description: Get a factor plugin's schema outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: factor in: path type: string required: true authentication: type: bearer token: '{{env.GRAVITEE_API_KEY}}' exposes: - type: rest namespace: am-factor-rest port: 8080 description: REST adapter for Gravitee.io - Access Management API — Factor. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/platform/plugins/factors name: platform-plugins-factors description: REST surface for platform-plugins-factors. operations: - method: GET name: listfactorplugins description: List factor plugins call: am-factor.listfactorplugins outputParameters: - type: object mapping: $. - path: /v1/platform/plugins/factors/{factor} name: platform-plugins-factors-factor description: REST surface for platform-plugins-factors-factor. operations: - method: GET name: getfactorplugin description: Get a factor plugin call: am-factor.getfactorplugin with: factor: rest.factor outputParameters: - type: object mapping: $. - path: /v1/platform/plugins/factors/{factor}/schema name: platform-plugins-factors-factor-schema description: REST surface for platform-plugins-factors-factor-schema. operations: - method: GET name: getfactorpluginschema description: Get a factor plugin's schema call: am-factor.getfactorpluginschema with: factor: rest.factor outputParameters: - type: object mapping: $. - type: mcp namespace: am-factor-mcp port: 9090 transport: http description: MCP adapter for Gravitee.io - Access Management API — Factor. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-factor-plugins description: List factor plugins hints: readOnly: true destructive: false idempotent: true call: am-factor.listfactorplugins outputParameters: - type: object mapping: $. - name: get-factor-plugin description: Get a factor plugin hints: readOnly: true destructive: false idempotent: true call: am-factor.getfactorplugin with: factor: tools.factor outputParameters: - type: object mapping: $. - name: get-factor-plugin-s-schema description: Get a factor plugin's schema hints: readOnly: true destructive: false idempotent: true call: am-factor.getfactorpluginschema with: factor: tools.factor outputParameters: - type: object mapping: $.