message-mcp
v2.0.6
Published
Desktop notifications, custom sounds, ntfy mobile notifications, email notifications, and API pushes reduce anxiety while waiting for AI tasks, allowing you to comfortably enjoy a cup of coffee.
Downloads
156
Maintainers
Readme
🚀 提升 AI 使用效率,释放更多时间
等待 AI 完成任务时,您是否希望能同时处理其他工作?现在可以在 AI 执行长时间任务时,安心去处理其他事务。
Message MCP 让您的 AI 协作更高效!
🧑:做一款俄罗斯方块网页游戏,完成后通知。
🤖:我将开始做俄罗斯方块游戏
...
💬:Message MCP 执行,已发送信息。[!TIP]
- 在客户端设置里 允许 MCP 自动执行。
- 在 用户规则 或 规则文件 中加入 “完成后通知” 提示,即可避免重复手动提示。
⚡️ 快速安装
通过 smithery.ai 支持云端安装(如 Dify 等 SaaS 服务),也提供本地一键部署。由于 Message MCP 实际运行于 smithery.ai 云端,暂不支持桌面通知。全程采用端到端加密,保障数据安全。了解更多
⚙️ 标准安装
MacOS、Linux、WSL2
{
"mcpServers": {
"message-mcp": {
"command": "npx",
"args": ["-y", "message-mcp@latest"]
}
}
}Windows
{
"mcpServers": {
"message-mcp": {
"command": "cmd",
"args": ["/c", "npx", "-y", "message-mcp@latest"]
}
}
}🎛️ 可选配置
修改桌面通知
{
"mcpServers": {
"message-mcp": {
"command": "npx",
"args": ["-y", "message-mcp@latest"],
"env": {
"DISABLE_DESKTOP": "true",
"SOUND_PATH": "/path/to/your/sound.mp3"
}
}
}
}
- 默认已开启桌面通知
- 默认声音 zapsplat 提供。如果不喜欢默认声音,可以到 zapsplat.com 下载配置。
ntfy 手机通知
安装 App:App Store、Google Play、F-Droid
{
"mcpServers": {
"message-mcp": {
"command": "npx",
"args": ["-y", "message-mcp@latest"],
"env": {
"NTFY_TOPIC": "your-unique-topic"
}
}
}
}邮件通知
{
"mcpServers": {
"message-mcp": {
"command": "npx",
"args": ["-y", "message-mcp@latest"],
"env": {
"SMTP_HOST": "smtp.gmail.com",
"SMTP_PORT": "587",
"SMTP_SECURE": "false",
"SMTP_USER": "[email protected]",
"SMTP_PASS": "your_password"
}
}
}
}API 通知
{
"mcpServers": {
"message-mcp": {
"command": "npx",
"args": ["-y", "message-mcp@latest"],
"env": {
"API_URL": "https://httpbin.org/post",
"API_METHOD": "POST", // POST, PUT, PATCH
"API_HEADERS": "{\"Authorization\": \"Bearer token\"}"
}
}
}
}fetch(API_URL, {
method: API_METHOD,
headers: {
'Content-Type': 'application/json'
...JSON.parse(API_HEADERS)
},
body: JSON.stringify({
title: notifyTitle,
message: notifyMessage,
}),
})📌 系统要求
- Node.js:18 或更高
- macOS:原生通知需要 >= 10.8 版本
- Linux:需要安装 notify-osd 或 libnotify-bin(Ubuntu 默认包含)
- Windows:>= 8 版本,或 Windows < 8 的任务栏气球提示
❗️ 解决异常问题
Windows 系统通知未启用
设置 > 通知和操作 > 获取来自应用和其他发送者的通知 → 启用
WSL2(Ubuntu)没有通知声音
sudo apt install -y pulseaudio mpg123WSL2 环境缺少操作系统通知
sudo find / -type f -name "snoretoast-*.exe" 2>/dev/null
/path/to/.../node_modules/snoretoast-x64.exe
/path/to/.../node_modules/snoretoast-x86.exe
chmod +x /path/to/.../node_modules/snoretoast-*.exe如果这个项目对你有帮助,请给个 ⭐️ 支持一下,让更多人看到它!
