# Wecom Bot MCP

> 企业微信机器人 MCP (Model Context Protocol) 服务，支持发送 Markdown 消息、文件和图片。

- **Type:** MCP server
- **Install:** `agentstack add mcp-mcpservice-wecom-bot-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [McpService](https://agentstack.voostack.com/s/mcpservice)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [McpService](https://github.com/McpService)
- **Source:** https://github.com/McpService/Wecom-Bot-MCP
- **Website:** https://hamm.cn

## Install

```sh
agentstack add mcp-mcpservice-wecom-bot-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 企业微信机器人 MCP 服务

基于 [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) 标准实现的企业微信机器人服务，支持通过 AI 助手发送消息、文件和图片到企业微信群聊。

## ✨ 功能特性

- ✅ **发送 Markdown 消息** - 支持 Markdown V2 格式，包含标题、加粗、斜体、列表、引用、链接、代码块、表格等
- ✅ **发送文件** - 支持 PDF、Word、Excel、PPT、TXT、ZIP 等多种格式，最大 20MB
- ✅ **发送图片** - 支持本地图片文件或网络图片 URL，JPG/PNG 格式，最大 2MB
- ✅ **标准 MCP 协议** - 兼容 MCP 客户端，如 Claude Desktop

## 🚀 快速开始

### 获取 Webhook Key

在企业微信中创建群机器人
   - 进入企业微信 -> 群聊 -> 群机器人 -> 添加
   - 选择机器人类型，设置名称和头像

复制 webhook URL，格式如下：
   ```
   https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=693axxx6-7aoc-4bc4-97a0-0ec2sifa5aaa
   ```

提取 `key` 参数值：`693axxx6-7aoc-4bc4-97a0-0ec2sifa5aaa`

### 在 MCP 客户端中配置

```json
{
  "mcpServers": {
    "Wecom-Bot-MCP": {
      "command": "npx",
      "args": ["-y", "wecom-bot-mcp"],
      "env": {
        "WECOM_WEBHOOK_KEY": "$WECOM_WEBHOOK_KEY"
      }
    }
  }
}
```

## 📄 License

[MIT](LICENSE)

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [McpService](https://github.com/McpService)
- **Source:** [McpService/Wecom-Bot-MCP](https://github.com/McpService/Wecom-Bot-MCP)
- **License:** MIT
- **Homepage:** https://hamm.cn

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-mcpservice-wecom-bot-mcp
- Seller: https://agentstack.voostack.com/s/mcpservice
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
