wechat-push-mcp-server
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"wexin-push-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
微信模板推送 MCP 服务器是一个基于 Model Context Protocol (MCP) 的微信公众号模板消息推送服务。该服务允许 AI 应用通过标准化的 MCP 协议与微信公众号 API 进行交互,实现模板消息的自动化推送功能。
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in communication
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
An MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robust phone number validation, attachment processing, contact management, group chat handling, and full support for sending and receiving messages.
MCP server for Kaseya Autotask PSA — 39 tools for companies, tickets, projects, time entries, and more
Email & SMS infrastructure for AI agents — send and receive real email and text messages programmatically
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)