naftiko: 1.0.0-alpha2 info: label: Kong Enterprise Admin API — JWTs description: 'Kong Enterprise Admin API — JWTs. 3 operations. Lead operation: Create a new JWT associated with a Consumer. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - JWTs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KONG_API_KEY: KONG_API_KEY capability: consumes: - type: http namespace: gateway-admin-jwts baseUri: '' description: Kong Enterprise Admin API — JWTs business capability. Self-contained, no shared references. resources: - name: workspace-consumers-ConsumerIdForNestedEntities-jwt path: /{workspace}/consumers/{ConsumerIdForNestedEntities}/jwt operations: - name: createjwtwithconsumer method: POST description: Create a new JWT associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: workspace-consumers-ConsumerIdForNestedEntities-jwt-JWTId path: /{workspace}/consumers/{ConsumerIdForNestedEntities}/jwt/{JWTId} operations: - name: deletejwtwithconsumer method: DELETE description: Delete a a JWT associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getjwtwithconsumer method: GET description: Get a JWT associated with a Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Kong-Admin-Token value: '{{env.KONG_API_KEY}}' placement: header exposes: - type: rest namespace: gateway-admin-jwts-rest port: 8080 description: REST adapter for Kong Enterprise Admin API — JWTs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{workspace}/consumers/{consumeridfornestedentities}/jwt name: workspace-consumers-consumeridfornestedentities-jwt description: REST surface for workspace-consumers-ConsumerIdForNestedEntities-jwt. operations: - method: POST name: createjwtwithconsumer description: Create a new JWT associated with a Consumer call: gateway-admin-jwts.createjwtwithconsumer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/{workspace}/consumers/{consumeridfornestedentities}/jwt/{jwtid} name: workspace-consumers-consumeridfornestedentities-jwt-jwtid description: REST surface for workspace-consumers-ConsumerIdForNestedEntities-jwt-JWTId. operations: - method: DELETE name: deletejwtwithconsumer description: Delete a a JWT associated with a Consumer call: gateway-admin-jwts.deletejwtwithconsumer outputParameters: - type: object mapping: $. - method: GET name: getjwtwithconsumer description: Get a JWT associated with a Consumer call: gateway-admin-jwts.getjwtwithconsumer outputParameters: - type: object mapping: $. - type: mcp namespace: gateway-admin-jwts-mcp port: 9090 transport: http description: MCP adapter for Kong Enterprise Admin API — JWTs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-jwt-associated-consumer description: Create a new JWT associated with a Consumer hints: readOnly: false destructive: false idempotent: false call: gateway-admin-jwts.createjwtwithconsumer with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-jwt-associated-consumer description: Delete a a JWT associated with a Consumer hints: readOnly: false destructive: true idempotent: true call: gateway-admin-jwts.deletejwtwithconsumer outputParameters: - type: object mapping: $. - name: get-jwt-associated-consumer description: Get a JWT associated with a Consumer hints: readOnly: true destructive: false idempotent: true call: gateway-admin-jwts.getjwtwithconsumer outputParameters: - type: object mapping: $.