MCP.so
登录

Prometheus Alertmanager MCP Server

@kaznak

关于 Prometheus Alertmanager MCP Server

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

基本信息

分类

开发工具

许可证

MIT license

运行时

node

传输方式

stdio

发布者

kaznak

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "alertmanager-mcp": {
      "command": "npx",
      "args": [
        "alertmanager-mcp"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

开发工具 分类下的更多 MCP 服务器