Wenyan MCP Server

Automate WeChat official account drafts and Markdown typesetting via AI agents.

Data last scanned today · Reviewed today

424 tools1,291JavaScriptApache-2.0

Overview

Wenyan MCP Server integrates the Wenyan layout engine with AI assistants, enabling direct Markdown-to-rich-text conversion for major content platforms like WeChat. It allows users to manage article formatting, switch layout themes, and push drafts to content management systems directly through natural language prompts within an AI interface. Designed to bridge the gap between creative writing and technical publishing, the server supports style customization, theme registration via CSS, and automated image uploading. By acting as an interface between the AI and the Wenyan ecosystem, it simplifies the publishing workflow by eliminating the need to copy and paste content into external web editors.

Our verdict

This tool has a security score of 42/100, resulting in a high-risk classification. The score is impacted by its community-maintained status—lacking official vendor backing—and the fact that critical areas like OAuth support, authentication methods, and read-only modes have not yet been editorially reviewed. Given these potential vulnerabilities, it is recommended only for power users who understand the risks of connecting private API credentials like WeChat secrets to an unreviewed third-party integration.

  • Supports direct publishing to WeChat official account draft boxes
  • Streamlines workflow with conversational theme and style management
  • Contains only 6 direct dependencies, reducing supply-chain surface
  • Includes 1291 GitHub stars as a community indicator
  • Community-maintained project without official vendor validation
  • Authentication and OAuth mechanisms lack security review
  • Read-only mode functionality has not been verified
  • No editorial security review conducted on the codebase

Setup

Claude Desktop
{
  "mcpServers": {
    "wenyan-mcp": {
      "args": [
        "-y",
        "@wenyan-md/mcp"
      ],
      "command": "npx"
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.

  • No read-only mode — running this grants full read/write access.
  • No built-in authentication — anyone with access to this config can invoke every tool it exposes.

Tools

ToolDescriptionRisk
list_themesList the available WeChat official account themes.low
register_themeRegister a new WeChat official account theme from a CSS URL.medium
delete_themeDelete an existing WeChat official account theme.medium
publish_articlePublish a Markdown article to the WeChat official account draft box using a specific theme.medium

Compatibility

ClientLocalDockerRemoteRead-only
Claude Desktop
Cursor
VS Code
Windsurf
ChatGPT

Frequently asked questions

What configuration is required to enable article publishing?

You must provide the WECHAT_APP_ID and WECHAT_APP_SECRET environment variables in your Claude Desktop configuration and ensure your machine's IP address is added to your WeChat Official Account's IP whitelist.

How should I structure my Markdown files for proper publication?

Every Markdown file requires a frontmatter block at the top containing a title field; other optional fields include author, cover, source_url, and specialized settings for image messages (such as type: image and image_list).

How does the server handle images within my article?

The server automatically processes and uploads local or network images—including those referenced by absolute, relative, or URL paths—to the WeChat material library during the publishing process.

What is the difference between Local (Stdio) mode and Server mode?

Local mode connects directly to the WeChat API from your machine, while Server mode sends requests to a remote Wenyan Server to perform the API calls, which is useful for bypassing IP whitelist requirements or enabling team collaboration.

Can I use custom themes for my WeChat article layout?

Yes, you can register new themes by providing a CSS URL to the AI assistant, or use the built-in themes such as Default and OrangeHeart.

Is it possible to publish to multiple WeChat Official Accounts?

Yes, but this feature requires using the server mode with multiple credentials configured on the server side.

Changelog

Badge

Wenyan MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.