
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 分