PD

pinkpixel-dev/notification-mcp

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

14 stars 8 forks 质量 73 趋势 24Apache-2.0

一个模式上下文协议服务器,允许AI代理在任务完成后通过工具显示带有任务摘要并/或播放声音的文本通知.

概览

一个模型背景协议服务器,允许AI代理在任务完成后播放通知声音. 这个基于TypeScript的MCP服务器提供了与npx的简单,可配置的通知系统! - 通知 - 当任务完成时显示桌面土司通知并/或播放声音(建议摘要) - 消息(需要): 已完成任务的通知信息/摘要-标题(可选): 土司通知的标题( 默认“ 任务完成 ” ) - 模式( 可选): “ 土司” QQ“ 声音” QQ“ 两者” ( 默认为“ 两者” ) - 声音( 可选) : 要播放的声音名称, 它覆盖默认设置 - Fully 支持 Windows, macOS, 和 Linux 退出框 ! - play notification - 播放一个通知声音来表示任务完成 - 使用一个可选的消息参数来日志/播放通知 - 支持跨平台声音回放(Windows, macOS, and Linux) - - 不需要手动下载!

概述(AI 翻译)

梦到它,像素它。 由平克像素制作。 **

□ 概览

一个模型背景协议服务器,允许AI代理在任务完成后播放通知声音. 这个基于TypeScript的MCP服务器提供了一个简单,可配置的通知系统,其中有**bunded sounds that work out of the box ** with npx!

□ * * * * 特点

• 工具

  • notify - 在任务完成时显示桌面托盘通知并/或播放声音(建议摘要)
  • [T1: 已完成任务的通知信息/摘要
  • [T2: 土司通知的标题( 默认为“ 任务完成 ”)
  • mode(可选):[T4
  • [T6: 要播放的声音名称, 将覆盖默认设置
  • 完全支持Windows, macOS, 和Linux出盒子!
  • play_notification - 播放通知声音以显示任务完成情况
  • 使用可选 [[T8] 参数对通知进行日志/显示
  • 支持跨平台声音回放(Windows、macOS和Linux)
  • 带捆绑声音的工作 - 不需要手动下载!

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Overview

A Model Context Protocol server that allows AI agents to play notification sounds when tasks are completed. This TypeScript-based MCP server provides a simple, configurable notification system with bundled sounds that work out of the box with npx!

✨ Features

🔧 Tools

  • notify - Show a desktop toast notification and/or play a sound when tasks complete (Recommended for summaries)
    • message (required): The notification message/summary of the completed task
    • title (optional): The title for the toast notification (defaults to “Task Completed”)
    • mode (optional): "toast" | "sound" | "both" (defaults to "both")
    • sound (optional): Name of the sound to play, which overrides default settings
    • Fully supports Windows, macOS, and Linux out of the box!
在 GitHub 查看完整 README

安装

npx -y @pinkpixel/notification-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "notifications": { "command": "npx", "args": ["-y", "@pinkpixel/notification-mcp"] } } }