AlertHub

v1.0.2
io.github.alerthubio/mcp-server Checked 4 days ago Published 10 days ago

Send instant and scheduled multi-channel alerts to Push, Slack, Telegram, WhatsApp, and Email.

Values you need

VariableWhat it is
ALERTHUB_USER_IDrequired Your AlertHub User ID from https://alerthub.io
ALERTHUB_API_KEYrequired secret Your AlertHub API Key (X-API-KEY) from https://alerthub.io

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add mcp-server -e 'ALERTHUB_API_KEY=<ALERTHUB_API_KEY>' -e 'ALERTHUB_USER_ID=<ALERTHUB_USER_ID>' -- docker run -i --rm -e ALERTHUB_API_KEY -e ALERTHUB_USER_ID ghcr.io/alerthubio/mcp-server:v1.0.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ALERTHUB_API_KEY",
        "-e",
        "ALERTHUB_USER_ID",
        "ghcr.io/alerthubio/mcp-server:v1.0.2"
      ],
      "command": "docker",
      "env": {
        "ALERTHUB_API_KEY": "<ALERTHUB_API_KEY>",
        "ALERTHUB_USER_ID": "<ALERTHUB_USER_ID>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ALERTHUB_API_KEY",
        "-e",
        "ALERTHUB_USER_ID",
        "ghcr.io/alerthubio/mcp-server:v1.0.2"
      ],
      "command": "docker",
      "env": {
        "ALERTHUB_API_KEY": "<ALERTHUB_API_KEY>",
        "ALERTHUB_USER_ID": "<ALERTHUB_USER_ID>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ALERTHUB_API_KEY",
      "id": "alerthub-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "ALERTHUB_USER_ID",
      "id": "alerthub-user-id",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-server": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ALERTHUB_API_KEY",
        "-e",
        "ALERTHUB_USER_ID",
        "ghcr.io/alerthubio/mcp-server:v1.0.2"
      ],
      "command": "docker",
      "env": {
        "ALERTHUB_API_KEY": "${input:alerthub-api-key}",
        "ALERTHUB_USER_ID": "${input:alerthub-user-id}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "docker"
args = ["run", "-i", "--rm", "-e", "ALERTHUB_API_KEY", "-e", "ALERTHUB_USER_ID", "ghcr.io/alerthubio/mcp-server:v1.0.2"]
env = { "ALERTHUB_API_KEY" = "<ALERTHUB_API_KEY>", "ALERTHUB_USER_ID" = "<ALERTHUB_USER_ID>" }

For AI agents

  1. Ask the user for: ALERTHUB_USER_ID, ALERTHUB_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_profiles, list_recent_events, schedule_alert, send_alert.
  5. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json