Skip to content
LangChain

WeChat Desktop for LangChain

io.github.hhuangpanda/wechat-desktop-mcp

Send and schedule WeChat (微信) messages in the background via the Windows desktop client

client:LangChain transport:stdio runtime:pypi

Install WeChat Desktop in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "wechat-desktop-mcp": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["wechat-desktop-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

WeChat Desktop in other clients