Multiple Message Types
Support for text, markdown, image, and file messages with @mention capabilities
A Model Context Protocol (MCP) compliant server for WeCom Bot

npx -y @smithery/cli install wecom-bot-mcp-server --client claudepip install wecom-bot-mcp-serveruvx wecom-bot-mcp-server{
"mcpServers": {
"wecom": {
"command": "uvx",
"args": ["wecom-bot-mcp-server"],
"env": {
"WECOM_WEBHOOK_URL": "your-webhook-url"
}
}
}
}Configure multiple bots for different purposes (alerts, CI/CD, team updates):
{
"mcpServers": {
"wecom": {
"command": "uvx",
"args": ["wecom-bot-mcp-server"],
"env": {
"WECOM_WEBHOOK_URL": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=default",
"WECOM_BOTS": "{\"alert\": {\"name\": \"Alert Bot\", \"webhook_url\": \"https://...?key=alert\"}, \"ci\": {\"name\": \"CI Bot\", \"webhook_url\": \"https://...?key=ci\"}}"
}
}
}
}# JSON configuration (recommended)
export WECOM_BOTS='{
"alert": {"name": "Alert Bot", "webhook_url": "https://...?key=alert"},
"ci": {"name": "CI Bot", "webhook_url": "https://...?key=ci"}
}'
# Or individual variables
export WECOM_BOT_ALERT_URL="https://...?key=alert"
export WECOM_BOT_CI_URL="https://...?key=ci"JSON Escape Tools
The WECOM_BOTS value requires JSON escaping. Use these online tools to convert your JSON:
Use list_wecom_bots tool to discover all configured bots. Learn more →