WeCom Bot MCP Server
by MCP-Mirror
A WeCom (WeChat Work) bot server implemented with FastMCP, supporting message sending via webhook. It allows you to easily send messages to your WeCom bot using a simple API.
Last updated: N/A
What is WeCom Bot MCP Server?
WeCom Bot MCP Server is a server built on the FastMCP framework that enables sending messages to a WeCom (WeChat Work) bot via webhook. It provides a simple and efficient way to integrate WeCom bots into your applications.
How to use WeCom Bot MCP Server?
- Install the server using pip or poetry. 2. Set the
WECOM_WEBHOOK_URLenvironment variable to your WeCom bot's webhook URL. 3. Run the server using thewecom-bot-mcp-servercommand or by importing and running themainfunction in your Python code. 4. Use thesend_messagefunction to send messages.
Key features of WeCom Bot MCP Server
Built on FastMCP framework
Markdown message format support
Asynchronous message sending
Message history tracking
Complete type hints
Comprehensive unit tests
Use cases of WeCom Bot MCP Server
Sending notifications from applications
Automated alerts and updates
Integrating WeCom bots with other services
Creating custom bot commands
Centralized message management
FAQ from WeCom Bot MCP Server
How do I install the server?
How do I install the server?
You can install the server using pip (pip install wecom-bot-mcp-server) or poetry (poetry add wecom-bot-mcp-server).
How do I configure the webhook URL?
How do I configure the webhook URL?
Set the WECOM_WEBHOOK_URL environment variable to your WeCom bot's webhook URL.
How do I send a message?
How do I send a message?
Use the send_message function from the wecom_bot_mcp_server.server module.
How do I get the message history?
How do I get the message history?
Use the get_message_history function from the wecom_bot_mcp_server.server module.
How do I configure this in Cline?
How do I configure this in Cline?
You can configure Cline MCP settings in VSCode by editing the cline_mcp_settings.json file and adding the configuration provided in the README.