SuperTokens · Capability

SuperTokens Core Driver Interface — Health

SuperTokens Core Driver Interface — Health. 2 operations. Lead operation: Get API Version. Self-contained Naftiko capability covering one Supertokens business surface.

Run with Naftiko SupertokensHealth

What You Can Do

GET
Getapiversion — Get API Version
/v1/apiversion
GET
Gethealth — Get Service Health
/v1/hello

MCP Tools

get-api-version

Get API Version

read-only idempotent
get-service-health

Get Service Health

read-only idempotent

Capability Spec

core-driver-interface-health.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SuperTokens Core Driver Interface — Health
  description: 'SuperTokens Core Driver Interface — Health. 2 operations. Lead operation: Get API Version. Self-contained
    Naftiko capability covering one Supertokens business surface.'
  tags:
  - Supertokens
  - Health
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SUPERTOKENS_API_KEY: SUPERTOKENS_API_KEY
capability:
  consumes:
  - type: http
    namespace: core-driver-interface-health
    baseUri: http://{host}:{port}
    description: SuperTokens Core Driver Interface — Health business capability. Self-contained, no shared references.
    resources:
    - name: apiversion
      path: /apiversion
      operations:
      - name: getapiversion
        method: GET
        description: Get API Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: hello
      path: /hello
      operations:
      - name: gethealth
        method: GET
        description: Get Service Health
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: api-key
      value: '{{env.SUPERTOKENS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: core-driver-interface-health-rest
    port: 8080
    description: REST adapter for SuperTokens Core Driver Interface — Health. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/apiversion
      name: apiversion
      description: REST surface for apiversion.
      operations:
      - method: GET
        name: getapiversion
        description: Get API Version
        call: core-driver-interface-health.getapiversion
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/hello
      name: hello
      description: REST surface for hello.
      operations:
      - method: GET
        name: gethealth
        description: Get Service Health
        call: core-driver-interface-health.gethealth
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: core-driver-interface-health-mcp
    port: 9090
    transport: http
    description: MCP adapter for SuperTokens Core Driver Interface — Health. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-api-version
      description: Get API Version
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-driver-interface-health.getapiversion
      outputParameters:
      - type: object
        mapping: $.
    - name: get-service-health
      description: Get Service Health
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: core-driver-interface-health.gethealth
      outputParameters:
      - type: object
        mapping: $.