WeChat Work integration
## WeCom MCP Server: Enterprise WeChat The **WeCom MCP Server** integrates WeCom (Enterprise WeChat) into Google Antigravity. This enables enterprise communication, automation, and integration for organizations using WeChat's business platform. ### Why WeCom MCP? WeCom powers Chinese enterprises: - **Enterprise Focus**: Business communication - **WeChat Integration**: Connect with customers - **Apps Platform**: Internal applications - **Security**: Enterprise-grade compliance - **APIs**: Comprehensive automation ### Key Features #### 1. Send Messages ```python import requests access_token = get_access_token(corpid, corpsecret) # Send to user response = requests.post( f"https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token={access_token}", json={ "touser": "user1|user2", "msgtype": "text", "agentid": agent_id, "text": {"content": "Deployment complete!"} } ) ``` #### 2. Markdown Cards ```python # Send rich markdown message response = requests.post( f"https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token={access_token}", json={ "touser": "@all", "msgtype": "markdown", "agentid": agent_id, "markdown": { "content": "## Build Status\\n**Build #123** passed :white_check_mark:\\n> All 142 tests passed" } } ) ``` #### 3. Webhook Robots ```python # Send to group robot webhook_url = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx" requests.post(webhook_url, json={ "msgtype": "markdown", "markdown": { "content": "## Alert\\n<font color=\\"warning\\">CPU usage at 95%</font>" } }) ``` ### Configuration ```json { "mcpServers": { "wecom": { "command": "npx", "args": ["-y", "@anthropic/mcp-wecom"], "env": { "WECOM_CORPID": "your-corpid", "WECOM_SECRET": "your-secret", "WECOM_AGENT_ID": "your-agent-id" } } } } ``` ### Use Cases **Enterprise Alerts**: Internal notifications and alerts. **Workflow Automation**: Approval and process automation. **Customer Bridge**: Connect internal teams with customers. The WeCom MCP Server brings enterprise WeChat to Antigravity.
{
"mcpServers": {
"wecom": {
"mcpServers": {
"wecom": {
"env": {
"WECOM_BOT_KEY": "YOUR_BOT_KEY"
},
"args": [
"-y",
"wecom-bot-mcp-server"
],
"command": "npx"
}
}
}
}
}