在等待 AI 完成任务时,是否希望同时处理其他工作?现在您可以放心地处理其他事务,而 AI 执行长时间运行的任务。
消息 MCP 让您的 AI 协作更高效!
🧑: 制作一个网页版的俄罗斯方块游戏,完成后通知我。
🤖: 我会开始制作俄罗斯方块游戏
...
💬: 消息 MCP 已执行,消息已发送。
[!TIP]
- 在客户端设置中允许 MCP 自动执行。
- 在用户规则或规则文件中添加“完成时通知”提示,以避免重复手动提示。
支持通过 smithery.ai 进行云安装(例如 Dify 等 SaaS 服务),并提供一键本地部署。由于消息 MCP 实际运行在 smithery.ai 的云上,因此桌面通知尚未支持。全程应用端到端加密,确保数据安全。了解更多
{
"mcpServers": {
"message-mcp": {
"command": "npx",
"args": ["-y", "message-mcp@latest"]
}
}
}
{
"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 下载并配置。
安装应用: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": "user@gmail.com",
"SMTP_PASS": "your_password"
}
}
}
}
{
"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,
}),
})
设置 > 通知与操作 > 从应用和其他发送者接收通知 → 启用
sudo apt install -y pulseaudio mpg123
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
如果这个项目对您有帮助,请给它一个 ⭐️ 来支持它,并让更多人看到它!