loading…
Search for a command to run...
loading…
An MCP server that enables file transmission, voice message processing, and voice call management through the WeChat PC client. It provides tools for automated
An MCP server that enables file transmission, voice message processing, and voice call management through the WeChat PC client. It provides tools for automated communication including audio format conversion and call status tracking within the Model Context Protocol framework.
微信MCP增强版,支持文件发送、语音接收/发送、语音通话功能。
# 克隆仓库
git clone https://github.com/mikewangmax/wechat-mcp-enhanced.git
cd wechat-mcp-enhanced
# 安装依赖
pip install -r requirements.txt
# Windows额外依赖(语音通话需要)
# 需要安装微信PC版并登录
cp config/settings.example.py config/settings.py
config/settings.py,填入你的配置python src/server.py
send_file(target_user, file_path) - 发送文件receive_file(message_id, save_path) - 接收文件send_voice(target_user, audio_path) - 发送语音消息receive_voice(message_id, save_path) - 接收语音消息convert_audio(input_path, output_format) - 音频格式转换start_voice_call(target_user) - 发起语音通话end_voice_call(call_id) - 结束语音通话get_call_status(call_id) - 获取通话状态wechat-mcp-enhanced/
├── src/
│ ├── server.py # MCP服务器主入口
│ ├── wechat_client.py # 微信客户端封装
│ └── handlers/
│ ├── file_handler.py # 文件处理
│ ├── voice_handler.py # 语音处理
│ └── call_handler.py # 通话处理
├── config/
│ └── settings.py # 配置文件
└── tests/ # 测试用例
MIT License
欢迎提交Issue和PR!
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"wechat-mcp-enhanced": {
"command": "npx",
"args": []
}
}
}