mcp-alertmanager
MCP server by jeanlopezxyz Community
Connects AI assistants to Prometheus Alertmanager so they can list alerts, manage silences and check receivers. Written in Go, it can reach Alertmanager directly or through the Kubernetes or OpenShift API.
Install mcp-alertmanager
Built from the published package, never by AI.
claude mcp add mcp-alertmanager -- npx -y mcp-alertmanagerRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-alertmanager": {
"args": [
"-y",
"mcp-alertmanager"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-alertmanager": {
"args": [
"-y",
"mcp-alertmanager"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-alertmanager": {
"args": [
"-y",
"mcp-alertmanager"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-alertmanager -- npx -y mcp-alertmanager{
"mcpServers": {
"mcp-alertmanager": {
"args": [
"-y",
"mcp-alertmanager"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-alertmanager npx -y mcp-alertmanagerGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-alertmanager block.
About
mcp-alertmanager is a Model Context Protocol server for Prometheus Alertmanager. It is a native Go binary with built-in Kubernetes connectivity through client-go. It gives an AI assistant 12 tools covering alerts, silences, status and troubleshooting, such as listing firing alerts, creating and deleting silences, and correlating alerts by shared labels.
The server connects in one of two ways. If ALERTMANAGER_URL or --url is set, it uses that address directly. Otherwise it uses the Kubernetes API service proxy, with kubeconfig or in-cluster config, to reach alertmanager-operated in openshift-monitoring by default. It can be run with npx, as a binary, or deployed to Kubernetes or OpenShift with the included Helm chart. It suits teams that run Alertmanager in Kubernetes or OpenShift clusters, and users of MCP clients such as VS Code, Cursor and Windsurf.
Written from the project's README and checked against it.
Tools it gives your assistant
getAlertsGet alerts with optional filters.getAlertGroupsGet alerts grouped by routing labels.getCriticalAlertsGet critical severity alerts only.getAlertingSummarySummary of counts by severity, top alerts and namespaces.getSilencesList silences by state.createSilenceCreate a silence for an alert.deleteSilenceDelete a silence by ID.getAlertmanagerStatusServer status, version and cluster info.getReceiversList notification receivers.investigateAlertDeep investigation of a specific alert.
What you need
- A reachable Prometheus Alertmanager instance
- Kubeconfig or in-cluster config for Kubernetes auto-connect
- npx to run the mcp-alertmanager npm package
Try asking
- What alerts are currently firing?
- Are there any critical alerts? Show me a summary of the alerting status.
- Create a 2-hour silence for PodCrashLooping and list the receivers.
Good to know
- Direct URL settings override the Kubernetes auto-connect.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mcp-alertmanager
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
mcp-alertmanager: common questions
How does mcp-alertmanager connect to Alertmanager?
It uses a direct URL if ALERTMANAGER_URL or --url is set. Otherwise it uses the Kubernetes API service proxy with kubeconfig or in-cluster config.
Can it run inside OpenShift or Kubernetes?
The source includes a container image on GitHub Container Registry and a Helm chart that supports OpenShift Routes.
What is the default Alertmanager target for auto-connect?
The default is openshift-monitoring/alertmanager-operated on port 9093, with the https scheme.
How do I install mcp-alertmanager?
In Claude Code run claude mcp add mcp-alertmanager -- npx -y mcp-alertmanager. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mcp-alertmanager the official server?
mcp-alertmanager is a community project by jeanlopezxyz, not verified by a company domain.
Is mcp-alertmanager free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mcp-alertmanager safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mcp-alertmanager?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does mcp-alertmanager work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
