{
"mcpServers": {
"wexin-push-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
wechat-push-mcp-server
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 224 days ago. 1 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Wexin Push Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
微信模板推送 MCP 服务器是一个基于 Model Context Protocol (MCP) 的微信公众号模板消息推送服务。该服务允许 AI 应用通过标准化的 MCP 协议与微信公众号 API 进行交互,实现模板消息的自动化推送功能。
访问微信公众平台测试号申请页面:
https://mp.weixin.qq.com/debug/cgi-bin/sandboxinfo?action=showinfo&t=sandbox/index
申请测试号后,您将获得:
appID:应用IDappsecret:应用密钥original_id:原始ID访问模板消息配置页面:
https://mp.weixin.qq.com/debug/cgi-bin/readtmpl?t=tmplmsg/faq_tmpl
配置模板消息后,您将获得:
template_id:模板IDtouser:接收用户的OpenIDmvn clean package
本服务支持两种 MCP 连接模式:STDIO 模式和 SSE 模式。
在您的 MCP 客户端配置文件中添加以下配置:
{
"mcpServers": {
"wexin-push-mcp-server": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-Dfile.encoding=utf-8",
"-Dlogging.file.name=./data/mcp/${spring.application.name}.log",
"-jar",
"C:\\Users\\Administrator\\.m2\\repository\\com\\jasonlat\\wexin-push-mcp-server\\1.0\\wexin-push-mcp-server-1.0.jar",
"--wechat.api.original_id=gh_19674398cb20",
"--wechat.api.appid=wxae5eccc3b6930993",
"--wechat.api.appsecret=8fdec049feb30865cc9bb0e1c0b7dad3",
"--wechat.api.template_id=PhVVqJwyMustdEa2RKMRgl4mU4ZJgdm5hPtsDIns8ms",
"--wechat.api.touser=oxd-l6lb0KOF5KRwBy7GDHxeXaeE"
]
}
}
}
对于需要通过 HTTP 连接的场景,可以使用 SSE(Server-Sent Events)模式:
1. 启动服务器
使用 Docker 部署(推荐):
# 构建 Docker 镜像
cd dev-ops/software
./build.sh
# 运行容器
docker run -d \
--name wechat-mcp-server \
-p 8102:8102 \
-e WECHAT_API_ORIGINAL_ID=gh_19674398cb20 \
-e WECHAT_API_APPID=wxae5eccc3b6930993 \
-e WECHAT_API_APPSECRET=8fdec049feb30865cc9bb0e1c0b7dad3 \
-e WECHAT_API_TEMPLATE_ID=PhVVqJwyMustdEa2RKMRgl4mU4ZJgdm5hPtsDIns8ms \
-e WECHAT_API_TOUSER=oxd-l6lb0KOF5KRwBy7GDHxeXaeE \
wechat-mcp-server:latest
或直接运行 JAR 文件:
java -jar wechat-push-mcp-server.jar \
--server.port=8102 \
--wechat.api.original_id=gh_19674398cb20 \
--wechat.api.appid=wxae5eccc3b6930993 \
--wechat.api.appsecret=8fdec049feb30865cc9bb0e1c0b7dad3 \
--wechat.api.template_id=PhVVqJwyMustdEa2RKMRgl4mU4ZJgdm5hPtsDIns8ms \
--wechat.api.touser=oxd-l6lb0KOF5KRwBy7GDHxeXaeE
2. 客户端配置
在您的 Spring AI 应用配置中添加:
spring:
ai:
mcp:
client:
request-timeout: 360s
sse:
connections:
mcp-server-wechat:
url: http://127.0.0.1:8102
或在 MCP 客户端配置文件中添加:
{
"mcpServers": {
"wexin-push-mcp-server": {
"url": "http://127.0.0.1:8102",
"type": "sse"
}
}
}
| 参数 | 说明 | 示例 |
|------|------|------|
| wechat.api.original_id | 微信公众号原始ID | gh_19674398cb20 |
| wechat.api.appid | 微信应用ID | wxae5eccc3b6930993 |
| wechat.api.appsecret | 微信应用密钥 | 8fdec049feb30865cc9bb0e1c0b7dad3 |
| wechat.api.template_id | 模板消息ID | PhVVqJwyMustdEa2RKMRgl4mU4ZJgdm5hPtsDIns8ms |
| wechat.api.touser | 接收用户OpenID | oxd-l6lb0KOF5KRwBy7GDHxeXaeE |
服务器提供 wechatNotice 工具,用于发送微信模板消息:
{
"platform": "微信公众号",
"subject": "消息主题",
"description": "
... [View full README on GitHub](https://github.com/jasonlat-dot/wexin-push-mcp-server#readme)