← Back to directory
W

Wenyan MCP Server

Community
Let AI automatically format and publish Markdown articles to WeChat Official Account.
GitHub source repository ↗
★ 1.3k Stars Category · Other Very popular Source revision fa81c1d18796
60FMRS · C
Reliability
7/20
Security and permissions
11/20
Maintenance
14/20
Documentation
15/20
Setup experience
13/20

Wenyan MCP Server provides a convenient bridge between AI writing and WeChat Official Account publishing, suited for content creators to automate posting. It requires users to provide WeChat credentials and adhere to IP whitelist requirements, posing some security risks. Overall, with proper credentials and network configuration, it offers an efficient workflow.

Read the FMRS scoring method →

Wenyan MCP Server is a tool based on the MCP protocol that enables AI clients like Claude Desktop to directly use Wenyan's formatting engine to convert Markdown articles into WeChat rich text and upload them to the WeChat Official Account draft box. It supports multiple themes, automatic image upload, remote server mode, and multi-account publishing, aiming to streamline the process from writing to publishing.

Tools

The tool list has not been reviewed yet.

Setup

  1. Install globally via npm: npm install -g @wenyan-md/mcp
  2. Add the MCP server configuration to your Claude Desktop configuration file, providing WECHAT_APP_ID and WECHAT_APP_SECRET environment variables. Alternatively, you can use Docker by mounting a host directory and setting the appropriate environment variables.

Fit and risk

Best for

  • Content creators and social media operators
  • Teams looking to automate the WeChat publishing process
  • Users who publish frequently across multiple platforms

Not for

  • Users who do not publish to WeChat Official Accounts
  • Users who need a purely offline formatting tool
  • Users with strict security requirements, as WeChat credentials are required

Required permissions

  • Requires configuration of WECHAT_APP_ID and WECHAT_APP_SECRET environment variables
  • Requires adding the running machine's IP to the WeChat Official Account IP whitelist
  • In Docker mode, requires mounting a host directory to read local images

Risks and side effects

  • WeChat credential leakage could lead to account misuse; store them securely
  • Incorrect IP whitelist configuration may cause upload API calls to fail
  • Published content must comply with WeChat Official Account platform rules

Troubleshooting

  1. Ensure WECHAT_APP_ID and WECHAT_APP_SECRET are correctly configured
  2. Check that the machine's IP is added to the WeChat Official Account IP whitelist
  3. Use the official Inspector tool to debug MCP connections and tool calls
  4. For Docker mode, confirm the mounted directory and the HOST_FILE_PATH environment variable match the host path

Use cases

After AI generates a Markdown article, directly format and publish it to WeChat
Switch formatting themes or register custom themes via conversational instructions
Complete the entire workflow from topic selection to saving drafts within the chat window

Supported clients

Claude DesktopFull support