Back to MCP Catalog

WeCom Bot MCP Server

CommunicationGo
Send various types of messages to WeCom group robots
Available Tools

send_text

Send a text message to WeCom group

send_markdown

Send a markdown message to WeCom group

send_image

Send an image message to WeCom group

send_news

Send a news message to WeCom group with title, description, URL, and image URL

send_template_card

Send a template card message to WeCom group

upload_file

Upload a file to WeCom

WeCom Bot is an MCP server that enables Claude to send different types of messages to WeCom (WeChat Work) group robots. It supports text, markdown, image, news, and template card messages, allowing for rich communication with teams through WeCom's enterprise messaging platform. This integration bridges AI assistants with enterprise communication channels, making it easy to send notifications, alerts, or information directly to WeCom groups without manual copying and pasting.

Overview

WeCom Bot allows Claude to send various types of messages to WeCom (WeChat Work) group robots. This integration is particularly useful for teams that use WeCom as their primary communication platform and want to automate message sending through AI assistants.

Prerequisites

Before using this MCP, you need:

  1. A WeCom account with permission to create and configure group robots
  2. The webhook key for your WeCom group robot

Installation

Option 1: Install via Smithery (Recommended)

If you're using Claude Desktop, you can install WeCom Bot automatically using Smithery:

npx -y @smithery/cli install @gotoolkits/mcp-wecombot-server --client claude-desktop

Option 2: Manual Installation

  1. Clone the repository:

    git clone https://github.com/gotoolkits/mcp-wecombot-server.git
    
  2. Build the application:

    cd mcp-wecombot-server
    make build
    
  3. Create a symbolic link to make it globally available (optional):

    sudo ln -s $PWD/dist/mcp-wecombot-server_xxx_xxxx /usr/local/bin/mcp-wecombot-server
    

    (Replace mcp-wecombot-server_xxx_xxxx with the actual binary filename)

Alternatively, you can download a pre-compiled binary from the releases page.

Configuration

To configure the MCP in your Claude client, add the following to your configuration:

{
  "mcpServers": {
    "mcp-wecombot-server": {
      "command": "mcp-wecombot-server",
      "env": {
        "WECOM_BOT_WEBHOOK_KEY": "your-webhook-key-here"
      }
    }
  }
}

Replace your-webhook-key-here with your actual WeCom robot webhook key. You can find this key in the URL provided when you create a robot in WeCom: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx

The part after key= is your webhook key.

WeCom Robot Setup

To set up a WeCom group robot:

  1. Open WeCom and navigate to the group where you want to add the robot
  2. Click on the group name to access group settings
  3. Select "Group Robot" and click "Add Robot"
  4. Choose "Custom Robot" and configure the robot settings
  5. After creation, you'll receive a webhook URL - extract the key from this URL

For detailed instructions, refer to the official WeCom documentation.

Usage Examples

Here are some examples of how to use the WeCom Bot with Claude:

  1. Send a text message:

    Send a text message to my WeCom group saying "Team meeting at 3 PM today"
    
  2. Send a markdown message:

    Send a markdown message to WeCom with the content:
    # Project Update
    - Feature A completed
    - Working on Feature B
    - **Deadline**: Friday
    
  3. Send a news message with image:

    Send a news message to WeCom with:
    Title: New Product Launch
    Description: Check out our latest product features
    URL: https://example.com
    Image: https://example.com/image.jpg
    

The MCP will handle formatting and sending these messages to your configured WeCom group.

Related MCPs

YouTube Transcript
CommunicationTypeScript

Retrieve transcripts from YouTube videos

iMessage Query
CommunicationPython

Access and analyze your iMessage conversations through a secure MCP server

Slack Integration
CommunicationTypeScript

Enables AI assistants to interact with Slack workspaces

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.