alertmanager-mcp-serverServer

ntk148v
GitHub
monitoringobservabilityalert management

Loading subscription status...

💡 Description

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

📝 JSON Entries

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

🛠️ Tools

get_statusget_alertsget_silencespost_silencedelete_silenceget_receiversget_alert_groups

Features

  • Querying Alertmanager status, alerts, silences, receivers, and alert groups
  • Create, update, and delete silences
  • Support for authentication via environment variables
  • Docker containerization support

💬 Example Queries

  • Get the status of the Alertmanager
  • Create a new alert in the Alertmanager
  • List all current silences in the Alertmanager