通过 MCP 让 AI 助手向微信联系人发送消息,可用作定时提醒和消息报备助手。
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add wechat-server-1052666 -- python C:/path/to/WeChat-MCP-Server/src/mcp_server.py~/.codex/config.toml
[mcp_servers.wechat-server-1052666]
command = "python"
args = ["C:/path/to/WeChat-MCP-Server/src/mcp_server.py"]
# codex mcp add wechat-server-1052666 -- python C:/path/to/WeChat-MCP-Server/src/mcp_server.py~/.cursor/mcp.json
{
"mcpServers": {
"wechat-server-1052666": {
"command": "python",
"args": [
"C:/path/to/WeChat-MCP-Server/src/mcp_server.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"wechat-server-1052666": {
"type": "stdio",
"command": "python",
"args": [
"C:/path/to/WeChat-MCP-Server/src/mcp_server.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"wechat-server-1052666": {
"command": "python",
"args": [
"C:/path/to/WeChat-MCP-Server/src/mcp_server.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"wechat-server-1052666": {
"command": "python",
"args": [
"C:/path/to/WeChat-MCP-Server/src/mcp_server.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"wechat-server-1052666": {
"command": "python",
"args": [
"C:/path/to/WeChat-MCP-Server/src/mcp_server.py"
]
}
}
}