MCP.so
登录

Prometheus Alertmanager MCP Server

@kaznak

基本信息

分类

开发工具

许可证

MIT license

传输方式

stdio

作者

kaznak

关于 Prometheus Alertmanager MCP Server

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

Prometheus Alertmanager MCP Server 配置

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

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

Prometheus Alertmanager MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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.

常见问题

1

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.

2

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.

3

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`.

4

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`.

5

Does it require authentication to Alertmanager?

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

评论

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