mcpField
M
Mcp Wecombot Server

Mcp Wecombot Server

ローカル
github.com/gotoolkitsコミュニケーション3692 週間前に更新

Mcp Wecombot Server について

mcp-wecombot-server は、WeCom グループロボットへさまざまな種類のメッセージを送信する MCP サーバーです。AI アシスタントから WeCom のグループへ通知を投稿したい利用者向けです。

主な機能

  1. 01テキストメッセージの送信
  2. 02Markdown メッセージの送信
  3. 03画像メッセージの送信
  4. 04図文メッセージとテンプレートカードの送信
  5. 05WeCom へのファイルアップロード

活用シーン

  1. 01AI アシスタントからチームグループへ状態通知を投稿する
  2. 02Markdown 形式のレポートを WeCom グループへ送信する
  3. 03図文メッセージでリンクや画像を共有する

MCP 対応

本プロジェクトは MCP サーバーであり、send_text、send_markdown、send_image、send_news、send_template_card、upload_file などのツールを MCP クライアントに提供します。

設定

ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。

mcp.json · 共通設定
{
"mcpServers": {
"wecombot-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli"
]
}
}
}
起動コマンドnpx -y @smithery/cli

ローカルサーバーにはマシン上の実行環境(Node.js 18 以上など)が必要です。設定ファイルの場所はクライアントごとに異なります。

パッケージ
npm@smithery/cli

ツール

ツール一覧はまだ取得されていません

ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。

詳細

🚀 mcp-wecombot-server

smithery badge

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 です

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。