Send a text message to WeCom group
Send a markdown message to WeCom group
Send an image message to WeCom group
Send a news message to WeCom group with title, description, URL, and image URL
Send a template card message to WeCom group
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.
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.
Before using this MCP, you need:
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
Clone the repository:
git clone https://github.com/gotoolkits/mcp-wecombot-server.git
Build the application:
cd mcp-wecombot-server
make build
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.
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.
To set up a WeCom group robot:
For detailed instructions, refer to the official WeCom documentation.
Here are some examples of how to use the WeCom Bot with Claude:
Send a text message:
Send a text message to my WeCom group saying "Team meeting at 3 PM today"
Send a markdown message:
Send a markdown message to WeCom with the content:
# Project Update
- Feature A completed
- Working on Feature B
- **Deadline**: Friday
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.