Prometheus · Capability

Prometheus Alertmanager API — Receivers

Prometheus Alertmanager API — Receivers. 1 operations. Lead operation: Prometheus List receivers. Self-contained Naftiko capability covering one Prometheus business surface.

Run with Naftiko PrometheusReceivers

What You Can Do

GET
Listreceivers — Prometheus List receivers
/v1/api/v2/receivers

MCP Tools

prometheus-list-receivers

Prometheus List receivers

read-only idempotent

Capability Spec

alertmanager-receivers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Prometheus Alertmanager API — Receivers
  description: 'Prometheus Alertmanager API — Receivers. 1 operations. Lead operation: Prometheus List receivers. Self-contained
    Naftiko capability covering one Prometheus business surface.'
  tags:
  - Prometheus
  - Receivers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PROMETHEUS_API_KEY: PROMETHEUS_API_KEY
capability:
  consumes:
  - type: http
    namespace: alertmanager-receivers
    baseUri: http://{host}:{port}
    description: Prometheus Alertmanager API — Receivers business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-receivers
      path: /api/v2/receivers
      operations:
      - name: listreceivers
        method: GET
        description: Prometheus List receivers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: alertmanager-receivers-rest
    port: 8080
    description: REST adapter for Prometheus Alertmanager API — Receivers. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v2/receivers
      name: api-v2-receivers
      description: REST surface for api-v2-receivers.
      operations:
      - method: GET
        name: listreceivers
        description: Prometheus List receivers
        call: alertmanager-receivers.listreceivers
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: alertmanager-receivers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Prometheus Alertmanager API — Receivers. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: prometheus-list-receivers
      description: Prometheus List receivers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: alertmanager-receivers.listreceivers
      outputParameters:
      - type: object
        mapping: $.