You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The alerting-rules skill triggers when a "User wants to silence or inhibit specific alerts", but the server only has the read-only homelab_alertList. There is no way to see, create or expire Alertmanager silences, so the agent can only send the user to the web UI.
Where
skills/alerting-rules/SKILL.md:23
mcp-server/src/tools/alertList.ts:37
Proposal
homelab_alertSilences: list silences (GET /api/v2/silences), optionally filtered by state.
homelab_alertSilence: create a silence (matchers, duration, comment, createdBy) or expire one by id (DELETE /api/v2/silence/{id}), gated by confirm: true.
Validate matcher names and values, and send the JSON body safely quoted (as adguardFilterToggle does).
Update the alerting-rules skill, and let the pre-reboot-checklist prompt suggest a maintenance silence.
Who benefits
Anyone doing planned maintenance (reboots, compose updates) who does not want to be paged for the expected downtime.
Acceptance criteria
Both tools registered, documented and covered by input-validation and confirm-gate tests.
Getting started
Relevant files: mcp-server/src/tools/alertList.ts, mcp-server/src/utils/service-http.ts, mcp-server/src/tools/adguardFilterToggle.ts (pattern for a gated POST)
Filed by repo-audit/full-audit at a59395f. Severity: medium. Effort: M. audit-key: enhancement|mcp-server/src/tools|alertSilence
Fixed in 36e06ff. Added homelab_alertSilences (list silences, optional state filter, compact one line per silence) and homelab_alertSilence (action: create with validated matchers, duration up to 30d and a required comment, JSON body shell-quoted; action: expire by UUID; gated by confirm: true with a preview otherwise). Registered and documented (README, CLAUDE.md incl. gated list, mcp-server README, mcp-tools.json, counts 51 -> 53, repo description); the alerting-rules skill has a maintenance-silence example and the pre-reboot-checklist prompt suggests a silence. Covered by input-validation, confirm-gate, registration and handler tests (414 passing).
Activity
TMHSDigital commentedon Nov 18, 2026
Fixed in 36e06ff. Added
homelab_alertSilences(list silences, optional state filter, compact one line per silence) andhomelab_alertSilence(action: createwith validated matchers, duration up to 30d and a required comment, JSON body shell-quoted;action: expireby UUID; gated byconfirm: truewith a preview otherwise). Registered and documented (README, CLAUDE.md incl. gated list, mcp-server README, mcp-tools.json, counts 51 -> 53, repo description); the alerting-rules skill has a maintenance-silence example and the pre-reboot-checklist prompt suggests a silence. Covered by input-validation, confirm-gate, registration and handler tests (414 passing).