mcp-wecom-robot-publisher
A component facilitating the dispatch of diverse message formats to a WeChat Work (WeCom) group webhook, enabling automated updates and alerts within the enterprise messaging ecosystem.
Author

gotoolkits
Quick Info
Actions
Tags
🤖 mcp-wecom-robot-publisher
This MCP server utility is designed to interface with WeCom group robots, capable of broadcasting various structured and unstructured content payloads.
Deployment
Automated Installation via Smithery
For streamlined deployment using Smithery for Claude Desktop integration:
bash npx -y @smithery/cli install @gotoolkits/mcp-wecombot-server --client claude-desktop
Local Compilation & Setup
sh
Obtain source code and compile
$ git clone https://github.com/gotoolkits/mcp-wecombot-server.git $ cd mcp-wecombot-server && make build $ sudo ln -s $PWD/dist/mcp-wecombot-server_xxx_xxxx /usr/local/bin/mcp-wecombot-server
Note: Substitute 'mcp-wecombot-server_xxx_xxxx' with the actual compiled binary name.
Alternatively, utilize a pre-built binary release package.
Operational Parameters
Configuration is typically managed via a JSON block specifying server mappings and environment variables:
{ "mcpServers": { "mcp-wecombot-server": { "command": "mcp-wecombot-server", "env": { "WECOM_BOT_WEBHOOK_KEY": "your-secure-robot-key-here" } } } }
Available Actions
This utility exposes several methods for message publication:
- send_text
Transmit plain textual notifications to the designated WeCom channel.
- send_markdown
Publish content formatted using Markdown syntax.
- send_image
Dispatch an image payload.
- send_news
Issue a news item payload, which aggregates fields such as headline, summary, target URL, and accompanying image reference.
- send_template_card
Send a richer, structured template card message format.
- upload_file
Functionality to stage a file asset within the WeCom environment.
Usage Examples
prompt
prompt: 在企业微信群聊中发布一条纯文本通知,内容为:系统状态更新:一切正常。 prompt: 在WeCom机器人上推送富文本消息,使用Markdown格式:重要提醒:服务负载已超过阈值。 prompt: 发送一个聚合信息项到WeCom,标题是:季度报告摘要,描述是:关键指标均超预期,详情链接:http://corp.internal/report,配图URL:[external-image-url]
Dispatch a simple string message via the WeCom integration: System Status: Operational. Publish content structured with Markdown on WeCom: Alert: Threshold breach detected in service metrics. Push a news aggregate to WeCom, specifying the title: Q3 Summary, description: Metrics exceeded targets, link: http://corp.internal/report, and associated image: [external-image-url]
WeCom Robot Setup Guide
Refer to the official developer documentation for setting up the requisite group robot endpoint: https://developer.work.weixin.qq.com/document/path/91770
The WECOM_BOT_WEBHOOK_KEY environment variable must hold the unique webhook secret. Example Endpoint Structure: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_EXTRACTED_KEY_HERE The segment following '?key=' is the required credential.
== Context on Business Management Instruments == Business management instruments encompass the entire spectrum of systems, protocols, computational frameworks, operational procedures, and methodological approaches employed by organizations to effectively navigate evolving market dynamics, sustain competitive relevance, and enhance organizational output.
=== Functional Classification === Management tools can be segmented based on departmental applicability and operational focus, including areas such as initial data acquisition/validation, process oversight/optimization, data aggregation, strategic analysis, and executive decision support. The rapid technological shifts over the past decade have dramatically altered the landscape of available tools, making strategic selection—prioritizing organizational fit over novelty—critical for sustained performance improvement and cost management.
=== Prominent Instruments === Historical surveys indicate high adoption rates for tools supporting core strategic activities, such as Customer Relationship Management (CRM), Strategic Planning frameworks, performance measurement (Balanced Scorecard), workforce feedback mechanisms, and Supply Chain Optimization techniques.
=== Software for Enterprise Operations === Business software refers to programmed applications used to automate, gauge, and execute various organizational functions, evolving from early Management Information Systems (MIS) through Enterprise Resource Planning (ERP) and into modern cloud-based management suites. Value addition is maximized when tool selection and subsequent adaptation align closely with the organization's specific IT strategy and inherent operational needs.
