wxauto-mcp

wxauto-mcp

Windows微信自动化MCP服务,提供UIA探测、加好友、发送消息、读取消息、发布朋友圈等工具,通过单消费者队列串行执行真实动作。

Category
Visit Server

README

wxauto-mcp

Windows 微信 MCP 服务,提供 UIA 探测和微信自动化工具,并通过单消费者队列串行执行。

能力

  • 只读探测微信 UIA 可用性
  • 加好友、检查或同意好友申请
  • 发送消息、监听单个或多个会话、读取可见消息
  • 上传媒体、发布朋友圈、读取最近朋友圈验证结果
  • SQLite 任务记录、同类待执行任务去重、单 worker 串行操作微信
  • Streamable HTTP、Bearer Token、真实动作双重确认

本项目只提供 MCP 服务,不包含 GUI、托盘、独立调用客户端、定时调度或大模型模块。

安装与启动

要求 Windows 10/11、Python 3.10+、已登录的微信 PC 端,以及未锁屏的交互式桌面。

python -m pip install -e .
python -m wxclient.mcp_server --allow-real-actions

默认端点是 http://127.0.0.1:8765/mcp。远程部署、安全配置、工具参数和扩展方式见 MCP 服务文档

打包

python -m pip install -e ".[build]"
python scripts\build_mcp_onefile.py --dry-run
python scripts\build_mcp_onefile.py

产物为 dist\wxclient-mcp.exe

保留的架构边界

wxclient/
  mcp_server/   # HTTP MCP、鉴权、工具注册、媒体上传
  queue/        # SQLite 任务与单消费者 worker
  wechat_api/   # pyweixin 二次封装
  uia_probe/    # 只读 UIA 状态探测
  config/       # Windows 微信运行参数

所有微信 UI 动作必须通过 mcp_server -> queue -> wechat_api,不能在 MCP 工具函数中 直接操作窗口。UIA 探测不会启动、关闭、重启或解锁微信。

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured