mcp-notifications
by zudsniper·★ 6·综合分 37
AI助手任务完成时发送实时通知和Webhook的MCP服务器。
概述
MCP Notifications是一个现代化的可扩展通知服务,集成了模型上下文协议(MCP),在AI助手完成任务时发送实时通知和Webhook。它采用单体仓库架构,支持SSE(服务器发送事件)、Next.js网页界面和PocketBase集成。该服务支持多个Webhook提供商,包括Discord、Slack、Microsoft Teams、飞书、Ntfy和自定义Webhook,具有通过Imgur支持图片、多项目支持、可自定义消息以及通知历史记录等功能。
试试问 AI
装完之后,这里有 3 个你可以让 AI 做的事:
什么时候选它
当您在多个 AI 代理项目中工作并需要高效的任务完成通知而无需切换上下文时,请选择它。
什么时候不要选它
如果您需要没有外部依赖(Cloudflare Workers、PocketBase)的自托管解决方案,或者已经深度投入另一个通知系统,请避免使用它。
此 server 暴露的工具
从 README 抽取出 2 个工具notifybody: string, title?: string, template?: stringSend a simple notification with body, optional title, and optional template.
full_notifybody: string, title?: string, link?: string, imageUrl?: string, image?: string, priority?: number, attachments?: string[], template?: string, templateData?: object, actions?: object[]Send a detailed notification with advanced options like link, image, priority, attachments, actions, and template data.
可对比工具
安装
# 克隆仓库
git clone https://github.com/zudsniper/mcp-notifications.git
cd mcp-notifications
# 安装依赖
npm install
# 构建包
npm run build传统MCP服务器集成
对于Claude Desktop,添加到您的claude_desktop_config.json文件中:
{
"mcpServers": {
"notifier": {
"command": "node",
"args": [
"/path/to/legacy/build/index.js"
],
"env": {
"WEBHOOK_URL": "https://ntfy.sh/webhook-url-example",
"WEBHOOK_TYPE": "ntfy"
}
}
}
}对于基于SSE的新系统,部署到Cloudflare Workers并配置您的AI工具以连接到SSE端点。
mcp-notifications 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。