Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by loonghao • Messaging & Collaboration
An MCP server implementation for managing WeCom bot interactions.
Send and manage different types of messages via WeCom bots
Track and log WeCom bot message history
Integrate WeCom messaging capabilities into AI applications
The WeCom Bot MCP Server is a Model Context Protocol compliant server designed to facilitate automated interaction with WeCom bots. It supports multiple message types, user mention capabilities, and maintains a message history. This server is ideal for integrating WeCom messaging features into AI-driven applications, providing full type annotations and utilizing Pydantic for data validation.
Send file to WeCom. Args: file_path: Path to the file to send bot_id: Bot identifier for multi-bot setups. If None, uses the default bot. Returns: dict: Response with file information and status Raises: WeComError: If file sending fails
Send image to WeCom. Args: image_path: Path to the image file to send bot_id: Bot identifier for multi-bot setups. If None, uses the default bot. Returns: dict: Response with image information and status Raises: WeComError: If image sending fails
Send message to WeCom with optional @mentions. MENTION USERS: When users want to notify/remind/cc someone, convert their intent to <@userid> syntax: - "remind Zhang San" → Add <@zhangsan> in content, use msg_type='markdown' - "notify @alice and @bob" → Add <@alice> <@bob> in content, use msg_type='markdown' - "let everyone know" → Add <@all> in content, use msg_type='markdown' User ID conventions: - Chinese names → pinyin: "张三" → "zhangsan", "李四" → "lisi" - English names → lowercase: "Alice" → "alice" - Explicit usernames → preserve: "@zhangwei" → "zhangwei" Args: content: Message content. Include <@userid> for mentions in markdown mode. Examples: "Hi <@zhangsan>, please review!" or "<@all> Team meeting at 3 PM" msg_type: Message type. Use 'markdown' for @mentions, 'markdown_v2' for general content. mentioned_list: User IDs to mention (only for text messages). mentioned_mobile_list: Mobile numbers to mention (only for text messages). bot_id: Bot identifier for multi-bot setups. If None, uses the default bot. Returns: dict: Response with status and message Raises: WeComError: If sending message fails
MCP tool wrapper for sending a text_notice template card. The structure of the template card fields follows the WeCom template_card documentation and notify-bridge examples.
MCP tool wrapper for sending a news_notice template card.
High-level guidelines for planning WeCom messages. This prompt explains how to choose between `markdown` and `markdown_v2` message types, when to call the image/file tools, and how to use multiple bots.
Resource endpoint to access message history. Returns: str: Formatted message history
Resource endpoint providing multi-bot usage instructions. Returns: str: Instructions for using multiple bots
Resource endpoint describing WeCom markdown capabilities. This can be used by MCP clients or models to decide which message type to use based on the desired formatting (tables, images, colors, mentions, etc.).
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.