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.

Run in 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:latest
Required:WECHAT_APP_IDWECHAT_APP_SECRET

Environment Variables

Set these before running Wenyan MCP Server.

VariableDescriptionRequired
WECHAT_APP_IDThe App ID for your WeChat Official Account.Yes
WECHAT_APP_SECRETThe App Secret for your WeChat Official Account.Yes

Available Tools (3)

Once configured, Wenyan MCP Server gives your AI agent access to:

render_markdownRenders Markdown content into WeChat-compatible rich text format.
markdown_contenttheme
manage_themesList, register, or delete WeChat article themes.
actiontheme_namecss_url
publish_draftPublishes a Markdown file to the WeChat Official Account draft box.
file_paththeme

Try 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:latest

Keep 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.
Remember this setup