
caol64/wenyan-mcp
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
Wenyan MCP Server allows AI to automatically format Markdown articles and publish them to WeChat public accounts.
Overview
This is a multi-platform Markdown layout and publishing tool that supports one-click conversion and publishing of Markdown to: - macOS App Store Edition - MAC Desktop Apps - Cross-Platform Desktop Edition - Windows/Linux - CLI Version - Command Line / CI Automated Release - 👉 MCP Version - This Project Based on the MCP protocol, AI clients like Claude Desktop can now directly call Wenyan's layout engine. After finishing your article, you don't need to copy and paste it back and forth in third-party editors; AI can format it for you and put it directly into your WeChat draft box. - :AI-generated Markdown can be directly converted into WeChat rich text and uploaded, skipping intermediate steps. - :Just type to the AI and say "change to an orange style theme," and the style will take effect automatically. - :In the same chat box, smoothly handle all operations like "Topic selection - > Write article - > Layout - > Save draft." : * Let AI help you manage the layout and publishing of your official account * Moraya MCP use case: Full hosting for WeChat official accounts - One-click publishing of Markdown to WeChat official account draft box - Automatically uploads local images and covers - Supports remote server publishing (bypasses IP whitelist restrictions) - Built-in multiple beautifully formatted themes - Supports custom themes - Provides standard MCP Tool interface - Supports AI automatic calls: - Rendering Markdown - Theme management - Publish drafts Help me fix this CSS(https://wenyan.yuzhi.tech/manhua.css)注册为一个新的公众号主题,名称为:xiuluochang Use the phycat topic to publish this article on the WeChat public account: ./tests/publish.md
Overview (machine translated)
Introduction
Wenyan is a multi-platform Markdown layout and publishing tool that supports one-click conversion and publishing of Markdown to:
- WeChat Official Account
- Zhihu
- Toutiao
- And other content platforms (continuously expanding)
Wenyan’s goal is: Let writers focus on the content, not just layout and platform adaptation.
Different versions of Wenyan and Yan
Wenyan currently offers multiple forms covering different usage scenarios:
- macOS App Store Edition - Mac desktop application
- Cross-platform desktop edition - Windows/Linux
- CLI version - Automated release of command line / CI
- 👉 MCP version - This project
What is Wenyan MCP Server?
Simply put, it opens the channels for “AI writing” and “WeChat public account posting.”
Based on the MCP protocol, AI clients like Claude Desktop can now directly call Wenyan’s layout engine. After finishing your article, you don’t need to copy and paste it back and forth in third-party editors; AI can format it for you and put it directly into your WeChat draft box.
Core Features:
- Bypassing formatting tools: AI-generated Markdown is directly converted into WeChat rich text and uploaded, skipping intermediate steps.
- Conversational Layout: Simply type to the AI and say “change to an orange style theme,” and the style will take effect automatically.
- Closed loop without leaving the window: Smoothly handle all operations in the same chat box for “Topic Selection - > Writing Article - > Layout - > Saving Draft.”
Practical Demonstration:
- Let AI help you manage the layout and publication of your official account
- Moraya MCP use case: Full hosting for WeChat public accounts
Functional Features
- One-click publishing of Markdown to the WeChat public account draft box
- Automatically uploads local images and covers
- Supports remote server publishing (bypassing IP whitelist restrictions)
- Built-in multiple beautifully typeset themes
- Supports custom themes
- Provides standard MCP Tool interfaces
- Supports AI automatic calls:
- Render Markdown
- Subject management
- Release the draft
Get Started Quickly
Installation
Claude Desktop Configuration (claude_desktop_config.json)::
Basic usage
List the topics
Told AI
What public account themes can you currently use?
AI reply:
Register the topic
Told AI
Help me fix this css (https://wenyan.yuzhi.tech/manhua.css)注册为一个新的公众号主题,名称为:xiuluochang
AI reply:
Delete the topic
Told AI
Delete the public account topic named “xiuluochang”
AI reply:
Publishing Articles
Told AI
Use the phycat theme to publish this article on the WeChat public account:
./tests/publish.md
AI reply:
Concept
Environment Variable Configuration
This page was translated automatically. Technical details may differ from the original.
Install
docker run --rm -i -v /your/host/file/path:/mnt/host-downloads -e WECHAT_APP_ID=your_app_id -e WECHAT_APP_SECRET=your_app_secret -e HOST_FILE_PATH=/your/host/file/path caol64/wenyan-mcpConfiguration
{
"mcpServers": {
"wenyan-mcp": {
"command": "wenyan-mcp",
"env": {
"WECHAT_APP_ID": "your_app_id",
"WECHAT_APP_SECRET": "your_app_secret"
}
}
}
}