MCP.so
ログイン

WeCom Bot MCP Server

@loonghao

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

loonghao

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.

WeCom Bot MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "wecom-bot-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "wecom-bot-mcp-server",
        "--client",
        "claude"
      ]
    }
  }
}

WeCom Bot MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is WeCom Bot MCP Server?

A Model Context Protocol (MCP) server for WeCom (WeChat Work) bot. It enables AI assistants to send messages, files, images, and template cards to WeCom groups through webhook URLs.

How to use WeCom Bot MCP Server?

Install via uvx or with Smithery for Claude Desktop, then configure the WECOM_WEBHOOK_URL environment variable. The server runs automatically when the MCP client starts, allowing you to interact through natural language. For developers, the package also provides a direct Python API.

Key features of WeCom Bot MCP Server

  • Support for multiple message types (markdown, image, file, template card)
  • Multi-bot configuration and management
  • @mention support via user ID or phone number
  • Message history tracking
  • Configurable logging system with cross-platform log storage
  • Pydantic-based data validation

Use cases of WeCom Bot MCP Server

  • Send weather updates or notifications to a WeCom group
  • Send meeting reminders with @mentions for specific attendees
  • Deliver files (reports, logs) or images (charts) to a group
  • Send critical alerts or CI/CD notifications to designated bots
  • Send template card notifications with action buttons or news-style cards

よくある質問

1

What are the prerequisites to use WeCom Bot MCP Server?

Python 3.10+ and a WeCom Bot Webhook URL obtained from a WeCom group’s bot settings.

2

How can I configure multiple bots?

Set the `WECOM_BOTS` environment variable with a JSON object containing each bot’s name and webhook URL, or use individual `WECOM_BOT_<name>_URL` variables. The `WECOM_WEBHOOK_URL` variable can also be used as a default bot.

3

What MCP tools does the server provide?

It provides `send_message`, `send_wecom_file`, `send_wecom_image`, `send_wecom_template_card_text_not

コメント

「その他」の他のコンテンツ