talkops-alertmanager-mcp-server

v0.2.1
talkops-alertmanager-mcp-server Checked 16 hours ago Published 13 days ago

A Model Context Protocol (MCP) server and Agent Plugins v1.0.0 skill suite for Prometheus Alertmanager alert triage, routing simulation, silence governance…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

am_summarize_oncall Summarize Alerts for On-Call

Generate a structured on-call triage summary of active and suppressed alerts. Aggregates firing alerts by severity, environment, service, and team, verifies dead-man's-switch (Watchdog) heartbeat status, and reports active silence count.

ParameterTypeDescription
backend_idAlertmanager backend ID (defaults to primary backend)
envFilter by environment label (e.g. prod, staging)
serviceFilter by service label
severityFilter by severity label (e.g. critical, warning)
teamFilter by owning team label

am_list_alerts List Alerts

Query alerts from Alertmanager with full matcher grammar and state filtering.

ParameterTypeDescription
alertnameAlertname filter (supports exact name or '=~regex')
backend_idAlertmanager backend ID (defaults to primary backend)
label_filtersAdditional label matchers as a dict (e.g. {'env': 'prod', 'service': '=~api|web'}), list of matcher strings (['env="prod"']), or braced selector ('{env="prod"}')
limitintegerMaximum alerts to return per page (1..500)
offsetintegerPagination offset
receiverFilter by receiver name regex
severitySeverity label filter
statestringAlert state filter: active, suppressed, silenced, inhibited, unprocessed, or all

am_list_alert_groups List Alert Groups

List Alertmanager dispatch groups grouped by route `group_by` labels.

ParameterTypeDescription
backend_idAlertmanager backend ID (defaults to primary backend)
limitintegerMaximum groups to return per page (1..200)
max_alerts_per_groupintegerMaximum alerts included per group (1..100)
offsetintegerPagination offset
receiverFilter groups by receiver name
statestringFilter alerts in groups by state: active, suppressed, or all

am_check_notification_health Check Notification Pipeline Health

Inspect Alertmanager readiness, config reload status, cluster peers, and `/metrics` receiver delivery failure counters.

ParameterTypeDescription
backend_idAlertmanager backend ID (defaults to primary backend)
integrationOptional receiver integration type filter (e.g. 'slack', 'pagerduty', 'email', 'webhook', 'opsgenie')

am_explain_routing Explain Alert Routing & Inhibition

Simulate Alertmanager's nested routing tree (`continue`, inherited `group_by`/timers, `mute_time_intervals`) and live inhibition rules.

ParameterTypeDescription
at_timeOptional RFC3339 timestamp with timezone offset to evaluate mute_time_intervals / active_time_intervals at
backend_idAlertmanager backend ID (defaults to primary backend)
check_live_statebooleanWhether to evaluate live active silences and currently firing source alerts for inhibition rules
fingerprintOptional live alert fingerprint (auto-loads labels from the live alert)
labelsAlert label set to evaluate (e.g. {'alertname': 'HighErrorRate', 'env': 'prod', 'severity': 'critical'})

am_list_silences List Silences

List silences with state, matcher, author, and comment filtering.

ParameterTypeDescription
backend_idAlertmanager backend ID (defaults to primary backend)
comment_searchSubstring filter on silence comment or ticket ID
created_bySubstring filter on silence creator (createdBy)
limitintegerMaximum silences per page (1..500)
matchersOptional matcher filter (e.g. 'service="checkout"' or {'env': 'prod'})
offsetintegerPagination offset
statestringFilter silences by state: active, pending, expired, or all

am_preview_silence Preview Silence Blast Radius & Policy

Dry-run a silence against active alerts, routing receivers, overlapping silences, and `SilencePolicy` (`SP001`–`SP010`).

ParameterTypeDescription
matchers *Matchers to preview as API matcher objects, matcher strings (['alertname="HighLatency"', 'service="checkout"']), or label dict
backend_idAlertmanager backend ID (defaults to primary backend)
commentProposed comment/ticket justification to validate against SP009
created_byProposed creator attribution to validate against SP008
duration_minutesProposed silence duration in minutes
ends_atOptional RFC3339 end timestamp with timezone offset
starts_atOptional RFC3339 start timestamp with timezone offset (e.g. '2026-03-29T10:00:00Z')

am_audit_alert_hygiene Audit Alert & Routing Hygiene

Audit active alerts for default-route leakage, missing runbook/summary annotations, invalid severity values, chronic long-firing alerts, and Watchdog heartbeat presence.

ParameterTypeDescription
backend_idAlertmanager backend ID (defaults to primary backend)
check_default_routebooleanDetect active alerts falling through to the root default receiver
check_long_firing_hoursintegerThreshold in hours to flag chronic long-firing alerts
check_missing_annotationsbooleanDetect alerts missing required annotations (e.g. summary, runbook_url)
limitintegerMaximum sample alerts returned per hygiene finding category

am_audit_silences Audit Silences & Governance Compliance

Audit silence change history, active silence policy compliance (`SP001`–`SP009`), stale 0-match silences, and silences expiring soon.

ParameterTypeDescription
backend_idAlertmanager backend ID (defaults to primary backend)
expiring_within_minutesintegerWindow in minutes to flag active silences that will expire soon
since_minutesintegerLook-back window in minutes for created/updated/expired silence change history (default 1440 = 24h)