trackmcp
Back to directory
zekker6

mcp-alertmanager

View on GitHub

MCP server for Alertmanager

2 stars GoOthers Updated Sep 3, 2026
alertmanagermcpmcp-server

Documentation

mcp-alertmanager

MCP server for Prometheus Alertmanager. Exposes alert listing and silence management as MCP tools.

Tools

ToolDescription
`list_alerts`List alerts with optional filters (label matchers, state, receiver)
`list_silences`List silences with optional label matcher filters
`get_silence`Get a single silence by ID
`create_silence`Create a new silence with matchers, author, comment, and duration
`delete_silence`Expire (delete) a silence by ID

Usage

stdio mode (default)

bash
mcp-alertmanager -url http://alertmanager:9093

SSE mode

bash
mcp-alertmanager -url http://alertmanager:9093 -mode sse -httpListenAddr :8012

Authentication

Basic auth:

bash
mcp-alertmanager -url http://alertmanager:9093 -username admin -password-file /path/to/password

Custom headers (e.g. bearer token, multi-tenancy):

bash
mcp-alertmanager -url http://alertmanager:9093 \
  -header "Authorization: Bearer " \
  -header "X-Scope-OrgID: tenant1"

Claude Desktop Configuration

json
{
  "mcpServers": {
    "alertmanager": {
      "command": "mcp-alertmanager",
      "args": ["-url", "http://alertmanager:9093"]
    }
  }
}

Building

bash
task build

Testing

bash
task test        # unit tests
task test:e2e    # e2e tests (builds binary first)
task test:all    # all tests

Frequently asked questions

What is mcp-alertmanager?

mcp-alertmanager is MCP server for Alertmanager

How do I install mcp-alertmanager?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-alertmanager open source?

Yes — it is hosted on GitHub at https://github.com/zekker6/mcp-alertmanager and has 2 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP