关于 Message Mcp
Message Mcp 是面向 AI 协作的通知 MCP 服务,可在任务完成时通过桌面、声音、手机、邮件或 API 推送提醒,减少等待期间盯屏的需要。
主要功能
- 01桌面通知与自定义提示音
- 02ntfy 手机通知
- 03邮件通知
- 04API 推送通知
适用场景
- 01AI 长任务完成后接收提醒
- 02离开屏幕时通过手机获知进度
- 03将任务通知发送到邮件或 API
MCP 相关
它向 MCP 客户端提供发送通知的能力,可将消息推送到桌面、ntfy、邮件或配置的 API。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
工具
1收录的工具列表 · 更新于 3 周前
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| title | string | 否 | 通知标题 |
| message | string | 否 | 通知消息的主要内容 |
详细介绍
🚀 提升 AI 效率,腾出更多时间
等待 AI 完成任务时,你是否希望能同时处理其他工作?现在,你可以放心处理其他事务,让 AI 执行耗时较长的任务。
Message MCP 让你与 AI 协作得更高效!
🧑: Make a Tetris web game, notify when completed.
🤖: I'll start making the Tetris game
...
💬: Message MCP executed, message sent.
提示
- 在客户端设置中允许 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 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;对于低于 8 的 Windows 版本,使用任务栏气泡通知
❗️ 故障排除
未启用 Windows 系统通知
设置 > 通知和操作 > 获取来自应用和其他发送者的通知 → 启用
WSL2(Ubuntu)没有通知声音
sudo apt install -y pulseaudio mpg123
WSL2 环境缺少操作系统通知
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
如果这个项目对你有帮助,请给它一个 ⭐️ 以示支持,让更多人看到它!
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。