wxpush-mcp
Wraps WeChat push capability as MCP tools, allowing users to send WeChat template messages and check health via Claude clients.
README
wxpush-mcp
wxpush 的 MCP 服务端,将微信推送能力封装为 MCP 工具,供 Claude Desktop、Claude Code 等支持 MCP 协议的客户端直接调用。
前置条件:已有一个运行中的 wxpush 服务实例。若尚未部署,参见 wxpush-py。
工具
| 工具名 | 参数 | 说明 |
|---|---|---|
send_wechat_message |
title、content、shortid |
发送微信模板消息给指定用户 |
check_health |
无 | 检测 MCP 服务器配置与后端服务是否正常 |
shortid 在服务端 config.toml [users] 中定义,调用方无需感知 OpenID。
快速接入
前置条件
已安装 uv(uvx 随 uv 一起提供)。
所需环境变量
| 环境变量 | 说明 |
|---|---|
WXPUSH_URL |
wxpush 服务地址,如 https://your-server.com |
WXPUSH_TOKEN |
API 访问令牌,与服务端 API_TOKEN 一致 |
Claude Code
在 ~/.claude.json 的 mcpServers 中添加:
{
"mcpServers": {
"wxpush": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/YanQiu0207/wxpush-mcp",
"wxpush-mcp"
],
"env": {
"WXPUSH_URL": "https://your-server.com",
"WXPUSH_TOKEN": "your-token"
}
}
}
}
Claude Desktop
在 claude_desktop_config.json 中添加相同配置:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
验证
配置完成并重启客户端后,调用 check_health 工具,正常响应:
OK: wxpush service reachable (HTTP 200)
更新
uvx 默认会缓存已安装版本。如需拉取最新代码,在终端执行:
uv cache clean wxpush-mcp
重启客户端后生效。
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.