Wenyan MCP
MCP server by caol64 Verified · gh:caol64
Wenyan MCP lets AI assistants format Markdown articles and publish them to WeChat Official Account drafts. It is for writers who want their AI client to handle layout and upload. The source describes it as an MCP server built on the Wenyan layout engine.
Install Wenyan MCP
Built from the published package, never by AI.
claude mcp add wenyan-mcp -- npx -y @wenyan-md/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"wenyan-mcp": {
"args": [
"-y",
"@wenyan-md/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"wenyan-mcp": {
"args": [
"-y",
"@wenyan-md/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"wenyan-mcp": {
"args": [
"-y",
"@wenyan-md/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add wenyan-mcp -- npx -y @wenyan-md/mcp{
"mcpServers": {
"wenyan-mcp": {
"args": [
"-y",
"@wenyan-md/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add wenyan-mcp npx -y @wenyan-md/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the wenyan-mcp block.
About
Wenyan MCP is an MCP server from the Wenyan project. It lets MCP clients such as Claude Desktop call the Wenyan layout engine. The assistant can render Markdown into WeChat rich text, manage themes, and publish drafts to the WeChat Official Account draft box. Local and network images and covers are uploaded automatically. The server can run locally over stdio, through a remote Wenyan Server, or in Docker. It needs a WeChat app ID and app secret, and the host IP must be on the account's IP whitelist. The source aims the project at writers and teams who publish to WeChat, and at users who want CI or AI agent publishing.
Written from the project's README and checked against it.
Tools it gives your assistant
渲染 MarkdownConverts Markdown into WeChat-ready rich text with a chosen theme.主题管理Lists built-in themes, registers a custom theme from a CSS URL, and deletes themes.发布草稿Uploads the formatted article to the WeChat Official Account draft box.自动上传图片Uploads local and network images and the cover to the WeChat material library before publishing.图片消息发布Publishes image messages, using type: image or a listed image_list of up to 20 images.
What you need
- WeChat Official Account app ID and app secret
- Host IP added to the WeChat Official Account IP whitelist
- Node.js with npm, or Docker
- An MCP client such as Claude Desktop
Try asking
- 用 phycat 主题把 ./tests/publish.md 发布到微信公众号草稿箱
- 目前你可以使用哪些公众号主题?
- 帮我把这个 CSS 注册为新的公众号主题,名称为 xiuluochang
Good to know
- Uploads fail unless the machine IP is on the WeChat Official Account IP whitelist.
- Publishing to multiple official accounts requires server mode.
- An image message accepts at most 20 images in image_list.
- In Docker, local images must be in the mounted directory and HOST_FILE_PATH must match the host path.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Wenyan MCP
All alternatives →Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.
Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.
Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.
Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.
pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.
Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.
Compare with MR Office, kordoc or Desktop Commander
Wenyan MCP: common questions
Which WeChat settings does Wenyan MCP need?
It needs the WECHAT_APP_ID and WECHAT_APP_SECRET environment variables. The machine running it must also be on the WeChat Official Account IP whitelist.
Can Wenyan MCP publish to Zhihu or Toutiao?
The source says Wenyan supports Zhihu and Toutiao, but this MCP server's described publishing target is WeChat Official Account drafts.
What is server mode in Wenyan MCP?
In server mode the MCP client sends publishing requests to a deployed Wenyan Server, which calls the WeChat API. The source says this suits users without a fixed IP and teams.
How do I install Wenyan MCP?
In Claude Code run claude mcp add wenyan-mcp -- npx -y @wenyan-md/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Wenyan MCP the official server?
Wenyan MCP is published by gh:caol64 from its verified domain in the official MCP Registry.
Is Wenyan MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Wenyan MCP safe to use?
It scores 81 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Wenyan MCP?
Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.
Does Wenyan MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
