AlertHub MCP Server
Send instant and scheduled multi-channel alerts to Push, Slack, Telegram, WhatsApp, and Email.
AlertHub scores 41 (Fair), licensed MIT and written in Go. It installs as a local process. It declares 4 tools. Filed under Communication. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
41 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
71/100 for listing completeness. Lost points: 4 of 4 tools barely described, short summary.
How quality is graded
Where the 41 comes from
0 + 20 + 0 + 10 + 4 + 7 = 41. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "alerthubio-mcp-server": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/alerthubio/mcp-server:v1.0.2" ], "env": { "ALERTHUB_USER_ID": "", "ALERTHUB_API_KEY": "YOUR_ALERTHUB_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ALERTHUB_USER_ID | Required | Your AlertHub User ID from https://alerthub.io |
ALERTHUB_API_KEYSecret | Required | Your AlertHub API Key (X-API-KEY) from https://alerthub.io |
Tools4Tool docs quality grade F
All capabilitieslist_profilestool4.
3.
schedule_alerttool2.
send_alerttool1.
About
AlertHub MCP Server
Official Model Context Protocol (MCP) server for AlertHub — enabling AI coding agents and assistants (Claude Code, Claude Desktop, Cursor, Windsurf, and Cline) to dispatch real-time multi-channel notifications, schedule reminders, and inspect recent events directly from your workflow.
Features
- Instant Multi-Channel Dispatch: Route alerts to Android Mobile Push, Slack, Telegram, WhatsApp, Email, and custom webhooks with a single tool call.
- Scheduled & Recurring Reminders: Create one-time or recurring alerts (
DAILY,WEEKLY,MONTHLY,YEARLY) using UTC RFC 3339 timestamps. - Recent Event Inspection: Query your latest ingested events to verify alert delivery or check recent workflow failures.
- Zero-Dependency Static Binary & Minimal Container: Distributed as cross-platform static binaries and a ~6 MB non-root
scratchOCI image. - Agent Safety Guardrails: Keeps API keys out of LLM context windows, enforces a local burst rate limit (5 dispatches/minute), and auto-clamps long headlines to prevent validation errors.
Available Tools
| Tool | Access | Description |
|---|---|---|
send_alert | Write (openWorldHint: true) | Dispatch an immediate multi-channel notification via AlertHub. |
schedule_alert | Write (openWorldHint: true) | Schedule a one-time or recurring future reminder (at least 20 minutes ahead). |
list_recent_events | Read-only (readOnlyHint: true) | Retrieve up to 20 of your newest AlertHub events, optionally filtered by status or source. |
list_profiles | Read-only (readOnlyHint: true) | Retrieve the user's available AlertHub profiles (older first, max 20) to decide which one to use for the notification(s). |
1. send_alert
Sends an immediate event to your AlertHub account (POST /api/event/{user_id}).
title(string, required): Short alert headline (max 50 characters; longer titles are automatically truncated and preserved at the top ofbody).body(string, required): Detailed alert message explaining what happened or requires attention.status(string, optional):info,success,warning, orerror(default:info).priority(string, optional):low,normal, orhigh(default:normal).profile(string, optional): Target AlertHub notification profile name for channel routing.
2. schedule_alert
Schedules a future or recurring notification (POST /api/schedule/{user_id}).
title(string, required): Reminder headline (3–50 characters).body(string, required): Reminder details (2–250 characters).start_time(string, required): RFC 3339 UTC timestamp at least 20 minutes in the future (e.g.,2027-05-01T09:00:00Z).profile(string, optional): Target notification profile name (default:default).frequency(string, optional): Recurrence frequency —DAILY,WEEKLY,MONTHLY, orYEARLY.interval(integer, optional): Recurrence interval $\ge 1$ (default:1).
3. list_recent_events
Fetches a bounded snapshot of recent events (GET /api/events?index=1&count=...) with payloads truncated to 250 characters to keep agent context clean.
limit(integer, optional): Number of events to return (1to20, default:10).status(string, optional): Filter byinfo,success,warning, orerror.source(string, optional): Filter by event source identifier (e.g.,github-actions,ci-deploy,mcp-server).
4. list_profiles
Fetches a bounded snapshot of profiles available to the user (GET /api/profiles?index=1&count=...)
limit(integer, optional): Number of profiles to return (1to20, default:10).defaults(boolean, optional): Filter to include default profiles (default: true).
Prerequisites
- Create a free account at alerthub.io and configure at least one notification channel (Mobile Push, Slack, Telegram, WhatsApp, Email, or Webhook).
- Copy your User ID and generate an API Key (
X-API-KEY) from your AlertHub profile.
Installation
Option 1: Pre-Built Binaries (Recommended)
Download the latest archive for Linux, macOS, or Windows (amd64 / arm64) from GitHub Releases, extract alerthub-mcp, and move it into a directory on your $PATH (such as /usr/local/bin).
Option 2: Install with Go
go install github.com/alerthubio/mcp-server/cmd/alerthub-mcp@latest
Option 3: Docker / OCI Image
docker pull ghcr.io/alerthubio/mcp-server:latest
Client Configuration
Claude Desktop
Add alerthub to your claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"alerthub": {
"command": "alerthub-mcp",
"env": {
"ALERTHUB_USER_ID": "YOUR_USER_ID",
"ALERTHUB_API_KEY": "YOUR_API_KEY"
}
}
}
}
Claude Code (CLI)
claude mcp add alerthub \
-e ALERTHUB_USER_ID="YOUR_USER_ID" \
-e ALERTHUB_API_KEY="YOUR_API_KEY" \
-- alerthub-mcp
Cursor
Add the server to .cursor/mcp.json in your project or ~/.cursor/mcp.json globally:
{
"mcpServers": {
"alerthub": {
"command": "alerthub-mcp",
"env": {
"ALERTHUB_USER_ID": "YOUR_USER_ID",
"ALERTHUB_API_KEY": "YOUR_API_KEY"
}
}
}
}
Running via Docker (No Local Binary Required)
{
"mcpServers": {
"alerthub": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--read-only",
"-e",
"ALERTHUB_USER_ID",
"-e",
"ALERTHUB_API_KEY",
"ghcr.io/alerthubio/mcp-server:latest"
],
"env": {
"ALERTHUB_USER_ID": "YOUR_USER_ID",
"ALERTHUB_API_KEY": "YOUR_API_KEY"
}
}
}
}
Example Prompts
Once connected, try asking your AI assistant:
- "Run the test suite and send me a high-priority AlertHub notification if any tests fail."
- "Schedule an AlertHub reminder 30 minutes from now to verify the staging deployment."
- "Check my last 5 AlertHub events and tell me if any errors were reported."
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
ALERTHUB_USER_ID | Yes | — | Your AlertHub User ID. |
ALERTHUB_API_KEY | Yes | — | Your AlertHub API key (X-API-KEY). |
ALERTHUB_BASE_URL | No | https://alerthub.io | Override API base URL (useful for self-hosted or staging environments). |
Security & Guardrails
- Credential Isolation:
ALERTHUB_USER_IDandALERTHUB_API_KEYare read strictly from process environment variables and are never exposed in MCP tool input schemas or logged tostderr. - Anti-Spam Burst Protection: An in-memory rate limiter caps outbound dispatches at 5 calls per 60 seconds to protect against runaway agent loops or prompt injection abuse.
- Strict
stdioFraming: All diagnostic logs write exclusively tostderr, keepingstdoutstrictly reserved for JSON-RPC 2.0 messages. - Unprivileged Container: The published OCI image is built
FROM scratchand runs as non-root user65534:65534(nobody:nogroup).
Development & Testing
Build from Source
git clone [https://github.com/alerthubio/mcp-server.git](https://github.com/alerthubio/mcp-server.git)
cd mcp-server
go build -o alerthub-mcp .
Test with the Official MCP Inspector
npx @modelcontextprotocol/inspector \
-e ALERTHUB_USER_ID="YOUR_USER_ID" \
-e ALERTHUB_API_KEY="YOUR_API_KEY" \
"$(pwd)/alerthub-mcp"
Documentation & Support
- Website: https://alerthub.io
- API Documentation: https://alerthub.io/docs
- Integration Guides: https://alerthub.io/guides
- Security Policy: https://alerthub.io/security
License
Released under the MIT License.
Frequently asked questions
What is AlertHub MCP Server?
Send instant and scheduled multi-channel alerts to Push, Slack, Telegram, WhatsApp, and Email.
How do I install AlertHub MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. AlertHub MCP Server runs locally from the Docker image ghcr.io/alerthubio/mcp-server:v1.0.2 with the command docker run -i --rm ghcr.io/alerthubio/mcp-server:v1.0.2.
Is AlertHub MCP Server free and open source?
Yes. AlertHub MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does AlertHub MCP Server support remote (HTTP) connections?
No remote endpoint is listed for AlertHub MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does AlertHub MCP Server provide?
AlertHub MCP Server provides 4 tools: list_profiles, list_recent_events, schedule_alert, and send_alert. See the full tool list for descriptions and parameters.
How is AlertHub MCP Server's trust score calculated?
AlertHub MCP Server scores 41 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.