Md2WeChat

v1.0.0Communicationstable

📝 md2wechat MCP Server | 让 Claude Code & AI Agent 一键排版发布到微信公众号

ai-agentclaude-codellmmarkdownmarkdown-to-wechat
Share:
46
Stars
0
Downloads
0
Weekly
0/5

What is Md2WeChat?

Md2WeChat is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 📝 md2wechat mcp server | 让 claude code & ai agent 一键排版发布到微信公众号

📝 md2wechat MCP Server | 让 Claude Code & AI Agent 一键排版发布到微信公众号

This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • 📝 md2wechat MCP Server | 让 Claude Code & AI Agent 一键排版发布到微信公

Use Cases

Markdown to WeChat publishing
Content formatting and distribution
geekjourneyx

Maintainer

LicenseMIT
Languagego
Versionv1.0.0
UpdatedMay 11, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx md2wechat

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Md2WeChat

Md2WeChat MCP Server is a Go-based server that converts Markdown content into WeChat-compatible HTML formatted for WeChat Official Account (公众号) publication, offering four visual themes and word count statistics. It integrates with Claude Code and other MCP-compatible AI agents so writers and content creators can draft articles in Markdown and publish them to WeChat with a single AI prompt. The server authenticates against the md2wechat.com API using an API key and returns formatted HTML ready for pasting into the WeChat editor.

Prerequisites

  • Go 1.19+ installed (for building from source)
  • A md2wechat.com account and API key (starts with wme_)
  • An MCP-compatible client such as Claude Code or Claude Desktop
1

Clone and build the server

Clone the repository and build the Go binary.

git clone https://github.com/geekjourneyx/md2wechat-mcp-server
cd md2wechat-mcp-server
go mod tidy
go build -o md2wechat-mcp-server
2

Obtain an API key

Sign up at md2wechat.com and generate an API key from your account settings. The key format is wme_... and must be kept secret.

3

Set the MD2WECHAT_API_KEY environment variable

Export your API key in the shell or add it to your MCP client config's env block.

export MD2WECHAT_API_KEY=wme_your_api_key_here
4

Configure your MCP client

Add the server binary path to your claude_desktop_config.json with the API key in the env block.

{
  "mcpServers": {
    "md2wechat": {
      "command": "/path/to/md2wechat-mcp-server",
      "env": {
        "MD2WECHAT_API_KEY": "wme_your_api_key_here"
      }
    }
  }
}
5

Convert Markdown to WeChat HTML

Ask your AI assistant to convert a Markdown document using a specific theme. The convert_markdown tool accepts a markdown string and an optional theme name.

Md2WeChat Examples

Client configuration

Claude Desktop configuration pointing to the compiled md2wechat-mcp-server binary with the required API key.

{
  "mcpServers": {
    "md2wechat": {
      "command": "/path/to/md2wechat-mcp-server",
      "env": {
        "MD2WECHAT_API_KEY": "wme_your_api_key_here"
      }
    }
  }
}

Prompts to try

Natural language prompts to convert and publish Markdown content to WeChat using the md2wechat MCP server.

- "Convert this Markdown article to WeChat format using the Chinese theme"
- "Format my draft below for WeChat public account publication with the bytedance theme"
- "Convert the following text to WeChat HTML and tell me the word count and estimated read time"
- "Use the apple theme to convert this tutorial to WeChat-compatible HTML"

Troubleshooting Md2WeChat

Authentication error: invalid API key

Ensure MD2WECHAT_API_KEY is set to your full key including the wme_ prefix. Keys are generated in your md2wechat.com account dashboard. Do not share this key in public repositories.

Command not found or binary won't execute

After building, make the binary executable with chmod +x md2wechat-mcp-server. In the MCP config, use the absolute path to the binary, not a relative path. Verify with /path/to/md2wechat-mcp-server --help.

Theme parameter has no effect

The theme parameter accepts only these exact values: default, bytedance, chinese, or apple. Passing any other string will fall back to the default theme without an error message.

Frequently Asked Questions about Md2WeChat

What is Md2WeChat?

Md2WeChat is a Model Context Protocol (MCP) server that 📝 md2wechat mcp server | 让 claude code & ai agent 一键排版发布到微信公众号 It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Md2WeChat?

Follow the installation instructions on the Md2WeChat GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Md2WeChat?

Md2WeChat works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Md2WeChat free to use?

Yes, Md2WeChat is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

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.

Quick Config Preview

{ "mcpServers": { "md2wechat": { "command": "npx", "args": ["-y", "md2wechat"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Md2WeChat?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides