Xpersona
W

WeCom

CLAWHUB · Unverified

Send messages to WeCom (企业微信) via webhooks using MCP protocol. Works with Claude Code, Claude Desktop, and other MCP clients. Skill: WeCom Owner: qidu Summary: Send messages to WeCom (企业微信) via webhooks using MCP protocol. Works with Claude Code, Claude Desktop, and other MCP clients. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-01-29T01:00:02.810Z | auto - Initial release of the WeCom skill. - Send text and markdown messages to WeCom (企业微信) using webhooks and MCP protocol. - Includes two tools: send_wecom_message (text with optional m

62
Rank
84
Safety
2.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2.3K downloads reported by the source. Last updated 4/15/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install kn79rjem750rqx057ca5q80kph804196:wecom
  1. Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
  2. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-qidu-wecom/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

57,266 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: wecom
description: "Send messages to WeCom (企业微信) via webhooks using MCP protocol. Works with Claude Code, Claude Desktop, and other MCP clients."
---

# WeCom Skill

Send text and markdown messages to WeCom (企业微信) via incoming webhooks.

## Setup

```bash
# Navigate to skill directory
cd skills/wecom

# Install dependencies
npm install

# Build TypeScript
npm run build

# Set webhook URL
export WECOM_WEBHOOK_URL="https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY"
```

## Usage with Claude Code

Add to your `~/.config/claude_code/mcp.json`:

```json
{
  "mcpServers": {
    "wecom": {
      "command": "node",
      "args": ["/path/to/clawdbot/skills/wecom/dist/index.js"],
      "env": {
        "WECOM_WEBHOOK_URL": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY"
      }
    }
  }
}
```

Then restart Claude Code. You'll have two new tools:

## Tools

### send_wecom_message

Send a text message to WeCom.

```bash
# Simple message
await send_wecom_message({ content: "Hello from Clawdbot!" });

# With mentions
await send_wecom_message({
  content: "Meeting starting now",
  mentioned_list: ["zhangsan", "lisi"]
});
```

### send_wecom_markdown

Send a markdown message (WeCom flavor).

```bash
await send_wecom_markdown({
  content: `# Daily Report
  
**Completed:**
- Task A
- Task B

**Pending:**
- Task C

<@zhangsan>`
});
```

## WeCom Markdown Tags

WeCom supports:

| Feature | Syntax |
|---------|--------|
| Bold | `**text**` or `<strong>text</strong>` |
| Italic | `*text*` or `<i>text</i>` |
| Strikethrough | `~~text~~` or `<s>text</s>` |
| Mention | `<@userid>` |
| Link | `<a href="url">text</a>` |
| Image | `<img src="url" />` |
| Font size | `<font size="5">text</font>` |
| Color | `<font color="#FF0000">text</font>` |

## Environment Variables

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `WECOM_WEBHOOK_URL` | Yes | - | WeCom webhook URL |
| `WECOM_TIMEOUT_MS` | No | 10000 | Request timeout (ms) |

README.md

# WeCom MCP Server for Clawdbot

Send messages to WeCom (企业微信) via incoming webhooks.

## Installation

```bash
# Set your webhook URL
export WECOM_WEBHOOK_URL="https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY"

# Install globally
npm install -g wecom-bot-mcp-server

# Or run directly with npx
npx wecom-bot-mcp-server
```

## Available Tools

### send_wecom_message

Send a text message to WeCom channel.

```json
{
  "type": "function",
  "function": {
    "name": "send_wecom_message",
    "description": "Send a text message to WeCom via webhook",
    "parameters": {
      "type": "object",
      "properties": {
        "content": {
          "type": "string",
          "description": "Message content to send"
        },
        "mentioned_list": {
          "type": "array",
          "description": "List of userids to mention",
          "items": {"type": "string"}
        }
      },
      "required": ["content"]
    }
  }
}
```

### send_wecom_markdown

Send a markdown message to WeCom channel.

```json
{
  "type": "function",
  "function": {
    "name": "send_wecom_markdown",
    "description": "Send a markdown message to WeCom via webhook",
    "parameters": {
      "type": "object",
      "properties": {
        "content": {
          "type": "string",
          "description": "Markdown content to send"
        }
      },
      "required": ["content"]
    }
  }
}
```

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `WECOM_WEBHOOK_URL` | Yes | WeCom incoming webhook URL |
| `WECOM_TIMEOUT_MS` | No | Request timeout in ms (default: 10000) |

## WeCom Markdown Support

WeCom supports a subset of Markdown:

- **Bold**: `<strong>text</strong>` or `**text**`
- *Italic*: `<i>text</i>` or `*text*`
- ~~Strikethrough~~: `<s>text</s>`
- Links: `<a href="url">text</a>`
- Images: `<img src="url" />`
- Headers: `<font size="5">text</font>`

## Examples

```typescript
import { sendWecomMessage } from 'wecom-bot-mcp-server';

// Send simple text
await sendWecomMessage({
  content: "Hello from Clawdbot!"
});

// Send with mentions
await sendWecomMessage({
  content: "Meeting starting now",
  mentioned_list: ["zhangsan", "lisi"]
});

// Send markdown
await sendWecomMarkdown({
  content: "# Daily Report\n\n**Completed:**\n- Task A\n- Task B\n\n**Pending:**\n- Task C"
});
```

_meta.json

{
  "ownerId": "kn79rjem750rqx057ca5q80kph804196",
  "slug": "wecom",
  "version": "1.0.0",
  "publishedAt": 1769648402810
}

package-lock.json

{
  "name": "wecom-bot-mcp-server",
  "version": "1.0.0",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "name": "wecom-bot-mcp-server",
      "version": "1.0.0",
      "license": "MIT",
      "dependencies": {
        "@modelcontextprotocol/sdk": "^1.0.0",
        "axios": "^1.6.0"
      },
      "devDependencies": {
        "@types/node": "^20.10.0",
        "ts-node": "^10.9.0",
        "typescript": "^5.3.0"
      }
    },
    "node_modules/@cspotcode/source-map-support": {
      "version": "0.8.1",
      "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
      "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "@jridgewell/trace-mapping": "0.3.9"
      },
      "engines": {
        "node": ">=12"
      }
    },
    "node_modules/@hono/node-server": {
      "version": "1.19.9",
      "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.9.tgz",
      "integrity": "sha512-vHL6w3ecZsky+8P5MD+eFfaGTyCeOHUIFYMGpQGbrBTSmNNoxv0if69rEZ5giu36weC5saFuznL411gRX7bJDw==",
      "license": "MIT",
      "engines": {
        "node": ">=18.14.1"
      },
      "peerDependencies": {
        "hono": "^4"
      }
    },
    "node_modules/@jridgewell/resolve-uri": {
      "version": "3.1.2",
      "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
      "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=6.0.0"
      }
    },
    "node_modules/@jridgewell/sourcemap-codec": {
      "version": "1.5.5",
      "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
      "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
      "dev": true,
      "license": "MIT"
    },
    "node_modules/@jridgewell/trace-mapping": {
      "version": "0.3.9",
      "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz",
      "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "@jridgewell/resolve-uri": "^3.0.3",
        "@jridgewell/sourcemap-codec": "^1.4.10"
      }
    },
    "node_modules/@modelcontextprotocol/sdk": {
      "version": "1.25.3",
      "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.25.3.tgz",
      "integrity": "sha512-vsAMBMERybvYgKbg/l4L1rhS7VXV1c0CtyJg72vwxONVX0l4ZfKVAnZEWTQixJGTzKnELjQ59e4NbdFDALRiAQ==",
      "license": "MIT",
      "dependencies": {
        "@hono/node-server": "^1.19.9",
        "ajv": "^8.17.1",
        "ajv-formats": "^3.0.1",
  

package.json

{
  "name": "wecom-bot-mcp-server",
  "version": "1.0.0",
  "description": "WeCom (企业微信) MCP Server for Clawdbot",
  "main": "dist/index.js",
  "scripts": {
    "build": "tsc",
    "start": "node dist/index.js",
    "dev": "ts-node src/index.ts"
  },
  "keywords": [
    "mcp",
    "wecom",
    "wechat",
    "企业微信",
    "claude"
  ],
  "author": "",
  "license": "MIT",
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.0.0",
    "axios": "^1.6.0"
  },
  "devDependencies": {
    "@types/node": "^20.10.0",
    "ts-node": "^10.9.0",
    "typescript": "^5.3.0"
  }
}

Sponsored

Ads related to WeCom and adjacent AI workflows.