Alertmanager MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to integrate with Prometheus Alertmanager

Local serverstdioPython

What is the Alertmanager MCP Server?

A Model Context Protocol (MCP) server that enables AI assistants to integrate with Prometheus Alertmanager

What you get

Prometheus Alertmanager MCP is a Model Context Protocol (MCP) server for Prometheus Alertmanager. It enables AI assistants and tools to query and manage Alertmanager resources programmatically and securely.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
countNumber of alert groups per page (default: 3, max: 5)
offsetNumber of alert groups to skip (default: 0)
Returns{ "data": [...], "pagination": { "total": N, "offset": M, "count": K, "has_more": bool } }

How to install the Alertmanager MCP Server

{
  "mcpServers": {
    "alertmanager": {
      "command": "uv",
      "args": [
        "--directory",
        "<full path to alertmanager-mcp-server directory>",
        "run",
        "src/alertmanager_mcp_server/server.py"
      ],
      "env": {
        "ALERTMANAGER_URL": "http://your-alertmanager:9093s",
        "ALERTMANAGER_USERNAME": "your_username",
        "ALERTMANAGER_PASSWORD": "YOUR_ALERTMANAGER_PASSWORD"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
ALERTMANAGER_URLDeclared in the maintainer’s client configuration.Check documentation
ALERTMANAGER_USERNAMEDeclared in the maintainer’s client configuration.Optional
ALERTMANAGER_PASSWORDDeclared in the maintainer’s client configuration.Optional

Example prompts to try

  • “Use Alertmanager to count.”
  • “Use Alertmanager to offset.”
  • “Use Alertmanager to Returns.”

Frequently asked questions

A Model Context Protocol (MCP) server that enables AI assistants to integrate with Prometheus Alertmanager Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.