
Mcp Notify
io.github.mrfqcentic由 GitHub 帳號 mrfqcentic 發布v0.2.1更新於 Oct 25, 2026
Minimal MCP server that plays a sound and shows a system banner when an AI agent finishes a task
概覽
一個極簡的本機 MCP 伺服器,在 AI 代理完成工作或需要關注時播放提示音並顯示系統橫幅通知。
- 可以做什麼
- 播放提示音並顯示桌面橫幅,標題與訊息由代理提供,也可指定音訊檔路徑作為提示音。列出可用音效及目前選取的預設音效。音效依固定順序選擇:環境變數路徑、固定的預設檔案、sounds 資料夾中第一個音訊檔、產生的提示音,最後是系統音效。
- 適用情境
- 適合執行耗時較長的代理工作時,希望在本機透過聲音與橫幅即時得知代理已完成或需要你輸入,而不必一直盯著工作階段。可與 Claude Desktop、Cursor、VS Code 等 MCP 用戶端搭配使用。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 20 或更新版本。無需 API 金鑰、帳號或網路呼叫。音效與橫幅依賴本機系統功能:macOS 使用 afplay 與 osascript,Linux 使用 ffplay、mpg123、paplay 或 aplay 及 notify-send 的備援鏈,Windows 使用 PowerShell。選用環境變數 NOTIFY_SOUND 可指定音效檔路徑。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Notify,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-notify
Minimal MCP server that plays a notification sound and shows a system banner on your computer whenever your AI agent finishes a task or needs your attention.
Works with any MCP client: Claude Desktop, Claude Code, Cursor, VS Code, opencode, Cline, and more. One 3-line config, no API keys, no network calls — it only touches your local audio and notification facilities.
Install
Add to your client's MCP config (Claude Desktop claude_desktop_config.json, Cursor / VS Code mcp.json, or opencode config):
(opencode users: same shape under the mcp key with "type": "local" and "command": ["npx", "-y", "@mrfqcentic/mcp-notify"].)
Requires Node.js >= 20.
Make the agent call it
Add one line to your AGENTS.md / CLAUDE.md / system prompt:
Tools
notify
Plays the sound and shows a banner. The agent always supplies title (max 50 chars) and message (max 200 chars).
list_sounds
Lists available sounds and the currently selected default.
Choosing your sound
Resolution order:
NOTIFY_SOUNDenv var — absolute path, explicit and deterministic- A file in the
sounds/folder whose name starts withdefault(your pin) - First audio file in the
sounds/folder (alphabetical —notify-me.mp3ships here as the bundled default) - The generated chime in
assets/ - The system sound (macOS
Glass.aiff, Linuxbell.oga)
Tip: rename or copy your favorite sound to sounds/default.mp3 (or set NOTIFY_SOUND) to make it stick.
The bundled sounds/notify-me.mp3 was generated with ElevenLabs under a commercial license.
Tip: MP4 files with an audio track work too (macOS afplay reads the audio stream).
Platforms
Any CI env value makes sound and banner playback no-ops (set automatically in CI workflows) so the test suite can run on machines without audio.
Development
License
MIT — see LICENSE.
來源:README.md,提交 926225e
工具
0版本歷史
1- v0.2.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分