Skip to content
LangChain

Weixin Bridge (WXBR) for LangChain

io.github.joinwell52-ai/weixin-bridge

Connect personal WeChat to Codex, Cursor, and other AI hosts through a local MCP.

client:LangChain transport:stdio runtime:npm

Install Weixin Bridge (WXBR) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "weixin-bridge": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "weixin-bridge-mcp"],
        }
})

tools = await client.get_tools()

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

Weixin Bridge (WXBR) in other clients