WeCom BotSAFE
A Python server implementation for WeCom (WeChat Work) bot that follows the Model Context Protocol (MCP). This server provides a standardized interface for handling automated messaging and context-aware interactions within enterprise WeChat environments.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://mseep.ai/app/loonghao-wecom-bot-mcp-server)
A Model Context Protocol (MCP) compliant server implementation for WeCom (WeChat Work) bot.
[](https://badge.fury.io/py/wecom-bot-mcp-server) [](https://pypi.org/project/wecom-bot-mcp-server/) [](https://app.codecov.io/gh/loonghao/wecom-bot-mcp-server) [](https://github.com/astral-sh/ruff) [](https://smithery.ai/server/wecom-bot-mcp-server)
English | 中文
Features
- Support for multiple message types:
- Markdown messages (with @mentions and font colors)
- Markdown V2 messages (with tables, lists, embedded images)
- Image messages (base64/local file/URL)
- File messages
- Template card messages (textnotice and newsnotice)
- Multi-bot support: Configure and use multiple WeCom bots
- @mention support (via user ID or phone number)
- Message history tracking
- Configurable logging system
- Full type annotations
- Pydantic-based data validation
Requirements
- Python 3.10+
- WeCom Bot Webhook URL (obtained from WeCom group settings)
Installation
There are several ways to install WeCom Bot MCP Server:
1. Automated Installation (Recommended)
Using Smithery (For Claude Desktop):
npx -y @sm
6597c58a1143OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add wecom-bot-mcp-server-docs -- npx -y [email protected]
{
"mcpServers": {
"wecom-bot-mcp-server-docs": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (1)
1 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
list_wecom_bots | read | List all configured WeCom bots. |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (2 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (10)
.coveragerc
.pre-commit-config.yaml
.release-please-manifest.json
.uvconfig
__import__(full_module_name)
outside = "/etc/passwd"
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
vitepress
uv, nox, pytest, pytest-cov, pytest-asyncio, ruff, mypy, isort
mcp, notify-bridge, uvicorn, platformdirs, pydantic, ftfy, httpx, pillow
Gates applied: no_behavioural_pass.
6597c58a1143full audit observations/trust-audit/mcp-server/loonghao__wecom-bot.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 6597c58a1143 | SAFE | B | 89 | first audit |
Questions
What is the WeCom Bot MCP server?
A Python server implementation for WeCom (WeChat Work) bot that follows the Model Context Protocol (MCP). This server provides a standardized interface for handling automated messaging and context-aware interactions within enterprise WeChat environments.
What tools does WeCom Bot expose?
1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is WeCom Bot safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does WeCom Bot need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (6597c58a1143), read on 2026-10-07. The repository is watched and re-audited when it changes.