Updated March 2026
Install Wenyan MCP Server
Pick your client, copy the command, done.
1
Add it to Claude Code
Run this in a terminal.
claude mcp add -e "WECHAT_APP_ID=${WECHAT_APP_ID}" -e "WECHAT_APP_SECRET=${WECHAT_APP_SECRET}" wenyan-mcp -- docker pull caol64/wenyan-mcp:latestRequired:
WECHAT_APP_IDWECHAT_APP_SECRETEnvironment Variables
Set these before running Wenyan MCP Server.
VariableDescriptionRequired
WECHAT_APP_IDThe App ID for your WeChat Official Account.YesWECHAT_APP_SECRETThe App Secret for your WeChat Official Account.YesAvailable Tools (3)
Once configured, Wenyan MCP Server gives your AI agent access to:
render_markdownRenders Markdown content into WeChat-compatible rich text format.markdown_contentthememanage_themesList, register, or delete WeChat article themes.actiontheme_namecss_urlpublish_draftPublishes a Markdown file to the WeChat Official Account draft box.file_paththemeTry It Out
After setup, try these prompts with your AI agent:
→List all available WeChat article themes I can use for my posts.
→Register a new theme named 'tech-style' using the CSS from https://example.com/style.css.
→Publish the article located at ./posts/my-new-article.md to my WeChat draft box using the 'Default' theme.
→Delete the WeChat article theme named 'old-style'.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
- Docker installed and running
WECHAT_APP_ID— The App ID for your WeChat Official Account.WECHAT_APP_SECRET— The App Secret for your WeChat Official Account.
Alternative installation methods
docker
docker pull caol64/wenyan-mcp:latestKeep this setup from going cold
Save the docs, env vars, and workflow around Wenyan MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.
Need the legacy visual installer? Open Conare IDE.