1. Conduid
  2. Developer Tools
  3. Wecom Bot MCP Server
MCP server · Developer Tools

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.

80Strong

Scored 19 hours ago · breakdown

About Wecom Bot MCP Server

Wecom Bot MCP Server is an MCP server published by loonghao in the Developer Tools category: 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. Conduid read 6 tools from its source: list_wecom_bots, send_message, send_wecom_file, send_wecom_image, send_wecom_template_card_news_notice and send_wecom_template_card_text_notice. No package is published for it, so it installs from a source checkout.

The repository has 106 stars and 20 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v0.11.2 (30 Jul 2026). It follows v0.11.1 (18 Jun 2026), and the 5 most recent releases go back to v0.10.1 (24 Dec 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include bot and wecom.

Install

From source
git clone https://github.com/loonghao/wecom-bot-mcp-server

Tools (6)

list_wecom_botsList all configured WeCom bots.
send_message
ParameterTypeDescription
bot_idstringBot identifier for multi-bot setups. If not specified, uses the default bot. Use `list_wecom_bots` tool to see available bots. Example values: 'default', 'alert', 'ci', 'notify'
content *stringMessage content. Include <@userid> for mentions in markdown mode. Examples: "Hi <@zhangsan>, please review!" or "<@all> Team meeting at 3 PM"
mentioned_listarrayList of user IDs to mention. Only effective for msg_type='text'. For markdown messages, use <@userid> syntax directly in content instead. User ID format: lowercase pinyin for Chinese names (e.g., 'zhangsan'), lowercase for English names (e.g., 'alice').
mentioned_mobile_listarrayList of mobile numbers to mention. Only effective for msg_type='text'. Format: Phone numbers without country code (e.g., '13800138000').
msg_typeanyMessage type. CRITICAL: Choose based on whether content contains @mentions: - 'markdown': MUST use when content contains <@userid> mentions (e.g., <@zhangsan>). Also use for <font color='...'>text</font> colors. - 'markdown_v2': Use for tables, lists, embedded images ![alt](url), URLs with underscores, or general content WITHOUT mentions. IMPORTANT RULE: If you need to @mention someone, you MUST: 1. Add <@userid> syntax in the content (e.g., 'Hi <@alice>, please review') 2. Set msg_type='markdown' (NOT markdown_v2!) The <@userid> mention syntax ONLY works with msg_type='markdown'!
send_wecom_fileSend file to WeCom.
ParameterTypeDescription
bot_idstringBot identifier for multi-bot setups. If not specified, uses the default bot. Use `list_wecom_bots` tool to see available bots.
file_path *stringPath to the file to send. The file MUST be located within the allowed root directory (set via WECOM_MCP_ALLOWED_ROOT env var, defaults to the current working directory). Paths outside this directory are rejected for security.
send_wecom_imageSend image to WeCom.
ParameterTypeDescription
bot_idstringBot identifier for multi-bot setups. If not specified, uses the default bot. Use `list_wecom_bots` tool to see available bots.
image_path *stringPath to the image file to send (local file path or HTTP(S) URL). For local paths, the file MUST be within the allowed root directory (set via WECOM_MCP_ALLOWED_ROOT env var, defaults to CWD). Paths outside this directory are rejected for security.
send_wecom_template_card_news_notice
ParameterTypeDescription
bot_idstringBot identifier for multi-bot setups. If not specified, uses the default bot. Use `list_wecom_bots` tool to see available bots.
template_card_card_action *objectPrimary click action for the card.
template_card_horizontal_content_listarrayHorizontal content items.
template_card_imageobjectMain image configuration for the news_notice card. Should contain 'url' and optionally 'aspect_ratio'.
template_card_image_text_areaobjectImage text area configuration. Should contain 'image_url', 'title', 'desc', etc.
template_card_jump_listarrayJump (link) buttons.
template_card_main_title *objectMain title and description for the card.
template_card_quote_areaobjectQuote area configuration.
template_card_source *objectSource info for the card (icon_url, desc, desc_color, etc.)
template_card_vertical_content_listarrayVertical content items.
send_wecom_template_card_text_notice
ParameterTypeDescription
bot_idstringBot identifier for multi-bot setups. If not specified, uses the default bot. Use `list_wecom_bots` tool to see available bots.
template_card_card_action *objectPrimary click action for the card.
template_card_emphasis_contentobjectEmphasised numeric content area.
template_card_horizontal_content_listarrayHorizontal content items.
template_card_jump_listarrayJump (link) buttons.
template_card_main_title *objectMain title and description for the card.
template_card_quote_areaobjectQuote area configuration.
template_card_source *objectSource info for the card (icon_url, desc, desc_color, etc.)
template_card_sub_title_textstringSubtitle text under the main title.

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.6K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by poetry.lock and uv.lock.
  • ✓No dynamic code executionScanned 13 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
None found in the source
Starts other programs
No calls that start other programs
Outbound network calls
1 callsrc/wecom_bot_mcp_server/image.py:49
Writes or deletes files
2 callssrc/wecom_bot_mcp_server/image.py:47, src/wecom_bot_mcp_server/image.py:72
Lockfile
poetry.lock and uv.lock

Pattern matches on the source text of 13 files: places to read, not proof of what the code does at run time.

Releases

v0.11.2v0.11.2 · 30 Jul 2026Comparing Changes: https://github.com/loonghao/wecom-bot-mcp-server/compare/v0.11.1...v0.11.2 Bugs 🐞 fix: pin mcp>=1.3.0,<2.0.0 and sanitize shell function env vars d8c3bdf Misc 💄 chore: update poetry.lock after mcp version pin 7892c6c 💄…
v0.11.1v0.11.1 · 18 Jun 2026Comparing Changes: https://github.com/loonghao/wecom-bot-mcp-server/compare/v0.11.0...v0.11.1 Bugs 🐞 fix: add path confinement to prevent arbitrary file exfiltration via send_wecom_file (CWE-22) e6761e7 Improve 📈 perf: add lru_cache to…
v0.11.0v0.11.0 · 30 Jan 2026Comparing Changes: https://github.com/loonghao/wecom-bot-mcp-server/compare/v0.10.2...v0.11.0 Feature 🌟 feat(prompts): enhance MCP prompts for intelligent @mention user detection 2f7ef74 Misc 💄 chore(deps): update actions/checkout action…
v0.10.2v0.10.2 · 24 Dec 2025Comparing Changes: https://github.com/loonghao/wecom-bot-mcp-server/compare/v0.10.1...v0.10.2 Bugs 🐞 fix: add configure-pages step for GitHub Pages deployment 6bfaf3b Misc 💄 chore(deps): update actions/setup-node action to v6 162e826…
v0.10.1v0.10.1 · 24 Dec 2025Comparing Changes: https://github.com/loonghao/wecom-bot-mcp-server/compare/v0.10.0...v0.10.1 Bugs 🐞 fix: resolve lint errors (ruff, isort, mypy) 9e986ce 🐞 fix: update tests to mock get_bot_registry instead of get_webhook_url 36ba1eb 🐞…

README

The repository's README runs to about 1.6K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Wecom Bot MCP Server

How do I install Wecom Bot MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Wecom Bot MCP Server safe to use with an AI agent?

Its trust score is 80 out of 100 (strong). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 13 source files found that it makes outbound network calls (1 call) and writes or deletes files (2 calls). Its dependencies are pinned by poetry.lock and uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Wecom Bot MCP Server still maintained?

Yes — the latest release is v0.11.2 (30 Jul 2026), and the last commit was yesterday. The repository has 106 stars and 16 open issues.

What tools does Wecom Bot MCP Server provide?

Conduid read 6 tools from the source: list_wecom_bots, send_message, send_wecom_file, send_wecom_image, send_wecom_template_card_news_notice and send_wecom_template_card_text_notice. 5 of them publish their parameters, listed under Tools above.

What license is Wecom Bot MCP Server released under?

The repository declares the MIT license. That applies to the latest release, v0.11.2, as well.