Wenyan Content
文颜 MCP Server 可以让 AI 自动将 Markdown 文章排版后发布至微信公众号。
What is Wenyan Content?
Wenyan Content is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 文颜 mcp server 可以让 ai 自动将 markdown 文章排版后发布至微信公众号。
文颜 MCP Server 可以让 AI 自动将 Markdown 文章排版后发布至微信公众号。
This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- 文颜 MCP Server 可以让 AI 自动将 Markdown 文章排版后发布至微信公众号。
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx wenyanConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Wenyan Content
Wenyan MCP Server (文颜) enables AI assistants to automatically format Markdown articles with styled themes and publish them directly to WeChat Official Accounts. It handles the full publishing workflow: rendering Markdown with CSS themes, uploading local and remote images, managing article cover photos, and pushing drafts to the WeChat draft box — all through MCP tool calls. This eliminates the manual copy-paste workflow required by the WeChat web editor and makes it practical to publish AI-written content to WeChat at scale.
Prerequisites
- Node.js 18+ installed
- A WeChat Official Account (订阅号 or 服务号) with API access enabled
- Your WeChat Official Account App ID (WECHAT_APP_ID) and App Secret (WECHAT_APP_SECRET) from the WeChat developer console
- Your server IP address added to the WeChat Official Account IP whitelist
- An MCP-compatible client such as Claude Desktop or Cursor
Install the wenyan-mcp package globally
Install the package globally using npm so the wenyan-mcp command is available on your PATH for use as the MCP server process.
npm install -g @wenyan-md/mcpObtain WeChat API credentials
Log in to the WeChat Official Account admin panel at mp.weixin.qq.com. Navigate to Settings > Developer Settings to find your App ID and App Secret. Copy both values — you will need them as environment variables.
Add your server IP to the WeChat whitelist
In the WeChat admin panel, go to Settings > Developer Settings > IP Whitelist and add the public IP address of the machine that will run wenyan-mcp. WeChat rejects API calls from non-whitelisted IPs.
Configure the MCP server in your client
Add wenyan-mcp to your claude_desktop_config.json with your WeChat credentials as environment variables. The server reads WECHAT_APP_ID and WECHAT_APP_SECRET at startup.
{
"mcpServers": {
"wenyan-mcp": {
"command": "wenyan-mcp",
"env": {
"WECHAT_APP_ID": "your_wechat_app_id",
"WECHAT_APP_SECRET": "your_wechat_app_secret"
}
}
}
}Prepare a Markdown article with frontmatter
Wenyan expects Markdown files with YAML frontmatter. At minimum, include a title field. Optional fields include cover (image path or URL), author, source_url, need_open_comment, and only_fans_can_comment.
---
title: "My Article Title"
author: "Jane Doe"
cover: "./assets/cover.jpg"
need_open_comment: true
---
Your article content in Markdown...Publish the article via AI prompt
Ask your AI assistant to format and publish the article. The wenyan-mcp tools will render the Markdown with the selected theme, upload any images, and push the result to your WeChat draft box.
Wenyan Content Examples
Client configuration
Full claude_desktop_config.json entry for wenyan-mcp with the required WeChat API credentials.
{
"mcpServers": {
"wenyan-mcp": {
"command": "wenyan-mcp",
"env": {
"WECHAT_APP_ID": "wx1234567890abcdef",
"WECHAT_APP_SECRET": "your_app_secret_here"
}
}
}
}Prompts to try
Use these prompts in your AI client after the wenyan-mcp server is configured and connected.
- "List the available themes for formatting my article"
- "Format this Markdown article using the 'elegant' theme and publish it to my WeChat draft box"
- "Upload the image at ./assets/hero.png as the cover for my article"
- "Show me all the themes available and let me pick one before publishing"Troubleshooting Wenyan Content
API returns 'invalid ip' or access denied errors
Your machine's public IP address is not in the WeChat IP whitelist. Log in to mp.weixin.qq.com, go to Settings > Developer Settings > IP Whitelist, and add the current public IP of the machine running wenyan-mcp.
Images fail to upload or appear broken in WeChat
WeChat requires images to be uploaded via the Media API before being embedded. Ensure local image paths in your Markdown are absolute paths (e.g., /Users/you/images/photo.jpg) or valid HTTPS URLs. Relative paths like ../images/photo.jpg may not resolve correctly.
wenyan-mcp command not found after npm install
The global npm bin directory may not be in your PATH. Run 'npm bin -g' to find the directory and add it to your PATH. Alternatively, use 'npx wenyan-mcp' as the command in your MCP config instead of 'wenyan-mcp'.
Frequently Asked Questions about Wenyan Content
What is Wenyan Content?
Wenyan Content is a Model Context Protocol (MCP) server that 文颜 mcp server 可以让 ai 自动将 markdown 文章排版后发布至微信公众号。 It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Wenyan Content?
Follow the installation instructions on the Wenyan Content GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Wenyan Content?
Wenyan Content works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Wenyan Content free to use?
Yes, Wenyan Content is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
Wenyan Content Alternatives — Similar Communication Servers
Looking for alternatives to Wenyan Content? Here are other popular communication servers you can use with Claude, Cursor, and VS Code.
Slack
★ 86.1kEnables interaction with Slack workspaces through comprehensive channel management, messaging, user management, file uploads, and Block Kit formatting. Features secure credential storage via macOS Keychain and supports all major Slack operations incl
LibreChat
★ 37.3kEnhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenA
Note Gen
★ 11.9kA cross-platform Markdown AI note-taking software.
DeepChat
★ 5.8k🐬DeepChat - A smart assistant that connects powerful AI to your personal world
WhatsApp MCP
★ 5.7kConnects AI assistants to the official Meta WhatsApp Cloud API for managing conversations and sending various message types through natural language. It provides tools for media management, template messages, and real-time webhook processing without
Apple
★ 3.1kEnables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
Browse More Communication MCP Servers
Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Wenyan Content in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Wenyan Content?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.