Alphorn

io.github.alphorn-dev由 GitHub 帳號 alphorn-dev 發布v0.1.1更新於 Oct 24, 2026

Let AI agents notify you on Slack, Telegram, email, SMS, or push via an Alphorn webhook.

已驗證STDIO僅桌面效率與工作流溝通與協作

概覽

AI 產生的概覽

讓 AI 代理透過 Alphorn webhook 在任務完成、失敗或需要你決定時,向你發送 Slack、Telegram、電子郵件、簡訊或推播通知。

可以做什麼
  • 透過已設定的 Alphorn webhook 發送通知,訊息最長 4,000 字元。
  • 可附加簡短標題與 1 到 5 的優先級,用來表示已完成、需要輸入、受阻或緊急。
  • 為通知加上標籤,搭配 Alphorn 的篩選規則把通知導向指定頻道,例如僅高優先級才發簡訊。
適用情境
適合執行耗時較長或無人看管的代理任務時使用,讓你在自己的頻道上收到任務完成、失敗或需要決策的提醒,不必一直盯著工作階段。
執行需求
以 stdio 方式在本機執行,通常透過 npx 使用 npm 套件。需要在 Alphorn(託管或自架)建立 webhook,並把端點 URL 填入 ALPHORN_WEBHOOK_URL;只有當 webhook 要求 API 金鑰時才需要 ALPHORN_API_KEY。需要 Node.js 與網路連線。
安裝前請注意
webhook 端點 URL 與 API 金鑰是存放在用戶端設定中的機密,取得該 URL 的人就能向你的通知頻道發送訊息。通知會經由第三方服務(Alphorn 及你設定的頻道)傳遞,訊息內容會離開本機。此工具只發送訊息,不會讀取或修改其他資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Alphorn,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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

  1. Create a webhook in Alphorn and copy its Endpoint URL, plus its API key if you switched on Require API key (docs).
  2. Add the server to your MCP client with two environment variables:
VariableValue
ALPHORN_WEBHOOK_URLEndpoint URL, e.g. https://app.alphorn.dev/n/V1StGXR8_Z5jdHi6B-myT
ALPHORN_API_KEYWebhook API key (alp_...). Leave unset if the webhook does not require one.

Claude Code

bash
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:

json
{  "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

toml
# ~/.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

ArgumentTypeRequiredDescription
messagestringyesWhat happened and what the agent needs from you (max 4,000 characters)
titlestringnoShort title, e.g. my-app - tests passing (max 200 characters)
priorityinteger 1-5no2 = finished, 3 = needs input, 4 = blocked or failed, 5 = urgent
tagsstring[]noTags 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

bash
pnpm installpnpm test   # builds, then runs the tests against a local fake endpoint

Releasing

  1. Bump version in package.json, server.json (both fields), manifest.json, and VERSION in src/server.ts.
  2. npm publish --access public
  3. Push a v<version> tag (or run the Publish to MCP Registry workflow): it publishes server.json to the MCP Registry via GitHub OIDC
  4. pnpm bundle, then attach alphorn.mcpb to a GitHub release

License

AGPL-3.0-or-later

來源:README.md,提交 4cacb42

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Oct 12, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分