Alertmanager

By ntk148vCreated 4 days ago
starstarstarstarstar

Integrate AI assistants with Prometheus Alertmanager.

Visit Project
Share this MCP:
X (Formerly Twitter)RedditblueskyThreads by Instagram

Category

Community MCP Server

Tags

AlertmanagerPrometheusMcp ServerMonitoring

What is Prometheus Alertmanager MCP?

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

How to use Prometheus Alertmanager MCP?

  1. Installation:
    • Install via Smithery: npx -y @smithery/cli install @ntk148v/alertmanager-mcp-server --client claude
    • Local run: Clone the repository, configure environment variables, and run uv --directory "" run src/alertmanager_mcp_server/server.py.
    • Docker run: Use the pre-built image or build it yourself with docker run commands.
  2. Configuration:
    • Configure environment variables for Prometheus Alertmanager URL, username, and password.
    • Add the server configuration to your client (e.g., Claude Desktop).
  3. Usage:
    • Use natural language commands in the client to interact with Alertmanager, such as:
      • "Show me current alerts"
      • "Create a silence for this alert for the next 2 hours"

Key features of Prometheus Alertmanager MCP?

  • Query resources: Status, alerts, silences, receivers, and alert groups.
  • Manage resources: Create, update, and delete silences; create new alerts.
  • Security features: Basic auth via environment variables.
  • Deployment options: Local run and Docker containerization support.

Use cases of Prometheus Alertmanager MCP?

  1. Monitoring and alerting: Query and manage alerts in a monitoring system.
  2. Automated responses: Integrate AI assistants to handle alerts automatically.
  3. Custom alerts: Create new alerts based on specific conditions.
  4. Silence management: Manage silences for alerts to control notifications.

FAQ on Prometheus Alertmanager MCP?

  • **Is Docker required for running the MCP server?

    No, Docker is optional. You can run it locally as well.

  • **Where can I find the pre-built Docker image?

    The pre-built Docker image is available at ghcr.io/ntk148v/alertmanager-mcp-server.