Alphorn
OfficialSends notifications to Discord through Alphorn's notification routing. Agents can use the send_notification tool with message, title, priority, and tags, and Alphorn filters determine which Discord destinations receive them.
Sends notifications to Slack through Alphorn's notification routing. Agents can use the send_notification tool with message, title, priority, and tags, and Alphorn filters determine which Slack destinations receive them.
Sends notifications to Telegram through Alphorn's notification routing. Agents can use the send_notification tool with message, title, priority, and tags, and Alphorn filters determine which Telegram destinations receive them.
Alphorn MCP Server
MCP server for Alphorn, the open-source notification router. It gives AI agents (Claude Code, Claude Desktop, Cursor, Codex, and any other MCP client) a send_notification tool, so an agent can tell you when a task finishes, fails, or needs your decision, on whatever channel you configured in Alphorn: Slack, Telegram, Discord, email, SMS, push, and more.
Works with the hosted service at app.alphorn.dev and with self-hosted Alphorn.
Setup
Create a webhook in Alphorn and copy its Endpoint URL, plus its API key if you switched on Require API key (docs).
Add the server to your MCP client with two environment variables:
Variable | Value |
| Endpoint URL, e.g. |
| Webhook API key ( |
Claude Code
claude mcp add alphorn -s user \
-e ALPHORN_WEBHOOK_URL=https://app.alphorn.dev/n/V1StGXR8_Z5jdHi6B-myT \
-e ALPHORN_API_KEY=alp_... \
-- npx -y @alphorn/mcpClaude Desktop (one-click bundle)
Download alphorn.mcpb from the latest release and open it. Claude Desktop asks for the Endpoint URL and API key.
Claude Desktop, Cursor, and other JSON-configured clients
Add to claude_desktop_config.json, ~/.cursor/mcp.json, or your client's MCP config:
{
"mcpServers": {
"alphorn": {
"command": "npx",
"args": ["-y", "@alphorn/mcp"],
"env": {
"ALPHORN_WEBHOOK_URL": "https://app.alphorn.dev/n/V1StGXR8_Z5jdHi6B-myT",
"ALPHORN_API_KEY": "alp_..."
}
}
}
}OpenAI Codex CLI
# ~/.codex/config.toml
[mcp_servers.alphorn]
command = "npx"
args = ["-y", "@alphorn/mcp"]
env = { ALPHORN_WEBHOOK_URL = "https://app.alphorn.dev/n/V1StGXR8_Z5jdHi6B-myT", ALPHORN_API_KEY = "alp_..." }Related MCP server: AgentPing
Tool
send_notification
Argument | Type | Required | Description |
| string | yes | What happened and what the agent needs from you (max 4,000 characters) |
| string | no | Short title, e.g. |
| integer 1-5 | no | 2 = finished, 3 = needs input, 4 = blocked or failed, 5 = urgent |
| string[] | no | Tags to filter and route on in Alphorn, e.g. |
The tool wraps Alphorn's send endpoint. For direct HTTP use, see the API reference and the OpenAPI 3.1 specification.
Use Alphorn's filters to decide where each notification goes, for example SMS only for priority 4 and above.
Development
pnpm install
pnpm test # builds, then runs the tests against a local fake endpointReleasing
Bump
versioninpackage.json,server.json(both fields),manifest.json, andVERSIONinsrc/server.ts.npm publish --access publicPush a
v<version>tag (or run the Publish to MCP Registry workflow): it publishesserver.jsonto the MCP Registry via GitHub OIDCpnpm bundle, then attachalphorn.mcpbto a GitHub release
License
AGPL-3.0-or-later
This server cannot be deployed
Maintenance
Related MCP Connectors
Let your AI agent notify you by email, Slack, Discord, or webhook. One tool: send_notification.
Push notifications for AI agents - send instant iPhone notifications from any MCP client.
Build and send email, SMS, and push straight from your AI agent.
AI agents and scripts reporting back to your iPhone with Push Notifications and Live Activities.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables sending real-time and webhook notifications when AI agents complete tasks, with support for Discord, Slack, Teams, Feishu, Ntfy, and custom webhooks.6MIT
- AlicenseNot gradedqualityDmaintenanceLet your AI agent notify you via email, Slack, Discord, or webhook using a single tool.MIT
- AlicenseBqualityDmaintenanceEnables AI agents to send notifications and media (text, photos, documents, videos) via a Telegram bot.448 npm4Do What The F*ck You Want To Public
- AlicenseAqualityDmaintenanceA lightweight notification service that sends webhooks when AI agents complete tasks. Supports multiple providers like Discord, Slack, Teams, Feishu, and Ntfy.14 npm4MIT