Skip to content
Wenyan MCP

Wenyan MCP

Released
v2.0.5
Apache-2.0

Summary

Format Markdown with Wenyan's themes and publish it to a WeChat Official Account's drafts from an AI chat, with images and covers uploaded automatically.

Features

  • Publish Markdown to a WeChat Official Account draft box
  • Built-in layout themes plus custom CSS themes
  • Automatic upload of local, relative and remote images
  • Cover from frontmatter or the first image
  • Image posts with up to 20 images
  • Docker image and a remote-server mode for IP whitelists

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "Wenyan MCP" tools will be available.
{
  "mcpServers": {
    "wenyan-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wenyan-md/mcp"
      ],
      "env": {
        "WECHAT_APP_ID": "your_app_id",
        "WECHAT_APP_SECRET": "your_app_secret"
      }
    }
  }
}

Description

Wenyan MCP connects AI clients to Wenyan, an open-source Markdown typesetting and publishing tool built for Chinese content platforms. Its MCP server targets WeChat Official Accounts: an assistant can write or take an existing Markdown article, lay it out with one of Wenyan's themes, and save it to the account's draft box, so the "pick a topic, write, format, save draft" loop happens in one conversation instead of a round trip through a third-party editor.

The tools cover rendering Markdown, listing, registering and deleting themes (a custom theme is just a CSS URL), and publishing drafts. Before publishing, Wenyan uploads every image in the article, whether a local absolute path, a relative path or a web URL, to the account's media library, and uses the first image as the cover unless the frontmatter names one. Frontmatter sets the title, cover, author, source link and comment options, and type: image publishes an image post (up to 20 images) instead of an article.

It needs the Official Account's WECHAT_APP_ID and WECHAT_APP_SECRET, and the machine's IP must be on the account's IP whitelist; a remote-server mode exists for when that is impractical. It runs on Node.js from npm (@wenyan-md/mcp) or as a Docker image, Apache-2.0 licensed. The README and the publisher's docs are in Chinese. Wenyan also ships as a macOS app, a cross-platform desktop app and a CLI.

Self-hosted MCP server for Xiaohongshu (RedNote): search notes, read feeds and comments, and publish image or video posts from an AI assistant.

MCP: LinkedIn MCP Server

by stickerdaniel

Open-source MCP server that works LinkedIn through your own browser session: profiles, companies, job search, posts, messages and connection requests.

MCP: webclaw

by 0xMassi

New

Local-first web extraction MCP server: scrape, crawl, map and batch pages into clean Markdown or JSON, pick data with CSS/XPath, take screenshots and chunk pages for RAG.

New

Open-source MCP server that lets an AI assistant browse subreddits, search posts, read comment threads, find communities and analyse user activity through Reddit's own API, with posting as an opt-in.

Browse all MCP servers →