loonghao/wecom-bot-mcp-server
If you are the rightful owner of wecom-bot-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) compliant server implementation for WeCom (WeChat Work) bot.
Tools
Functions exposed to the LLM to take actions
send_wecom_file
Send file to WeCom.
Args: file_path: Path to file ctx: FastMCP context
Returns: dict: Response containing status and message
Raises: WeComError: If file is not found or API call fails
send_wecom_image
Send image to WeCom.
Args: image_path: Path to image file or URL ctx: FastMCP context
Returns: dict: Response containing status and message
Raises: WeComError: If image is not found or API call fails.
send_message
Send message to WeCom.
Args: content: Message content msg_type: Message type (text, markdown) mentioned_list: List of mentioned users mentioned_mobile_list: List of mentioned mobile numbers ctx: FastMCP context
Returns: dict: Response containing status and message
Raises: WeComError: If message sending fails
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client
get_message_history_resource
URI: history://messages
MIME: text/plain
Resource endpoint to access message history.
Returns: str: Formatted message history