Windows Notification Server

Allows AI assistants to send native Windows system notifications.

MCP Windows通知服务器

这个项目提供一个MCP (Model Context Protocol) 服务器,允许AI助手发送Windows系统通知。

安装依赖

npm install

MCP服务器功能

  • send_notification - 发送Windows系统通知工具
    • title (必需): 通知标题
    • message (必需): 通知内容
    • sound (可选): 是否播放声音,默认为true

启动MCP服务器

npm start

或者直接运行:

node mcp-notification-server.js

Claude Desktop配置

将以下配置添加到Claude Desktop的配置文件中:

{
  "mcpServers": {
    "notification-server": {
      "command": "path/to/start-mcp-server.bat",
      "args": [],
      "env": {
        "NODE_ENV": "production"
      }
    }
  }
}

使用方法

  1. 启动MCP服务器
  2. 在支持MCP的AI客户端中连接到服务器
  3. 使用 send_notification 工具发送通知

注意事项

  • 首次运行时,Windows可能会询问是否允许显示通知
  • 确保Windows通知设置中允许应用显示通知
  • 某些防病毒软件可能会阻止通知功能

Related Servers