
wenyan-mcp
by caol64·★ 1,225·Score 53
Wenyan MCP Server enables AI to automatically format Markdown and publish to WeChat Official Accounts.
Overview
Wenyan MCP Server is a specialized tool that bridges AI writing with WeChat Official Account publishing. It implements the Model Context Protocol to provide tools for rendering Markdown, managing themes, and publishing drafts directly to WeChat's backend. The server handles image uploads, applies customizable themes, and supports both local and remote server modes to overcome IP whitelist limitations. This integration allows content creators to complete the entire workflow from ideation to publishing within a single AI conversation interface.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose wenyan-mcp if you're already using Claude Desktop and need to publish content directly to WeChat Official Account with AI assistance.
When NOT to choose this
Don't choose this if you need to publish to platforms other than WeChat, or if you can't configure WeChat API credentials.
Tools this server exposes
5 tools extracted from the READMElist_themesList available WeChat public account themes
register_themeRegister a new CSS theme from a URL
delete_themeDelete a registered theme by name
publish_articlePublish a Markdown article to WeChat public account draft
publish_imagesPublish image messages to WeChat public account
Comparable tools
Installation
Installation
npm install -g @wenyan-md/mcpClaude Desktop Configuration
Add to claude_desktop_config.json:
{
"mcpServers": {
"wenyan-mcp": {
"command": "wenyan-mcp",
"env": {
"WECHAT_APP_ID": "your_app_id",
"WECHAT_APP_SECRET": "your_app_secret"
}
}
}
}Server Mode Configuration
For remote publishing:
{
"mcpServers": {
"wenyan-mcp": {
"command": "wenyan-mcp",
"args": ["--server", "https://api.example.com", "--api-key", "your-api-key"]
}
}
}FAQ
- How do I handle WeChat API IP whitelist limitations?
- The MCP server supports both local mode (requires IP whitelist) and server mode (bypasses whitelist by making API calls from a remote server).
- What format does my Markdown article need to be in?
- Your Markdown should include frontmatter at the top with fields like title, cover image path, author, and source_url. Cover images can be local paths or URLs.
- Can I publish image-only posts (similar to Xiaohongshu)?
- Yes, set type: image in the frontmatter and either let the system extract images automatically or specify them manually in image_list.
Compare wenyan-mcp with
Last updated · Auto-generated from public README + GitHub signals.