Tyk · Capability

Tyk MDCB Data Planes and Diagnostics API — Env

Tyk MDCB Data Planes and Diagnostics API — Env. 1 operations. Lead operation: Tyk Retrieve Environment Variables. Self-contained Naftiko capability covering one Tyk business surface.

Run with Naftiko TykEnv

What You Can Do

GET
Envget — Tyk Retrieve Environment Variables
/v1/env

MCP Tools

tyk-retrieve-environment-variables

Tyk Retrieve Environment Variables

read-only idempotent

Capability Spec

mdcb-env.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tyk MDCB Data Planes and Diagnostics API — Env
  description: 'Tyk MDCB Data Planes and Diagnostics API — Env. 1 operations. Lead operation: Tyk Retrieve Environment Variables.
    Self-contained Naftiko capability covering one Tyk business surface.'
  tags:
  - Tyk
  - Env
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TYK_API_KEY: TYK_API_KEY
capability:
  consumes:
  - type: http
    namespace: mdcb-env
    baseUri: https://{tenant}
    description: Tyk MDCB Data Planes and Diagnostics API — Env business capability. Self-contained, no shared references.
    resources:
    - name: env
      path: /env
      operations:
      - name: envget
        method: GET
        description: Tyk Retrieve Environment Variables
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Tyk-Authorization
          in: header
          type: string
          description: Secret value set in sink.conf
          required: true
    authentication:
      type: apikey
      key: X-Tyk-Authorization
      value: '{{env.TYK_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: mdcb-env-rest
    port: 8080
    description: REST adapter for Tyk MDCB Data Planes and Diagnostics API — Env. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/env
      name: env
      description: REST surface for env.
      operations:
      - method: GET
        name: envget
        description: Tyk Retrieve Environment Variables
        call: mdcb-env.envget
        with:
          X-Tyk-Authorization: rest.X-Tyk-Authorization
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: mdcb-env-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tyk MDCB Data Planes and Diagnostics API — Env. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: tyk-retrieve-environment-variables
      description: Tyk Retrieve Environment Variables
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: mdcb-env.envget
      with:
        X-Tyk-Authorization: tools.X-Tyk-Authorization
      outputParameters:
      - type: object
        mapping: $.