Feedback

MCP Server WeChat

@panxingfeng Claim

Basic information

Runtime
python
Category
License
MIT
Transports
stdio
Author
panxingfeng
Submitted by
Community
Quality
25
Stars
108

About MCP Server WeChat

基于MCP技术,操作微信发送消息和获取历史记录

MCP Server WeChat is a MCP server in the Other category listed in the AddMCP.net directory, published by panxingfeng. Supported transport: stdio. Runtime: python. License: MIT. The repository has 108 GitHub stars. Source code is hosted on github.com. Related topics: mcp-server-wechat, message-sender, wechat-automation.

Setup

{
    "mcpServers": {
        "mcp_server_wechat": {
            "command": "python",
            "args": [
                "-m",
                "venv",
                "venv",
                "#",
                "创建虚拟环境"
            ]
        }
    }
}

MCP Server WeChat config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp_server_wechat": {
            "command": "python",
            "args": [
                "-m",
                "venv",
                "venv",
                "#",
                "创建虚拟环境"
            ]
        }
    }
}

MCP Server WeChat tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Server WeChat?

MCP Server WeChat is an MCP (Model Context Protocol) server that retrieves WeChat chat histories and sends messages using the pywechat library for automation. It is intended for developers building AI or automation tools that need programmatic access to WeChat.

How to use MCP Server WeChat?

Install via pip install mcp_server_wechat and configure the MCP client with either the stdio command or SSE/Streamable HTTP URL. Start the server with the --folder-path argument pointing to your history directory. WeChat Desktop must be logged in and visible during use. Invoke tools such as wechat_get_chat_history, wechat_send_message, wechat_send_multiple_messages, and wechat_send_to_multiple_friends with the required parameters.

Key features of MCP Server WeChat

  • Retrieve WeChat chat history for a specific date.
  • Send a single message to one contact.
  • Send multiple messages to one contact.
  • Send single or multiple messages to multiple contacts.
  • Supports stdio, SSE, and Streamable HTTP transports.
  • Uses the pywechat library for UI automation.

Use cases of MCP Server WeChat

  • Automatically archive daily WeChat conversations.
  • Send batch notifications or alerts to a group of contacts.
  • Integrate WeChat messaging into AI or automation pipelines.
  • Build a WeChat-based customer service or broadcast tool.
  • Programmatically log and analyze chat histories.

Frequently asked questions

1 What dependencies are required?

WeChat Desktop must be installed, logged in, and visible. The server relies on Python and the pywechat library.

2 How are chat histories stored?

Histories are read from the folder specified by the --folder-path argument. The server accesses local files; no external database is needed.

3 Can I send messages without WeChat Desktop open?

No. The server automates the WeChat Desktop UI, so it must be running and logged in during use.

4 What transport methods are supported?

Stdio (command), SSE (HTTP endpoint), and Streamable HTTP (MCP endpoint). Configuration examples for each are provided in the README.

5 Are there any usage restrictions?

Do not manually operate the WeChat window while the server is working. Using this tool to violate WeChat’s Terms of Service is prohibited.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬