
cactusinhand/mcp_server_notify 是一个从 https://github.com/cactusinhand/mcp_server_notify. 导入的 MCP 服务器候选
概览
cactusinhand/mcp_server_notify 是一个从 https://github.com/cactusinhand/mcp_server_notify. 导入的 MCP 服务器候选
概述(AI 翻译)
英文 |中文
一个MCP服务器,在代理任务完成时发送带有音效的桌面通知。
🥩 特色
- 在代理任务完成后发送系统桌面通知
- 播放提醒音效以吸引用户注意,内置音频文件。
- 跨平台支持(Windows、macOS、Linux)
- 基于标准MCP协议,可与多种LLM客户端集成
⏬ 安装
使用 UV 包管理器安装
安装后,直接呼叫模块确认安装是否成功:
该模块接受--debug或--file 选项,我们可以这样使用:
⚠️❕ 特殊要求
** 我们使用 Apprise API 进行桌面通知发送,因此需要在桌面安装一些特殊需求 **
Windows
macOS
📚 用途
使用 Claude Desktop 版本:
查找配置文件 claude_desktop_config.json
如果全局安装,你还可以使用python命令:
⚡️ 使用光标:
查找配置文件 ~/.cursor/mcp.json 或 your_project/.cursor/mcp.json
配置后,只需添加一个提示,比如“最后,任务完成时给我发送通知。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
📢 MCP Notify Server
A MCP server that send desktop notifications with sound effect when agent tasks are completed.
🥩 Features
- Send system desktop notifications after agent tasks completion
- Play alert sounds to grab user attention, with sound file inside.
- Cross-platform support (Windows, macOS, Linux)
- Based on standard MCP protocol, integrates with various LLM clients
⏬ Installation
Install using uv package manager
git clone https://github.com/Cactusinhand/mcp_server_notify.git
cd mcp_server_notify
uv venv
source .venv/Scripts/activate
uv pip install mcp-server-notify
# or
pip install mcp-server-notify
After installation, call the module directly to check if installation was successful:
python -m mcp_server_notify
This module accepts --debug or --file option, we can use it like:
python -m mcp_server_notify --debug
python -m mcp_server_notify --debug --log-file=path/to/logfile.log
⚠️❕ Special requirements
** We use Apprise API for our Desktop notification deliver,so we need to install some special requirements in our Desktop **
Windows
# windows:// minimum requirements
pip install pywin32
macOS
# Make sure terminal-notifier is installed into your system
brew install terminal-notifier
📚 Usage
Using with Claude Desktop:
Find the configuration file claude_desktop_config.json
{
"mcpServers": {
"NotificationServer": {
"command": "uv",
"args": [
"--directory",
"path/to/your/mcp_server_notify project",
"run",
"mcp-server-notify",
]
}
}
}
If installed globally, you can also use the python command:
{
"mcpServers": {
"NotificationServer": {
"command": "python",
"args": [
"-m",
"mcp_server_notify",
]
}
}
}
⚡️ Using with Cursor:
Find the configuration file ~/.cursor/mcp.json or your_project/.cursor/mcp.json
{
"mcpServers": {
"NotificationServer": {
"command": "uv",
"args": [
安装
uvx mcp-server-notify配置
{
"mcpServers": {
"NotificationServer": {
"command": "uv",
"args": [
"--directory",
"path/to/your/mcp_server_notify project",
"run",
"mcp-server-notify",
]
}
}
}