Naftiko · Capability

Kong Gateway Psd2 Mirror Capability

A capability mirroring PSD2 (Berlin Group / UK Open Banking) endpoints through Kong with consent and rate-limit policies.

Run with Naftiko NaftikoKongPSD2Open Banking

What You Can Do

GET
List psd2 services
/psd2-services

MCP Tools

list-psd2-services

read-only
get-psd2-service

read-only

Capability Spec

kong-gateway-psd2-mirror-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  title: Kong Gateway Psd2 Mirror Capability
  description: A capability mirroring PSD2 (Berlin Group / UK Open Banking) endpoints through Kong with consent and rate-limit policies.
  tags: [Naftiko, Kong, PSD2, Open Banking]
  created: '2026-05-01'
  modified: '2026-05-04'
binds:
- namespace: kong-env
  keys: {KONG_HOST: KONG_HOST, KONG_TOKEN: KONG_TOKEN}
capability:
  consumes:
  - namespace: kong
    type: http
    baseUri: https://{{KONG_HOST}}
    authentication: {type: bearer, token: '{{KONG_TOKEN}}'}
    resources:
    - {name: services, path: /services, operations: [{name: list-psd2-services, method: GET}]}
    - name: service
      path: /services/{{service_id}}
      operations:
      - {name: get-psd2-service, method: GET, inputParameters: [{name: service_id, in: path}]}
  exposes:
  - type: rest
    address: 0.0.0.0
    port: 8080
    namespace: kong-gateway-psd2-mirror-capability-rest
    description: REST surface for PSD2 Kong mirror.
    resources:
    - {name: services, path: /psd2-services, operations: [{method: GET, name: list-psd2-services, call: kong.list-psd2-services}]}
  - type: mcp
    address: 0.0.0.0
    port: 3010
    namespace: kong-gateway-psd2-mirror-capability-mcp
    description: MCP for PSD2 Kong mirror.
    tools:
    - {name: list-psd2-services, hints: {readOnly: true}, call: kong.list-psd2-services}
    - name: get-psd2-service
      hints: {readOnly: true}
      inputParameters: [{name: service_id, type: string, required: true}]
      call: kong.get-psd2-service
  - type: skill
    address: 0.0.0.0
    port: 3011
    namespace: kong-gateway-psd2-mirror-capability-skills
    description: Skill for PSD2 Kong mirror.
    skills:
    - name: kong-gateway-psd2-mirror-capability
      description: PSD2 Kong gateway mirror.
      location: file:///opt/naftiko/skills/kong-gateway-psd2-mirror-capability
      allowed-tools: list-psd2-services,get-psd2-service
      tools:
      - {name: list-psd2-services, from: {sourceNamespace: kong-gateway-psd2-mirror-capability-mcp, action: list-psd2-services}}
      - {name: get-psd2-service, from: {sourceNamespace: kong-gateway-psd2-mirror-capability-mcp, action: get-psd2-service}}