WeChat's editor does not accept ordinary HTML cleanly, and the usual workaround is a separate web tool and a copy-paste — folding that into a tool call means the assistant that wrote the draft can hand you something publishable. The theme choice is the practical decision: pick one per publication and keep it, since the look is what readers recognise.
A Go MCP server that converts Markdown into the HTML format WeChat official accounts accept, so a draft written in a normal editor can be pasted straight into the publishing box.
- `convert_markdown` — takes the Markdown text and an optional theme, returns HTML ready for a WeChat article
- Four themes: the WeChat default, plus a modern tech look, a classical Chinese style, and a gradient style
- Full basic Markdown — headings, bold and italic, inline code, links, images, ordered and unordered lists, blockquotes and rules
- Extended syntax too: fenced code blocks with highlighting, tables, footnotes, and GFM callouts such as NOTE, TIP and WARNING
- A word count and estimated reading time returned with the HTML
Go 1.21 or higher to build the binary, and an API key for the WeChat Markdown editor service set as `MD2WECHAT_API_KEY`. Conversion happens through that service, so the article text is sent to it.
