Atlas / MCP servers / loonghao / WeCom Bot

WeCom BotSAFE

mcp/loonghao/wecom-bot

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.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
1 1r · 0w · 0d
Transport
—
License
MIT
Stars
103
01

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
Read from source at commit 6597c58a1143OBSERVED · 2026-10-07
02

Connect

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-code
claude mcp add wecom-bot-mcp-server-docs -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "wecom-bot-mcp-server-docs": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
list_wecom_botsreadList all configured WeCom bots.
04

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (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)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.coveragerc
.coveragerc
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.release-please-manifest.json
.release-please-manifest.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.uvconfig
.uvconfig
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/test_imports.py:197
__import__(full_module_name)
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/test_utils.py:192
outside = "/etc/passwd"
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
.github/workflows/issue-translator.yml:17
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
docs/package.json
vitepress
Why it matters. 1 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements-dev.txt
uv, nox, pytest, pytest-cov, pytest-asyncio, ruff, mypy, isort
Why it matters. 10 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
mcp, notify-bridge, uvicorn, platformdirs, pydantic, ftfy, httpx, pillow
Why it matters. 13 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 6597c58a1143full audit observations/trust-audit/mcp-server/loonghao__wecom-bot.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-076597c58a1143SAFEB89first audit
06

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.

Advertisement