# Wenyan MCP (MCP server)

> Wenyan MCP is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. 文颜 MCP Server 可以让 AI 自动将 Markdown 文章排版后发布至微信公众号。. It has 1,332 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @wenyan-md/mcp.

文颜（Wenyan） 是一款多平台 Markdown 排版与发布工具，支持将 Markdown 一键转换并发布至： 基于 MCP 协议，Claude Desktop 等 AI 客户端现在可以直接调用文颜（Wenyan）的排版引擎。写完文章后，不需要再去第三方编辑器里来回复制粘贴，直接让 AI 帮你排版并塞进微信草稿箱。

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/caol64/wenyan-mcp |
| GitHub stars | 1,332 |
| License | Apache-2.0 |
| Language | JavaScript |
| Transport | stdio |
| Packages | npm: @wenyan-md/mcp |
| Remote URL | none |
| Needs API key | yes |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Other |
| Latest release | v2.0.4 (Sep 20, 2026) |
| Last commit | Sep 20, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "wenyan-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wenyan-md/mcp"
      ],
      "env": {
        "WECHAT_APP_SECRET": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env WECHAT_APP_SECRET=your-value --transport stdio wenyan-mcp -- npx -y @wenyan-md/mcp
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "wenyan-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@wenyan-md/mcp"
      ],
      "env": {
        "WECHAT_APP_SECRET": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "wechat_app_secret",
      "description": "WECHAT_APP_SECRET",
      "password": true
    }
  ],
  "servers": {
    "wenyan-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@wenyan-md/mcp"
      ],
      "env": {
        "WECHAT_APP_SECRET": "${input:wechat_app_secret}"
      }
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `WECHAT_APP_ID`: Shown in the README's example configuration.
- `WECHAT_APP_SECRET` (secret): Shown in the README's example configuration.

## Similar MCP servers

- [Reactive Resume](https://appsgit.com/mcp-servers/reactive-resume): A one-of-a-kind resume builder that keeps your privacy in mind. (43,921 stars, MIT)
- [N8n MCP](https://appsgit.com/mcp-servers/n8n-mcp): A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you. (23,047 stars, MIT)
- [XHS Downloader](https://appsgit.com/mcp-servers/xhs-downloader): 小红书（XiaoHongShu、RedNote）链接提取/作品采集工具. (12,922 stars, GPL-3.0)
- [MCP Use](https://appsgit.com/mcp-servers/mcp-use): The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents. (10,726 stars, MIT)
- [Ha MCP](https://appsgit.com/mcp-servers/ha-mcp): Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants. (4,964 stars, MIT)
- [MCP Server Chart](https://appsgit.com/mcp-servers/mcp-server-chart): A Model Context Protocol server for generating charts using AntV. (4,391 stars, MIT, needs API key)

---

Canonical page: https://appsgit.com/mcp-servers/wenyan-mcp
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
