MCP Alertmanager logo

MCP Alertmanager

Connects AI clients to Prometheus Alertmanager for alert analysis, status checks, receiver discovery, and silence management.

Install MCP Alertmanager

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-alertmanager": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-alertmanager@latest"
      ],
      "env": {
        "ALERTMANAGER_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 12 tools correctly ().

Overview

The mcp-alertmanager MCP server connects AI clients to Prometheus Alertmanager through its API or a Kubernetes API proxy. It exposes tools for querying, grouping, summarizing, investigating, and correlating alerts, along with managing silences and checking server status. Configure a direct URL with ALERTMANAGER_URL or let it detect kubeconfig or in-cluster Kubernetes access. Reach for it when an agent needs operational visibility into Alertmanager without requiring kubectl or port-forwarding.

Use cases

  • Query currently firing alerts
  • Summarize alert severity and namespaces
  • Investigate a specific Alertmanager alert
  • Create or delete alert silences
  • Find correlated alerts by shared labels

Key features

  • Alert filtering, grouping, and severity queries
  • Alerting summaries with counts and namespaces
  • Silence creation, listing, and deletion
  • Alert investigation, history, and correlation
  • Alertmanager status and receiver inspection
  • Kubernetes API proxy auto-connect

Tools12

What MCP Alertmanager lets your agent do. Expand a tool for its parameters.

Verified live~634 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

19/19 checks healthy over the last 83d

What it can do

From the 12 tools this server returned when we ran it; 12 declare their own safety hints.

Can delete or modify data · 1Read-only tools · 11
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age336 days
Maintainers1

Observed 2026-11-05 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8h ago via OSV.dev · mcp-alertmanager@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads383Package downloads in the last 30 days.
Last commit23d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed12Callable tools this server registers over MCP.

How MCP Alertmanager works

What mcp-alertmanager MCP server does

The mcp-alertmanager MCP server gives MCP-compatible clients access to Prometheus Alertmanager operations. It supports alert retrieval with optional filters, grouping by routing labels, critical-alert queries, and summaries that include severity counts, top alerts, and namespaces.

The server also covers common Alertmanager administration and troubleshooting tasks. Agents can list silences by state, create a silence for an alert, remove a silence by ID, inspect configured receivers, and retrieve Alertmanager status, version, and cluster information. Investigation, history, and correlation tools provide focused workflows for examining an individual alert, reviewing its history, or finding alerts with shared labels.

How it works

The mcp-alertmanager MCP server uses one of two connection paths. When a direct URL is supplied through the --url flag or ALERTMANAGER_URL, it connects to that Alertmanager endpoint. Direct configuration takes precedence over Kubernetes discovery.

Without a direct URL, the server uses the Kubernetes client-go configuration. It can detect a local kubeconfig or use in-cluster configuration, then reach Alertmanager through the Kubernetes API service proxy. The default target is the alertmanager-operated service in the openshift-monitoring namespace on port 9093. This Kubernetes mode does not require kubectl or a local port-forward.

Setup and configuration

Run the published package with:

Terminal
npx -y mcp-alertmanager@latest

An MCP client configuration can provide ALERTMANAGER_URL, such as http://localhost:9093. The same settings can be expressed with command-line flags: --url, --namespace, --service, --service-port, --service-scheme, and --kubeconfig. Kubernetes defaults use the openshift-monitoring namespace, alertmanager-operated service, port 9093, and an https service scheme.

The project also supplies a native Go binary, GitHub release downloads, a build target, a container image, and a Helm chart. The Helm configuration supports custom Alertmanager URLs, namespace and service settings, OpenShift routes, service port configuration, and a cluster-reader RBAC option.

Tools and capabilities

The mcp-alertmanager MCP server exposes twelve tools in four functional groups:

  • Alerts: getAlerts, getAlertGroups, getCriticalAlerts, and getAlertingSummary.
  • Silences: getSilences, createSilence, and deleteSilence.
  • Status: getAlertmanagerStatus and getReceivers.
  • Troubleshooting: investigateAlert, getAlertHistory, and correlateAlerts.

These tools support workflows such as finding currently firing alerts, checking for critical severity, investigating HighMemoryUsage, creating a time-limited silence, reviewing receivers, and looking for related alerts through shared labels.

The server is licensed under MIT.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Alertmanager

mcp-alertmanager is an MCP server that connects AI clients to Prometheus Alertmanager through direct API access or a Kubernetes API proxy. Its main tools retrieve and summarize alerts, inspect history, investigate and correlate alerts, manage silences, and report status and receivers. It is implemented as a Go binary and can be launched with npx.

Install it by running `npx -y mcp-alertmanager@latest` and adding that command to your MCP client configuration.

It connects through a direct URL or the Kubernetes API service proxy. Set `ALERTMANAGER_URL` or use `--url` for direct access; otherwise it detects kubeconfig or in-cluster Kubernetes configuration and targets the default Alertmanager service.

Yes. Cursor is named in the README as a supported MCP client configuration target. The documented setup launches the server with `npx` and can provide `ALERTMANAGER_URL` in the client environment.

Yes. The `createSilence` tool creates a silence for an alert, while `getSilences` lists silences by state and `deleteSilence` removes a silence by ID.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Alertmanager AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-alertmanager?style=directory)](https://allmcps.com/mcp/mcp-alertmanager)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-alertmanager"><img src="https://allmcps.com/api/badge/mcp-alertmanager?style=directory" alt="MCP Alertmanager on AllMCPs" /></a>