Notify MCP Server
MCP Server for notify to Weixin, Telegram, Bark, Lark, Feishu, DingTalk
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
mcp-notifyclaude mcp add notify-mcp-server -e 'WEWORK_BOT_KEY=<your wework_bot_key>' -e 'WEWORK_APP_CORPID=<WEWORK_APP_CORPID>' -e 'WEWORK_APP_SECRET=<your wework_app_secret>' -e 'WEWORK_APP_AGENTID=<WEWORK_APP_AGENTID>' -e 'WEWORK_APP_TOUSER=<WEWORK_APP_TOUSER>' -e 'DINGTALK_BOT_KEY=<your dingtalk_bot_key>' -e 'LARK_BOT_KEY=<your lark_bot_key>' -e 'FEISHU_BOT_KEY=<your feishu_bot_key>' -e 'TELEGRAM_DEFAULT_CHAT=<TELEGRAM_DEFAULT_CHAT>' -e 'TELEGRAM_BOT_TOKEN=<your telegram_bot_token>' -e 'PUSH_PLUS_TOKEN=<your push_plus_token>' -- uvx mcp-notify==0.1.11
{
"mcpServers": {
"notify-mcp-server": {
"command": "uvx",
"args": [
"mcp-notify==0.1.11"
],
"env": {
"WEWORK_BOT_KEY": "<your wework_bot_key>",
"WEWORK_APP_CORPID": "<WEWORK_APP_CORPID>",
"WEWORK_APP_SECRET": "<your wework_app_secret>",
"WEWORK_APP_AGENTID": "<WEWORK_APP_AGENTID>",
"WEWORK_APP_TOUSER": "<WEWORK_APP_TOUSER>",
"DINGTALK_BOT_KEY": "<your dingtalk_bot_key>",
"LARK_BOT_KEY": "<your lark_bot_key>",
"FEISHU_BOT_KEY": "<your feishu_bot_key>",
"TELEGRAM_DEFAULT_CHAT": "<TELEGRAM_DEFAULT_CHAT>",
"TELEGRAM_BOT_TOKEN": "<your telegram_bot_token>",
"PUSH_PLUS_TOKEN": "<your push_plus_token>"
}
}
}
}
Variables d'environnement
WEWORK_BOT_KEYsecret The default key for the WeWork group robot can also be specified in the promptWEWORK_APP_CORPIDCompany ID of WeWorkWEWORK_APP_SECRETsecret Secret key of WeWorkWEWORK_APP_AGENTIDAgent ID of WeWork Application, Default: 1000002WEWORK_APP_TOUSERDefault recipient user ID in WeWork, Default: @allDINGTALK_BOT_KEYsecret Access token of DingTalk Robot, Can also be specified in the promptLARK_BOT_KEYsecret The key of Lark Robot, Can also be specified in the promptFEISHU_BOT_KEYsecret The key of Feishu Robot, Can also be specified in the promptTELEGRAM_DEFAULT_CHATTelegram Default Chat ID, Can also be specified in the promptTELEGRAM_BOT_TOKENsecret Telegram Bot TokenPUSH_PLUS_TOKENsecret Default PushPlus token, Can also be specified in the prompt
ghcr.io/aahl/mcp-notify:latestclaude mcp add notify-mcp-server -e 'TRANSPORT=stdio' -- docker run -i --rm ghcr.io/aahl/mcp-notify:latest
{
"mcpServers": {
"notify-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/aahl/mcp-notify:latest"
],
"env": {
"TRANSPORT": "stdio"
}
}
}
}
Variables d'environnement
TRANSPORTTransport protocol to use
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
💬 Notify MCP Server
简体中文 | English
提供消息推送的 MCP (Model Context Protocol) 服务器,支持企业微信、钉钉、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 key
{
"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
}
}
}
快速开始
- 在线体验:
- 在线体验:
- 添加到 Cursor
- 添加到 VS Code
- 添加到 Cherry Studio
- 添加到 Claude Code, 执行命令:
claude mcp add notify -- uvx mcp-notify - 添加到 OpenAI CodeX, 执行命令:
codex mcp add notify -- uvx mcp-notify
⚙️ 环境变量
企业微信群机器人
WEWORK_BOT_KEY: 企业微信群机器人默认key,也可以在提示词指定
企业微信应用号
WEWORK_APP_CORPID: 企业微信所属的企业IDWEWORK_APP_SECRET: 企业微信应用的凭证密钥WEWORK_APP_AGENTID: 企业微信应用的ID,默认:1000002WEWORK_APP_TOUSER: 企业微信默认接收人ID,也可以在提示词指定,默认:@allWEWORK_BASE_URL: 企业微信API反代理地址,用于可信IP,默认:https://qyapi.weixin.qq.com
钉钉群机器人
DINGTALK_BOT_KEY: 钉钉群机器人access_tokenDINGTALK_BASE_URL: 钉钉API地址,默认:https://oapi.dingtalk.com
飞书/Lark群机器人
FEISHU_BOT_KEY: 飞书群机器人key,也可以在提示词指定FEISHU_BASE_URL: 飞书API地址,默认:https://open.feishu.cnLARK_BOT_KEY: Lark群机器人key,也可以在提示词指定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:8123HASS_ACCESS_TOKEN: Home Assistant 长效令牌HASS_MOBILE_KEY: Home Assistant 移动设备key (如: mobile_app_your_iphone),也可在提示词指定
其他
BARK_DEVICE_KEY: 默认Bark设备key,也可以在提示词指定BARK_BASE_URL: Bark API地址,默认:https://api.day.appNTFY_DEFAULT_TOPIC: 默认Ntfy订阅主题,也可以在提示词指定NTFY_BASE_URL: Ntfy API地址,默认:https://ntfy.shPUSH_PLUS_TOKEN: 默认PushPlus令牌,也可以在提示词指定PUSH_PLUS_BASE_URL: PushPlus API地址,默认:http://www.pushplus.plus
🛠️ 可用工具
企业微信群机器人
wework_send_text- 发送文本或Markdown消息wework_send_image- 发送图片消息wework_send_news- 发送图文链接消息
企业微信应用号
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- 发送图文链接消息
Telegram Bot
tg_send_message- 发送文本或Markdown消息tg_send_photo- 发送图片消息tg_send_video- 发送视频消息tg_send_audio- 发送音频消息tg_send_file- 发送文件消息
其他工具
ding_send_text- 通过钉钉群机器人发送文本或Markdown消息lark_send_text- 通过飞书/Lark群机器人发送文本或Markdown消息bark_send_notify- 通过Bark发送通知ntfy_send_notify- 通过Ntfy发送通知pushplus_send_msg- 通过PushPlus发送消息ha_send_mobile- 通过Home Assistant发送通知text_to_sound- 将一段文本转成mp3音频链接
🔗 相关连接
- 大饼报告 - 基于此MCP实现的Telegram频道
- https://github.com/hasscc/ai-conversation/discussions/3
- https://linux.do/t/topic/1098688
Questions fréquentes
Qu'est-ce que Notify MCP Server ?
MCP Server for notify to Weixin, Telegram, Bark, Lark, Feishu, DingTalk
Comment installer Notify MCP Server ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add notify-mcp-server -e 'WEWORK_BOT_KEY=<your wework_bot_key>' -e 'WEWORK_APP_CORPID=<WEWORK_APP_CORPID>' -e 'WEWORK_APP_SECRET=<your wework_app_secret>' -e 'WEWORK_APP_AGENTID=<WEWORK_APP_AGENTID>' -e 'WEWORK_APP_TOUSER=<WEWORK_APP_TOUSER>' -e 'DINGTALK_BOT_KEY=<your dingtalk_bot_key>' -e 'LARK_BOT_KEY=<your lark_bot_key>' -e 'FEISHU_BOT_KEY=<your feishu_bot_key>' -e 'TELEGRAM_DEFAULT_CHAT=<TELEGRAM_DEFAULT_CHAT>' -e 'TELEGRAM_BOT_TOKEN=<your telegram_bot_token>' -e 'PUSH_PLUS_TOKEN=<your push_plus_token>' -- uvx mcp-notify==0.1.11. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Notify MCP Server ?
Oui. Il attend WEWORK_BOT_KEY, WEWORK_APP_SECRET, DINGTALK_BOT_KEY, LARK_BOT_KEY, FEISHU_BOT_KEY, TELEGRAM_BOT_TOKEN, PUSH_PLUS_TOKEN, à renseigner dans sa configuration.
Notify MCP Server est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient Notify MCP Server ?
Il est publié par aahl. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.