Mcp Wecombot Server について
mcp-wecombot-server は、WeCom グループロボットへさまざまな種類のメッセージを送信する MCP サーバーです。AI アシスタントから WeCom のグループへ通知を投稿したい利用者向けです。
主な機能
- 01テキストメッセージの送信
- 02Markdown メッセージの送信
- 03画像メッセージの送信
- 04図文メッセージとテンプレートカードの送信
- 05WeCom へのファイルアップロード
活用シーン
- 01AI アシスタントからチームグループへ状態通知を投稿する
- 02Markdown 形式のレポートを WeCom グループへ送信する
- 03図文メッセージでリンクや画像を共有する
MCP 対応
本プロジェクトは MCP サーバーであり、send_text、send_markdown、send_image、send_news、send_template_card、upload_file などのツールを MCP クライアントに提供します。
設定
ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。
ツール
ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。
詳細
🚀 mcp-wecombot-server
WeCom グループロボットにさまざまな種類のメッセージを送信する MCP サーバーアプリケーションです。
インストール
Smithery 経由でのインストール
Smithery 経由で、Claude Desktop に mcp-wecombot-server を自動的にインストールするには、以下を実行します。
npx -y @smithery/cli install @gotoolkits/mcp-wecombot-server --client claude-desktop
手動インストール
# clone the repo and build
$ git clone https://github.com/gotoolkits/mcp-wecombot-server.git
$ cd mcp-wecombot-server && make build
$ sudo ln -s $PWD/dist/mcp-wecombot-server_xxx_xxxx /usr/local/bin/mcp-wecombot-server
# "$PWD/dist/mcp-wecombot-server_xxx_xxxx" replace with the actual binary file name
#You can also download and use the pre-compiled release binary package.
設定
{
"mcpServers": {
"mcp-wecombot-server": {
"command": "mcp-wecombot-server",
"env": {
"WECOM_BOT_WEBHOOK_KEY": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
}
}
}
}
使用方法
- send_text
WeCom グループにテキストメッセージを送信します
- send_markdown
WeCom グループに Markdown メッセージを送信します
- send_image
WeCom グループに画像メッセージを送信します
- send_news
WeCom グループにニュースメッセージを送信します。ニュースにはタイトル、説明、URL、画像 URL が含まれます
- send_template_card
WeCom グループにテンプレートカードメッセージを送信します
- upload_file
WeCom にファイルをアップロードします
サンプル
> prompt: 给我在WeCom发送一条文本消息,消息内容为:这是一条测试消息
> prompt: 给我在WeCom发送一条markdown消息,消息内容为:# 这是一条测试 Markdown 消息
> prompt: 给我在WeCom发送一条图文消息,图文标题为:这是一条图文消息,图文描述为:这是一条图文消息,图文链接为:https://github.com/gotoolkits,图文图片为:https://img-blog.csdnimg.cn/fcc22710385e4edabccf2451d5f64a99.jpeg
> Send me a text message on WeCom with the content: This is a test message.
> Send me a Markdown message on WeCom with the content: # This is a test Markdown message
> Send me a graphic message on WeCom with the title: This is a graphic message, the description: This is a graphic message, the link: https://github.com/gotoolkits, and the image: https://img-blog.csdnimg.cn/fcc22710385e4edabccf2451d5f64a99.jpeg
WeCom ロボット
WeCom グループロボットの設定ガイドについては、以下を参照してください。 https://developer.work.weixin.qq.com/document/path/91770
WECOM_BOT_WEBHOOK_KEY はロボットの Webhook キーです
例: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=693axxx6-7aoc-4bc4-97a0-0ec2sifa5aaa
「693axxx6-7aoc-4bc4-97a0-0ec2sifa5aaa」は、ご自身の WECOM_BOT_WEBHOOK_KEY です
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。