Complete AI Training

MCP server · Social media

Wenyan MCP server

by caol64

Let your AI format Markdown and drop the finished article into your WeChat Official Account drafts.

Flow diagram: you ask your AI “Format this article and put it in my WeChat drafts”, the Wenyan MCP server works in steps: apply a theme, then upload the images, then create the draft, and you get back A finished draft in WeChat.

Wenyan is a tool that takes a Markdown article and turns it into nicely styled content for WeChat Official Accounts. This MCP server connects that tool to your AI chat, so you can write and publish without leaving the conversation. It is handy for anyone who writes for a WeChat account and is tired of copying text between editors.

What is an MCP server? The 30-second version

On its own, your AI can only chat. An MCP server is a small helper program that gives your AI a new skill. This one gives your AI a connection to Wenyan, the formatting and publishing tool for WeChat Official Accounts. Once it is set up, your AI can ask Wenyan to style your Markdown and place the result in your drafts when you ask.

What this MCP server does

You write or paste a Markdown article in your chat and tell the AI what you want. The AI passes your request to this helper, which uses the Wenyan engine. Wenyan applies a theme, uploads any images in the article to your WeChat media library, and creates a draft in your Official Account. Then the AI tells you it is done and gives you the media ID so you can find the draft.

Flow diagram: you ask your AI “Format this article and put it in my WeChat drafts”, the Wenyan MCP server works in steps: apply a theme, then upload the images, then create the draft, and you get back A finished draft in WeChat. Click to zoom

What you can do with it

  • List the formatting themes Wenyan has available
  • Register a new theme from a CSS link
  • Delete a theme you no longer want
  • Render a Markdown article with a chosen theme
  • Upload local and web images to your WeChat media library
  • Publish a Markdown article to your WeChat drafts
  • Publish an image post (xiaolvshu) with up to 20 pictures

Try asking your AI

  • “Which WeChat themes can you use right now?”
  • “Register this CSS as a new theme called xiuluochang: https://wenyan.yuzhi.tech/manhua.css”
  • “Delete the theme named xiuluochang”
  • “Use the phycat theme to publish this article to my WeChat drafts: ./tests/publish.md”

What it gives back to you

You get short chat replies that confirm what happened. For a theme list, the AI shows the theme names and a one-line description of each. For a publish, you get a confirmation with the theme used and a media ID, plus a reminder to check your drafts in the WeChat backend. If something fails, the AI tells you what went wrong.

Before you start

What you need

  • Node.js installed on your computer
  • A WeChat Official Account with its App ID and App Secret (these are like a username and password for your account, found in the WeChat backend)
  • Your computer's IP address added to the WeChat Official Account IP whitelist (a list of allowed addresses in the WeChat backend)

Good to know

It can create drafts and upload images to your real WeChat Official Account, so check the draft in the WeChat backend before you publish it to your readers.

Install it with your AI

Add Wenyan MCP server to your AI, no technical skills needed

You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.

Sign in to get the install prompt

Members get a ready-made prompt that lets the Claude desktop app check Wenyan MCP server, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 4,066 MCP servers here for you.

Sign in Become a member

Who it's for

Writers, editors, and social media managers who publish to WeChat Official Accounts and want to skip the copy-paste step.