NATS · Capability

NATS Monitoring HTTP API — Accounts

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

Run with Naftiko NatsAccounts

What You Can Do

GET
Getaccountz — Account information
/v1/accountz

MCP Tools

account-information

Account information

read-only idempotent

Capability Spec

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