MCP.so
Sign In
Servers

Prometheus Alertmanager MCP Server

@kaznak

A Model Context Protocol (MCP) server that integrates with Prometheus Alertmanager

Overview

What is Prometheus Alertmanager MCP Server?

A Model Context Protocol (MCP) server that integrates with Prometheus Alertmanager, acting as a bridge between Claude AI and Alertmanager to allow natural language interaction with alert management.

How to use Prometheus Alertmanager MCP Server?

Run via npx alertmanager-mcp or install globally with npm install -g alertmanager-mcp. Configure it in Claude for Desktop by adding a JSON entry to the MCP servers settings, setting the environment variable ALERTMANAGER_URL to your Alertmanager instance URL. A Docker image is also available for --network=host usage.

Key features of Prometheus Alertmanager MCP Server

  • Retrieves and filters current alerts from Alertmanager.
  • Provides detailed information for alerts by fingerprint.
  • Creates, lists, and deletes silences.
  • Retrieves alert groups as organized by Alertmanager.
  • Built in TypeScript with the MCP SDK.
  • Communicates via Alertmanager’s HTTP API v2.

Use cases of Prometheus Alertmanager MCP Server

  • Ask Claude to show all active alerts in natural language.
  • Filter alerts by criteria like alert name or CPU issues.
  • Get detailed info for a specific alert using its fingerprint.
  • Create silence for an alert for a defined time window.
  • List and delete existing silences.

FAQ from Prometheus Alertmanager MCP Server

What are the prerequisites?

You need access to a running Prometheus Alertmanager instance. For Claude for Desktop usage, Node.js v18 or newer must be installed.

How do I configure it for Claude for Desktop?

Edit the Claude for Desktop configuration file to add the MCP server entry, specifying the command (docker or npx) and the environment variable ALERTMANAGER_URL pointing to your Alertmanager URL. Restart Claude for Desktop afterward.

What tools does the server provide?

Six tools: get-alerts (with optional filters), get-alert-details, create-silence, get-silences, delete-silence, and get-alert-groups.

Can I run it without Docker?

Yes, you can run it directly via npx alertmanager-mcp or install it globally with npm and execute alertmanager-mcp.

Does it require authentication to Alertmanager?

The README does not specify authentication; it only requires the ALERTMANAGER_URL environment variable.

Tags

More from Developer Tools