{
  "markdown": "# 💬 Notify MCP Server\n\n<!-- mcp-name: io.github.aahl/mcp-notify -->\n<!-- [![MCP Badge](https://lobehub.com/badge/mcp/aahl-mcp-notify)](https://lobehub.com/mcp/aahl-mcp-notify) -->\n\n简体中文 | [English](https://github.com/aahl/mcp-notify/blob/main/README_en.md)\n\n提供消息推送的 MCP (Model Context Protocol) 服务器，支持企业微信、钉钉、Telegram、Bark、Lark、飞书、Home Assistant\n\n\n## 安装\n\n### 方式1: uvx\n```yaml\n{\n  \"mcpServers\": {\n    \"mcp-notify\": {\n      \"command\": \"uvx\",\n      \"args\": [\"mcp-notify\"],\n      \"env\": {\n        \"WEWORK_BOT_KEY\": \"your-wework-bot-key\"\n      }\n    }\n  }\n}\n```\n\n### 方式2: [Smithery](https://smithery.ai/server/@aahl/mcp-notify)\n> 需要通过OAuth授权或Smithery key\n\n```yaml\n{\n  \"mcpServers\": {\n    \"mcp-aktools\": {\n      \"url\": \"https://server.smithery.ai/@aahl/mcp-notify/mcp\" # 流式传输HTTP\n    }\n  }\n}\n```\n\n### 方式3: Docker\n```bash\nmkdir /opt/mcp-notify\ncd /opt/mcp-notify\nwget https://raw.githubusercontent.com/aahl/mcp-notify/refs/heads/main/docker-compose.yml\ndocker-compose up -d\n```\n```yaml\n{\n  \"mcpServers\": {\n    \"mcp-notify\": {\n      \"url\": \"http://0.0.0.0:8809/mcp\" # 流式传输HTTP\n    }\n  }\n}\n```\n\n### 快速开始\n- 在线体验: [![fastmcp.cloud](https://img.shields.io/badge/Cloud-+?label=FastMCP)](https://fastmcp.cloud/xiaomi/notify/chat)\n- 在线体验: [![smithery.ai](https://smithery.ai/badge/@aahl/mcp-notify)](https://smithery.ai/server/@aahl/mcp-notify)\n- 添加到 Cursor [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/zh/install-mcp?name=notify&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJtY3Atbm90aWZ5Il19)\n- 添加到 VS Code [![Install MCP Server](https://img.shields.io/badge/VS_Code-+?label=Add+MCP+Server&color=0098FF)](https://insiders.vscode.dev/redirect?url=vscode:mcp/install%3F%7B%22name%22%3A%22notify%22%2C%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22mcp-notify%22%5D%7D)\n- 添加到 Cherry Studio [![Install MCP Server](https://img.shields.io/badge/Cherry_Studio-+?label=Add+MCP+Server&color=FF5F5F)](https://gitee.com/link?target=cherrystudio%3A%2F%2Fmcp%2Finstall%3Fservers%3DeyJtY3BTZXJ2ZXJzIjp7Im5vdGlmeSI6eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJtY3Atbm90aWZ5Il19fX0%3D)\n- 添加到 Claude Code, 执行命令: `claude mcp add notify -- uvx mcp-notify`\n- 添加到 OpenAI CodeX, 执行命令: `codex mcp add notify -- uvx mcp-notify`\n\n\n### ⚙️ 环境变量\n\n#### 企业微信群机器人\n- `WEWORK_BOT_KEY`: 企业微信群机器人默认key，也可以在提示词指定\n\n#### 企业微信应用号\n- `WEWORK_APP_CORPID`: 企业微信所属的企业ID\n- `WEWORK_APP_SECRET`: 企业微信应用的凭证密钥\n- `WEWORK_APP_AGENTID`: 企业微信应用的ID，默认: `1000002`\n- `WEWORK_APP_TOUSER`: 企业微信默认接收人ID，也可以在提示词指定，默认: `@all`\n- `WEWORK_BASE_URL`: 企业微信API反代理地址，用于可信IP，默认: `https://qyapi.weixin.qq.com`\n\n#### 钉钉群机器人\n- `DINGTALK_BOT_KEY`: 钉钉群机器人access_token\n- `DINGTALK_BASE_URL`: 钉钉API地址，默认: `https://oapi.dingtalk.com`\n\n#### 飞书/Lark群机器人\n- `FEISHU_BOT_KEY`: 飞书群机器人key，也可以在提示词指定\n- `FEISHU_BASE_URL`: 飞书API地址，默认: `https://open.feishu.cn`\n- `LARK_BOT_KEY`: Lark群机器人key，也可以在提示词指定\n- `LARK_BASE_URL`: Lark API地址，默认: `https://open.larksuite.com`\n\n#### Telegram\n- `TELEGRAM_DEFAULT_CHAT`: Telegram 默认会话ID，也可以在提示词指定\n- `TELEGRAM_BOT_TOKEN`: Telegram 机器人令牌\n- `TELEGRAM_BASE_URL`: Telegram API反代理地址，默认: `https://api.telegram.org`\n\n#### Home Assistant\n- `HASS_BASE_URL`: Home Assistant 地址，默认: `http://homeassistant.local:8123`\n- `HASS_ACCESS_TOKEN`: Home Assistant 长效令牌\n- `HASS_MOBILE_KEY`: Home Assistant 移动设备key (如: mobile_app_your_iphone)，也可在提示词指定\n\n#### 其他\n- `BARK_DEVICE_KEY`: 默认Bark设备key，也可以在提示词指定\n- `BARK_BASE_URL`: Bark API地址，默认: `https://api.day.app`\n- `NTFY_DEFAULT_TOPIC`: 默认Ntfy订阅主题，也可以在提示词指定\n- `NTFY_BASE_URL`: Ntfy API地址，默认: `https://ntfy.sh`\n- `PUSH_PLUS_TOKEN`: 默认PushPlus令牌，也可以在提示词指定\n- `PUSH_PLUS_BASE_URL`: PushPlus API地址，默认: `http://www.pushplus.plus`\n\n------\n\n## 🛠️ 可用工具\n\n<details>\n<summary><strong>企业微信群机器人</strong></summary>\n\n- `wework_send_text` - 发送文本或Markdown消息\n- `wework_send_image` - 发送图片消息\n- `wework_send_news` - 发送图文链接消息\n\n</details>\n\n<details>\n<summary><strong>企业微信应用号</strong></summary>\n\n- `wework_app_send_text` - 发送文本或Markdown消息\n- `wework_app_send_image` - 发送图片消息\n- `wework_app_send_video` - 发送视频消息\n- `wework_app_send_voice` - 发送语音消息\n- `wework_app_send_file` - 发送文件消息\n- `wework_app_send_news` - 发送图文链接消息\n\n</details>\n\n<details>\n<summary><strong>Telegram Bot</strong></summary>\n\n- `tg_send_message` - 发送文本或Markdown消息\n- `tg_send_photo` - 发送图片消息\n- `tg_send_video` - 发送视频消息\n- `tg_send_audio` - 发送音频消息\n- `tg_send_file` - 发送文件消息\n\n</details>\n\n<details>\n<summary><strong>其他工具</strong></summary>\n\n- `ding_send_text` - 通过钉钉群机器人发送文本或Markdown消息\n- `lark_send_text` - 通过飞书/Lark群机器人发送文本或Markdown消息\n- `bark_send_notify` - 通过Bark发送通知\n- `ntfy_send_notify` - 通过Ntfy发送通知\n- `pushplus_send_msg` - 通过PushPlus发送消息\n- `ha_send_mobile` - 通过Home Assistant发送通知\n- `text_to_sound` - 将一段文本转成mp3音频链接\n\n</details>\n\n\n------\n\n## 🔗 相关连接\n- [大饼报告](https://t.me/s/mcpBtc) - 基于此MCP实现的Telegram频道\n- https://github.com/hasscc/ai-conversation/discussions/3\n- https://linux.do/t/topic/1098688\n\n------\n\n<a href=\"https://glama.ai/mcp/servers/@al-one/mcp-notify\">\n  <img width=\"400\" src=\"https://glama.ai/mcp/servers/@al-one/mcp-notify/badge\">\n</a>\n",
  "bytes": 4976,
  "sha": "c4f2076c841f9332a45f27e7df0d3152790020469a561ffaafef3edf993d5d27",
  "repo_slug": "aahl/mcp-notify",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_aahl_mcp_notify_c2fa47ff/readme"
}