MCP.so
登录

MCP Server WeChat

@panxingfeng

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

panxingfeng

关于 MCP Server WeChat

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

#mcp-server-wechat#wechat-automation#message-sender

MCP Server WeChat 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

MCP Server WeChat 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

常见问题

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.

评论

其他 分类下的更多 MCP 服务器