NATS · Capability

NATS Monitoring HTTP API — Gateways

NATS Monitoring HTTP API — Gateways. 1 operations. Lead operation: Gateway information. Self-contained Naftiko capability covering one Nats business surface.

Run with Naftiko NatsGateways

What You Can Do

GET
Getgatewayz — Gateway information
/v1/gatewayz

MCP Tools

gateway-information

Gateway information

read-only idempotent

Capability Spec

monitoring-gateways.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NATS Monitoring HTTP API — Gateways
  description: 'NATS Monitoring HTTP API — Gateways. 1 operations. Lead operation: Gateway information. Self-contained Naftiko
    capability covering one Nats business surface.'
  tags:
  - Nats
  - Gateways
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NATS_API_KEY: NATS_API_KEY
capability:
  consumes:
  - type: http
    namespace: monitoring-gateways
    baseUri: http://localhost:8222
    description: NATS Monitoring HTTP API — Gateways business capability. Self-contained, no shared references.
    resources:
    - name: gatewayz
      path: /gatewayz
      operations:
      - name: getgatewayz
        method: GET
        description: Gateway information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accs
          in: query
          type: boolean
        - name: gw_name
          in: query
          type: string
  exposes:
  - type: rest
    namespace: monitoring-gateways-rest
    port: 8080
    description: REST adapter for NATS Monitoring HTTP API — Gateways. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/gatewayz
      name: gatewayz
      description: REST surface for gatewayz.
      operations:
      - method: GET
        name: getgatewayz
        description: Gateway information
        call: monitoring-gateways.getgatewayz
        with:
          accs: rest.accs
          gw_name: rest.gw_name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: monitoring-gateways-mcp
    port: 9090
    transport: http
    description: MCP adapter for NATS Monitoring HTTP API — Gateways. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: gateway-information
      description: Gateway information
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: monitoring-gateways.getgatewayz
      with:
        accs: tools.accs
        gw_name: tools.gw_name
      outputParameters:
      - type: object
        mapping: $.