Back to Home
xwang152-jack icon

wechat-official-account-mcp

Verified Safe

by xwang152-jack

Overview

Provides a Model Context Protocol (MCP) service to enable AI applications to interact with WeChat Official Account APIs, managing features like authentication, media, drafts, and publishing.

Installation

Run Command
npx wechat-official-account-mcp mcp -a <your_app_id> -s <your_app_secret>

Environment Variables

  • CORS_ORIGIN
  • WECHAT_MCP_SECRET_KEY
  • DB_PATH
  • NODE_ENV
  • DEBUG

Security Notes

The project demonstrates good security awareness by implementing optional AES encryption for sensitive fields (AppSecret, Access Token) via `WECHAT_MCP_SECRET_KEY`. It also explicitly warns about configuring `CORS_ORIGIN` for SSE mode to prevent cross-site scripting (XSS) risks. SQL operations use parameterized queries, mitigating SQL injection. Error logging is designed to be desensitized. The security largely depends on the user correctly configuring strong environment variables and CORS policies.

Similar Servers

Stats

Interest Score35
Security Score8
Cost ClassLow
Avg Tokens100
Stars11
Forks1
Last Update2025-11-19

Tags

WeChatMCPAI IntegrationAPI GatewayNode.js