WeCom Bot
Createdloonghao
Provides a Python server implementation for automating messages and context-aware interactions within enterprise WeChat environments via the Model Context Protocol (MCP).
About
WeCom Bot is a Python server designed to streamline automated messaging within WeCom (WeChat Work) environments, adhering to the Model Context Protocol (MCP). It offers a standardized interface for handling interactions, enabling developers to create context-aware bots that can send various message types, manage message history, and integrate seamlessly with enterprise workflows. With features like @mention support and configurable logging, WeCom Bot simplifies the development of intelligent bots for enterprise communication.
Key Features
- Supports text, markdown, image (base64), and file message types.
- Offers @mention support using user ID or phone number.
- Tracks message history for contextual awareness.
- Features a configurable logging system.
- Includes Pydantic-based data validation.
Use Cases
- Sending automated weather updates to WeCom groups.
- Delivering meeting reminders and @mentioning relevant attendees.
- Distributing files such as weekly reports to WeCom channels.