MCP 通知服务器
使用节点通知程序提供系统通知功能的模型上下文协议 (MCP) 服务器。
工具
显示通知
使用当前平台的默认通知程序显示系统通知。
所有通知工具的通用参数:
title
:通知的标题message
:通知的消息内容sound
(可选):播放通知的声音(默认值:false)wait
(可选):在删除通知之前等待用户操作(默认值:false)icon
(可选):图标文件的路径(.ico、.png、.jpg 或特定于平台)timeout
(可选):通知到期前的秒数(Linux/Windows)
显示通知-macos
使用 macOS 通知中心显示通知。其他参数:
actions
:操作按钮标签数组closeLabel
:关闭通知的标签dropdownLabel
:下拉菜单的标签reply
:启用回复功能
显示通知-linux
显示使用 Linux 通知发送 (notify-send) 的通知。附加参数:
urgency
:通知紧急程度(“低”、“正常”、“严重”)category
:通知类别hint
:通知显示提示app-name
:应用程序名称
显示通知窗口 toast
使用 Windows Toast 通知 (Windows 8+) 显示通知。其他参数:
appID
:应用程序标识符shortcutPath
:通知的快捷方式文件路径install
:单击通知时的安装程序路径
显示通知窗口气球
使用 Windows 气球通知显示通知(Windows 7 及更早版本)。其他参数:
type
:通知类型(“信息”,“警告”,“错误”)
显示通知咆哮
使用 Growl 显示通知。附加参数:
name
:Growl 的应用程序名称host
:Growl 服务器主机port
:Growl 服务器端口sticky
:保持通知可见label
:通知标签priority
:通知优先级(-2 到 2)sender
:通知的发件人
发展
- 安装依赖项:
- 构建项目:
- 启动服务器:
与 VS Code 一起使用
为了快速安装,请使用本自述文件顶部的一键安装按钮之一。
如需手动安装,请将以下 JSON 块添加到 VS Code 中的“用户设置 (JSON)”文件中。您可以按下Ctrl + Shift + P
并输入Preferences: Open User Settings (JSON)
来完成此操作。
或者,您可以将其添加到工作区中名为.vscode/mcp.json
的文件中。这样您就可以与其他人共享该配置。
请注意
.vscode/mcp.json
文件中不需要mcp
键。
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Notify Server:
手动安装
将 MCP 通知服务器条目添加到您的 Claude 设置中以自动使用它。
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
模型上下文协议服务器使用节点通知程序在各种平台(macOS、Windows、Linux)上提供系统通知功能。
Related MCP Servers
- AsecurityAlicenseAqualityA simple MCP server that can send notifications on mac devices.Last updated -568021TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server enabling AI systems to send real-time notifications to phones, desktops, and other devices through the ntfy publish/subscribe service.Last updated -813TypeScriptApache 2.0
- -securityAlicense-qualityA Model Context Protocol server that provides network control and management capabilities through the POX SDN controller, enabling Python-based network programming, OpenFlow device management, and automated network analysis.Last updated -1PythonMIT License
- -securityAlicense-qualityA demonstration server that implements the Model Context Protocol (MCP) SDK, providing tools and endpoints for server-sent events and message handling.Last updated -1510TypeScriptMIT License