Naftiko · Capability

Kong Gateway Fhir Mirror Capability

A capability mirroring FHIR endpoints through a Kong gateway with rate-limit and audit policies for healthcare integrations.

Run with Naftiko NaftikoKongFHIRHealthcare

What You Can Do

GET
List fhir services
/fhir-services

MCP Tools

list-fhir-services

read-only
list-service-routes

read-only

Capability Spec

kong-gateway-fhir-mirror-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  title: Kong Gateway Fhir Mirror Capability
  description: A capability mirroring FHIR endpoints through a Kong gateway with rate-limit and audit policies for healthcare integrations.
  tags: [Naftiko, Kong, FHIR, Healthcare]
  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-fhir-services, method: GET}]}
    - name: service-routes
      path: /services/{{service_id}}/routes
      operations:
      - {name: list-service-routes, method: GET, inputParameters: [{name: service_id, in: path}]}
  exposes:
  - type: rest
    address: 0.0.0.0
    port: 8080
    namespace: kong-gateway-fhir-mirror-capability-rest
    description: REST surface for FHIR Kong mirror.
    resources:
    - {name: services, path: /fhir-services, operations: [{method: GET, name: list-fhir-services, call: kong.list-fhir-services}]}
  - type: mcp
    address: 0.0.0.0
    port: 3010
    namespace: kong-gateway-fhir-mirror-capability-mcp
    description: MCP for FHIR Kong mirror.
    tools:
    - {name: list-fhir-services, hints: {readOnly: true}, call: kong.list-fhir-services}
    - name: list-service-routes
      hints: {readOnly: true}
      inputParameters: [{name: service_id, type: string, required: true}]
      call: kong.list-service-routes
  - type: skill
    address: 0.0.0.0
    port: 3011
    namespace: kong-gateway-fhir-mirror-capability-skills
    description: Skill for FHIR Kong mirror.
    skills:
    - name: kong-gateway-fhir-mirror-capability
      description: FHIR Kong gateway mirror.
      location: file:///opt/naftiko/skills/kong-gateway-fhir-mirror-capability
      allowed-tools: list-fhir-services,list-service-routes
      tools:
      - {name: list-fhir-services, from: {sourceNamespace: kong-gateway-fhir-mirror-capability-mcp, action: list-fhir-services}}
      - {name: list-service-routes, from: {sourceNamespace: kong-gateway-fhir-mirror-capability-mcp, action: list-service-routes}}