mcp-server-notify
一个轻量级的桌面通知工具,支持 MCP 协议集成和命令行直接调用,让 Agent 能够智能发送系统通知。
特性
- 🔔 发送系统桌面原生通知
- 🤖 完整的 MCP 协议支持,轻松集成各类 Agent 工具
- 🎵 可自定义声音和图标(本地文件或URL)
- 📱 跨平台支持(基于 node-notifier)
Power your agent
Install from the publisher. Not a PlugMCP endpoint.
Host a copy with our keys and logs.
No packaged release in the registry yet. Follow the repository README.
Remote URL or a command on your machine? How the two installs differ
Run on PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
LaunchFrom the publisher
一个轻量级的桌面通知工具,支持 MCP 协议集成和命令行直接调用,让 Agent 能够智能发送系统通知。
一个轻量级的桌面通知工具,支持 MCP 协议集成和命令行直接调用,让 Agent 能够智能发送系统通知。
集成到 Cursor、Claude Code 或其他支持 MCP 协议的编辑器和 Agent 工具中:
{
"mcpServers": {
"notify": {
"command": "npx",
"args": ["-y", "@6starlong/mcp-server-notify"]
}
}
}
配置完成后,您可以通过以下方式触发通知:
- "任务完成后通知我"
- "测试全部通过了,庆祝一下"
- "发现安全漏洞,用警告音效和图标通知我"
- "通知我代码审核结果,点击时激活 Code"
- "帮我设置一个番茄钟,25分钟后提醒我休息"
你可以通过在 ~/rules/notify.md 中创建自定义规则来避免每次手动输入这些偏好设置。例如,设置默认的通知样式、常用的声音文件路径、或特定项目的通知行为。
# 安装
npm install -g @6starlong/mcp-server-notify
# 查看帮助
mcp-notify -h
# 基本通知
mcp-notify -c "标题" "消息内容"
# 流程通知
mcp-notify -c "任务完成" "代码编译成功" --open Code
# 自动化任务通知
mcp-notify -c "测试通过" "所有单元测试已通过" --sound C:\\Windows\\Media\\tada.wav
# 集成到脚本中
npm run build && mcp-notify -c "构建成功" "可以开始部署了"
import { sendNotification } from '@6starlong/mcp-server-notify'
await sendNotification('标题', '消息', {
icon: './icon.png', // 本地文件或URL,false禁用
sound: './sound.wav', // 本地文件或URL,false禁用
open: 'Code', // 点击通知后要激活的应用名称
})
# 构建项目
pnpm run build
# 测试
pnpm test
# 开发模式(启动MCP服务器)
pnpm run dev
MIT License
欢迎提交问题和PR!
一个轻量级的桌面通知工具,支持 MCP 协议集成和命令行直接调用,让 Agent 能够智能发送系统通知。
Tools
No tool list yet. Remote servers get one after the first health check.
FAQ
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
No required environment variable is listed on this record.
MCP Server Notify runs locally over stdio.
Last checked 2026-10-26. 一个轻量级的桌面通知工具,支持 MCP 协议集成和命令行直接调用,让 Agent 能够智能发送系统通知。