talkops-alertmanager-mcp-server
v0.2.1A 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.
| Parameter | Type | Description |
|---|---|---|
backend_id | Alertmanager backend ID (defaults to primary backend) | |
env | Filter by environment label (e.g. prod, staging) | |
service | Filter by service label | |
severity | Filter by severity label (e.g. critical, warning) | |
team | Filter by owning team label |
am_list_alerts List Alerts
Query alerts from Alertmanager with full matcher grammar and state filtering.
| Parameter | Type | Description |
|---|---|---|
alertname | Alertname filter (supports exact name or '=~regex') | |
backend_id | Alertmanager backend ID (defaults to primary backend) | |
label_filters | Additional label matchers as a dict (e.g. {'env': 'prod', 'service': '=~api|web'}), list of matcher strings (['env="prod"']), or braced selector ('{env="prod"}') | |
limit | integer | Maximum alerts to return per page (1..500) |
offset | integer | Pagination offset |
receiver | Filter by receiver name regex | |
severity | Severity label filter | |
state | string | Alert 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.
| Parameter | Type | Description |
|---|---|---|
backend_id | Alertmanager backend ID (defaults to primary backend) | |
limit | integer | Maximum groups to return per page (1..200) |
max_alerts_per_group | integer | Maximum alerts included per group (1..100) |
offset | integer | Pagination offset |
receiver | Filter groups by receiver name | |
state | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
backend_id | Alertmanager backend ID (defaults to primary backend) | |
integration | Optional 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.
| Parameter | Type | Description |
|---|---|---|
at_time | Optional RFC3339 timestamp with timezone offset to evaluate mute_time_intervals / active_time_intervals at | |
backend_id | Alertmanager backend ID (defaults to primary backend) | |
check_live_state | boolean | Whether to evaluate live active silences and currently firing source alerts for inhibition rules |
fingerprint | Optional live alert fingerprint (auto-loads labels from the live alert) | |
labels | Alert 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.
| Parameter | Type | Description |
|---|---|---|
backend_id | Alertmanager backend ID (defaults to primary backend) | |
comment_search | Substring filter on silence comment or ticket ID | |
created_by | Substring filter on silence creator (createdBy) | |
limit | integer | Maximum silences per page (1..500) |
matchers | Optional matcher filter (e.g. 'service="checkout"' or {'env': 'prod'}) | |
offset | integer | Pagination offset |
state | string | Filter 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`).
| Parameter | Type | Description |
|---|---|---|
matchers * | Matchers to preview as API matcher objects, matcher strings (['alertname="HighLatency"', 'service="checkout"']), or label dict | |
backend_id | Alertmanager backend ID (defaults to primary backend) | |
comment | Proposed comment/ticket justification to validate against SP009 | |
created_by | Proposed creator attribution to validate against SP008 | |
duration_minutes | Proposed silence duration in minutes | |
ends_at | Optional RFC3339 end timestamp with timezone offset | |
starts_at | Optional 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.
| Parameter | Type | Description |
|---|---|---|
backend_id | Alertmanager backend ID (defaults to primary backend) | |
check_default_route | boolean | Detect active alerts falling through to the root default receiver |
check_long_firing_hours | integer | Threshold in hours to flag chronic long-firing alerts |
check_missing_annotations | boolean | Detect alerts missing required annotations (e.g. summary, runbook_url) |
limit | integer | Maximum 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.
| Parameter | Type | Description |
|---|---|---|
backend_id | Alertmanager backend ID (defaults to primary backend) | |
expiring_within_minutes | integer | Window in minutes to flag active silences that will expire soon |
since_minutes | integer | Look-back window in minutes for created/updated/expired silence change history (default 1440 = 24h) |