返回市场
MCP通知服务器

MCP通知服务器

作者:aahl16 星标更新:2025-11-17

项目介绍

💬 通知MCP服务器

<!-- mcp-name: io.github.aahl/mcp-notify --> <!-- [![MCP徽章](https://lobehub.com/badge/mcp/aahl-mcp-notify)](https://lobehub.com/mcp/aahl-mcp-notify) -->

简体中文 | 英文

MCP(模型上下文协议)服务器提供消息推送服务,支持企业微信、钉钉、Telegram、Bark、Lark、飞书、Home Assistant

安装

方法1:UVX

{
  "mcpServers": {
    "mcp-notify": {
      "command": "uvx",
      "args": ["mcp-notify"],
      "env": {
        "WEWORK_BOT_KEY": "your-wework-bot-key"
      }
    }
  }
}

方法2:Smithery

需要OAuth授权或Smithery密钥

{
  "mcpServers": {
    "mcp-aktools": {
      "url": "https://server.smithery.ai/@aahl/mcp-notify/mcp" # 流式传输HTTP
    }
  }
}

方法3:Docker

mkdir /opt/mcp-notify
cd /opt/mcp-notify
wget https://raw.githubusercontent.com/aahl/mcp-notify/refs/heads/main/docker-compose.yml
docker-compose up -d
{
  "mcpServers": {
    "mcp-notify": {
      "url": "http://0.0.0.0:8809/mcp" # 流式传输HTTP
    }
  }
}

快速开始

  • 在线体验:fastmcp.cloud
  • 在线体验:[smithery.ai](https://smithery.ai/server/@aahl/mcp- notify)
  • 添加到Cursor 安装MCP服务器
  • 添加到VS Code 安装MCP服务器
  • 添加到Cherry Studio 安装MCP服务器
  • 添加到Claude Code,执行命令:claude mcp add notify -- uvx mcp-notify
  • 添加到OpenAI CodeX,执行命令:codex mcp add notify -- uvx mcp-notify

⚙️ 环境变量

企业微信群机器人

  • WEWORK_BOT_KEY:企业微信群机器人的默认键也可以在提示词中指定

企业微信应用账号

  • WEWORK_APP_CORPID:企业微信所属的企业ID
  • WEWORK_APP_SECRET:企业微信应用的证书密钥
  • WEWORK_APP_AGENTID:企业微信应用的ID,默认值:1000002
  • WEWORK_APP_TOUSER:企业微信默认接收者ID,也可以在提示词中指定,默认值:@all
  • WEWORK_BASE_URL:企业微信API反代理地址,用于可信IP,默认值:https://qyapi.weixin.qq.com

钉钉群机器人

  • DINGTALK_BOT_KEY:钉钉群机器人的访问令牌
  • DINGTALK_BASE_URL:钉钉API地址,默认值:https://oapi.dingtalk.com

飞书/马克群机器人

  • FEISHU_BOT_KEY:飞书群机器人的键,也可以在提示词中指定
  • FEISHU_BASE_URL:飞书API地址,默认值:https://open.feishu.cn
  • LARK_BOT_KEY:Lark群机器人的键,也可以在提示词中指定
  • LARK_BASE_URL:Lark API地址,默认值:https://open.larksuite.com

Telegram

  • TELEGRAM_DEFAULT_CHAT:Telegram的默认会话ID也可以在提示词中指定
  • TELEGRAM_BOT_TOKEN:Telegram机器人令牌
  • TELEGRAM_BASE_URL:Telegram API反代理地址,默认值:https://api.telegram.org

Home Assistant

  • HASS_BASE_URL:Home Assistant地址,默认值:http://homeassistant.local:8123
  • HASS_ACCESS_TOKEN:Home Assistant长期令牌
  • HASS_MOBILE_KEY:Home Assistant移动设备密钥(例如mobile_app_your_iPhone),也可以在提示词中指定

其他

  • BARK_DEVICE_KEY:默认Bark设备密钥,也可以在提示词中指定
  • BARK_BASE_URL:Bark API地址,默认值:https://api.day.app
  • NTFY_DEFAULT_TOPIC:默认Ntfy订阅主题,也可以在提示词中指定
  • NTFY_BASE_URL:Ntfy API地址,默认值:https://ntfy.sh
  • PUSH_PLUS_TOKEN:默认PushPlus令牌,也可以在提示词中指定
  • PUSH_PLUS_BASE_URL:PushPlus API地址,默认值:http://www.pushplus.plus

🛠️ 可用工具

<details> <summary><strong>企业微信群机器人</strong></summary>
  • wework_send_text - 发送文本或Markdown消息
  • wework_send_image - 发送图片消息
  • wework_send_news - 发送图文链接消息
</details> <details> <summary><strong>企业微信应用号</strong></summary>
  • wework_app_send_text - 发送文本或Markdown消息
  • wework_app_send_image - 发送图片消息
  • wework_app_send_video - 发送视频消息
  • wework_app_send_voice - 发送语音消息
  • wework_app_send_file - 发送文件消息
  • wework_app_send_news - 发送图文链接消息
</details> <details> <summary><strong>Telegram Bot</strong></summary>
  • tg_send_message - 发送文本或Markdown消息
  • tg_send_photo - 发送图片消息
  • tg_send_video - 发送视频消息
  • tg_send_audio - 发送音频消息
  • tg_send_file - 发送文件消息
  • tg_markdown_rule - Telegram markdown规则
</details> <details> <summary><strong>其他工具</strong></summary>
  • ding_send_text - 通过钉钉群机器人发送文本或Markdown消息
  • lark_send_text - 通过飞书/马克群机器人发送文本或Markdown消息
  • bark_send_notify - 通过Bark发送通知
  • ntfy_send_notify - 通过Ntfy发送通知
  • pushplus_send_msg - 通过PushPlus发送消息
  • ha_send_mobile - 通过Home Assistant发送通知
  • text_to_sound - 将文本转换成MP3音频链接
</details>

🔗 相关链接


<a href="https://glama.ai/mcp/servers/@al-one/mcp-notify"> <img width="400" src="https://gips3.baidu.com/it/u=1808825205,2247374466&fm=3081&app=3081&f=PNG?w=760&h=400"> </a>