Skip to content
VS Code

Weixin Bridge (WXBR) for VS Code

io.github.joinwell52-ai/weixin-bridge

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

client:VS Code transport:stdio runtime:npm

Install Weixin Bridge (WXBR) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wx-mcp-port",
      "description": "WX_MCP_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wx-mcp-token",
      "description": "WX_MCP_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "weixin-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "weixin-bridge-mcp"
      ],
      "env": {
        "WX_MCP_PORT": "${input:wx-mcp-port}",
        "WX_MCP_TOKEN": "${input:wx-mcp-token}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Weixin Bridge (WXBR) in other clients