
Alertmanager
โ 1from zekker6
MCP to interact with Alertmanager - observability alerts management tool
๐ฅ๐ฅ๐ฅ๐ฅโ VerifiedFreeQuick setup
mcp-alertmanager
MCP server for Prometheus Alertmanager. Exposes alert listing and silence management as MCP tools.
Tools
| Tool | Description |
|---|---|
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 |
Building
task buildTesting
task test # unit tests
task test:e2e # e2e tests (builds binary first)
task test:all # all testsUsage
stdio mode (default)
mcp-alertmanager -url http://alertmanager:9093SSE mode
mcp-alertmanager -url http://alertmanager:9093 -mode sse -httpListenAddr :8012Authentication
Basic auth:
mcp-alertmanager -url http://alertmanager:9093 -username admin -password-file /path/to/passwordCustom headers (e.g. bearer token, multi-tenancy):
mcp-alertmanager -url http://alertmanager:9093 \
-header "Authorization: Bearer <token>" \
-header "X-Scope-OrgID: tenant1"Claude Desktop Configuration
{
"mcpServers": {
"alertmanager": {
"command": "mcp-alertmanager",
"args": ["-url", "http://alertmanager:9093"]
}
}
}No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.