
Mcp Notifications
io.github.topvisor由 GitHub 账号 topvisor 发布v1.0.3更新于 Oct 24, 2026
MCP server for desktop notifications over stdio
概览
一个本地 stdio MCP 服务器,让 AI 代理在任务完成、失败或需要你输入时发送系统桌面通知。
- 可以做什么
- 发送带标题和正文的桌面通知,可选提示音、自定义图标和 Windows app_id 来源标识。
- 通知在后台队列中发送,代理很快得到“Notification queued”结果而不会被阻塞。
- 通过环境变量选择投递后端:自动、PowerShell 通知或 node-notifier 包。
- 既可手动在对话中要求代理通知,也可在对话、项目或技能中加入指令实现自动通知。
- 适用场景
- 适合在控制台类 AI 客户端中运行耗时或多步骤任务、而客户端本身没有通知功能时使用,避免频繁查看聊天窗口。主要用于提示任务完成、失败或需要你介入。
- 运行要求
- 以 stdio 本地进程运行,需从 npm 全局安装 @topvisor/mcp-notifications,要求 Node.js 20 及以上、npm 10 及以上。需在 MCP 客户端配置(如 Codex 或 Claude)中加入可执行文件 mcp-notifications 并重启客户端。可选环境变量 MCP_NOTIFICATIONS_BACKEND 和 MCP_NOTIFICATIONS_APP_ID 用于调整后端和 Windows 通知来源。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Notifications,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mcp-notifications
🚀 Ship faster. Miss nothing.
mcp-notifications lets your MCP agent send desktop notifications for completed tasks, failures, and important updates.
This is especially useful for console AI agents, because they usually have no built-in notifications by default.
No more checking chats every minute.
No more silent agent responses.
Just visible, reliable feedback on your desktop. 🔔
Common problem this solves
You give tasks to several AI agents, then wait and keep checking who already replied.
With mcp-notifications, this gets simpler: the agent can notify you on desktop when it needs your input or when work
is done.
Why teams install this
- ⚡ Immediate feedback from your MCP workflows.
- 🧠 Better focus: let the agent work while you stay on your main task.
- 🖥️ Native OS notifications via
node-notifier. - 🧵 Non-blocking behavior: notification sending is queued in background.
Install globally
Requirements:
- Node.js
>=20 - npm
>=10
Executable name (use this in MCP config):
mcp-notifications is an MCP server entrypoint (stdio), not a one-shot notification command.
Setup: Codex
Add this to ~/.codex/config.toml:
Restart Codex after config update.
Setup: Claude Agent
Add MCP server config to your Claude client config file:
Then restart Claude client.
AI Agent Notification Instructions
There are two approaches to notifications: manual and automatic.
Choose the one that works better for your workflow.
Manual
In a task where you want to be notified, explicitly ask the agent. Example:
You can also define sound, topic, and frequency rules inside a specific chat. Example:
Automatic
Automatic notifications can be configured globally or per project.
Example instruction to enable automatic notifications for agent replies:
Time is a rough threshold and depends on model behavior, so adjust this instruction to your own preferences.
In Skills
You can also enable notifications in specific skills. Example for a Review skill:
Tool
send_notification
Input:
titlestring(required)messagestring(required)play_soundboolean(optional, default:false)iconstring(optional, absolute or relative path to image file)app_idstring(optional, Windows App User Model ID for toast source)
Example:
app_id (Windows)
app_idcontrols the source shown in Windows toast notifications.- If
app_idis not set, Windows may showSnoreToastas the source. - You can pass
app_idin each tool call, or setMCP_NOTIFICATIONS_APP_IDas an environment variable for the server.
Backend selection
You can select notification transport via env MCP_NOTIFICATIONS_BACKEND:
auto(default): usespowershellin WSL if available, otherwisenode-notifierpowershell: forcepowershell.exeWindows toast transport (recommended for WSL)node-notifier: forcenode-notifierpackage
Chat Prompts To Test In Codex
Use these messages directly in chat:
Expected tool result in logs/response:
Behavior
- ✅ Uses standard system notification channels.
- 🔊 Uses the standard system notification sound when
play_sound: true. - 🤖 Uses bundled Topvisor robot image as default notification icon.
- 🧰 Returns quickly while notifications are delivered in background queue.
Example
The AI agent is waiting for you:
来源:README.md,提交 9cd5ee5
工具
0版本历史
1- v1.0.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分