Alphorn
Let AI agents notify you on Slack, Telegram, email, SMS, or push via an Alphorn webhook.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
@alphorn/mcpclaude mcp add alphorn -e 'ALPHORN_WEBHOOK_URL=<your alphorn_webhook_url>' -e 'ALPHORN_API_KEY=<your alphorn_api_key>' -- npx -y @alphorn/mcp@0.1.1
{
"mcpServers": {
"alphorn": {
"command": "npx",
"args": [
"-y",
"@alphorn/mcp@0.1.1"
],
"env": {
"ALPHORN_WEBHOOK_URL": "<your alphorn_webhook_url>",
"ALPHORN_API_KEY": "<your alphorn_api_key>"
}
}
}
}
Variables d'environnement
ALPHORN_WEBHOOK_URLobligatoire secret Webhook Endpoint URL, e.g. https://app.alphorn.dev/n/V1StGXR8_Z5jdHi6B-myTALPHORN_API_KEYsecret Webhook API key (alp_...), if the webhook requires one
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
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 |
|---|---|
ALPHORN_WEBHOOK_URL | Endpoint URL, e.g. https://app.alphorn.dev/n/V1StGXR8_Z5jdHi6B-myT |
ALPHORN_API_KEY | Webhook API key (alp_...). Leave unset if the webhook does not require one. |
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/mcp
Claude 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_..." }
Tool
send_notification
| Argument | Type | Required | Description |
|---|---|---|---|
message | string | yes | What happened and what the agent needs from you (max 4,000 characters) |
title | string | no | Short title, e.g. my-app - tests passing (max 200 characters) |
priority | integer 1-5 | no | 2 = finished, 3 = needs input, 4 = blocked or failed, 5 = urgent |
tags | string[] | no | Tags to filter and route on in Alphorn, e.g. ["ai-agent", "completed"] |
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 endpoint
Releasing
- Bump
versioninpackage.json,server.json(both fields),manifest.json, andVERSIONinsrc/server.ts. npm publish --access public- Push a
v<version>tag (or run the Publish to MCP Registry workflow): it publishesserver.jsonto the MCP Registry via GitHub OIDC pnpm bundle, then attachalphorn.mcpbto a GitHub release
License
AGPL-3.0-or-later
Questions fréquentes
Qu'est-ce que Alphorn ?
Let AI agents notify you on Slack, Telegram, email, SMS, or push via an Alphorn webhook.
Comment installer Alphorn ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add alphorn -e 'ALPHORN_WEBHOOK_URL=<your alphorn_webhook_url>' -e 'ALPHORN_API_KEY=<your alphorn_api_key>' -- npx -y @alphorn/mcp@0.1.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Alphorn ?
Oui. Il attend ALPHORN_WEBHOOK_URL, ALPHORN_API_KEY, à renseigner dans sa configuration.
Alphorn est-il open source ?
Oui. Son code est sur GitHub sous licence AGPL-3.0.
Qui maintient Alphorn ?
Il est publié par alphorn-dev. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.