Markdown to WeChat Converter

by geekjourneyx

Not rated
GitHub

About

Converts Markdown text into HTML compatible with WeChat official accounts using an external API key.

Details

Author
geekjourneyx
Categories
Productivity, Other, Marketing

Setup

Install Markdown to WeChat Converter in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/geekjourneyx/md2wechat-mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

Converts Markdown text into HTML compatible with WeChat official accounts using an external API key.

这是一个基于MCP (Model Context Protocol)的 Go 服务器,用于将 Markdown 文本转换为微信公众号格式的 HTML。

- 🚀快速转换: 将 Markdown 文本转换为微信公众号兼容的 HTML 格式
- 🎨多种主题: 支持 4 种主题风格(默认、字节范、中国风、苹果范)
- 📊详细统计: 提供字数统计和预估阅读时间
- 🔒安全认证: 支持 API Key 认证
- 💬智能集成: 可与大语言模型(如 Claude、GPT)无缝集成

- 标题 (H1-H6)
- 段落和换行
- 加粗文本斜体文本
- 内联代码
-
链接
- !
图片
- 无序列表和有序列表
-

引用块

- 代码块(支持语法高亮)
- 表格
- 脚注 [^1]
- GFM 提示框(NOTE、TIP、IMPORTANT、WARNING、CAUTION)

git clone https://github.com/geekjourneyx/md2wechat-mcp-server cd md2wechat-mcp-server
# Linux/macOS export MD2WECHAT_API_KEY="wme_your_api_key_here" # Windows set MD2WECHAT_API_KEY=wme_your_api_key_here
# 构建 go build -o md2wechat-mcp-server # 运行 ./md2wechat-mcp-server

- default- 默认微信经典风格
- bytedance- 字节范(科技现代风格)
- chinese- 中国风(古典雅致风格)
- apple- 苹果范(视觉渐变风格)

{ "success": true, "html": "<section>...</section>", "theme": "default", "wordCount": 156, "estimatedReadTime": 1, "message": "Markdown 转换成功" }
{ "mcpServers": { "md2wechat": { "command": "/path/to/md2wechat-mcp-server", "env": { "MD2WECHAT_API_KEY": "wme_your_api_key_here" } } } }
请帮我将以下 Markdown 文本转换为微信公众号格式: # 我的文章标题 这是一个重要的段落。 ## 子标题 - 列表项 1 - 列表项 2 使用中国风主题。

Claude 会调用convert_markdown工具,并返回转换后的 HTML 代码。

- API Key 未设置或无效
- Markdown 内容为空
- 无效的主题参数
- 网络连接问题
- API 服务异常

- 单次请求 Markdown 内容不超过 100KB
- API Key 配额:100 请求/分钟
- 网络请求超时:30 秒

md2wechat-mcp-server/ ├── main.go # 主程序文件 ├── go.mod # Go 模块依赖 ├── README.md # 说明文档 └── api_doc.md # 原始 API 文档

注意: 使用前请确保已正确配置 API Key,并遵守微信 Markdown 编辑器的使用条款。

An MCP server for the Ghost blogging platform with Server-Sent Events (SSE) transport support.

Turn a document or an AI draft into a publish-ready PDF, with an automatic cover, table of contents, pagination and your saved branding.

Create, schedule, and publish LinkedIn posts directly from Claude Desktop or ChatGPT through natural conversations

Brandfolio - Make Your Brand Machine-Readable for AI

Your brand deserves consistency across every AI interaction. Brandfolio transforms your brand identity into a format that works with AI on every platform.

Connects AI assistants to your Brivvy workspace so they can use your brand voices, templates, and glossary for on-brand content—hosted at mcp.brivvy.io.

AI-powered reading triage MCP. 26 tools with a 24h burn timer. Read less, absorb more.

Generates professional PDF cover letters using LaTeX. Requires Docker for local execution.

Create and manipulate PowerPoint presentations programmatically using JSON or Markdown.

An MCP server designed to assist with novel writing, configurable via JSON project files.

Docsie MCP lets you create, manage, and publish documentation, convert videos to docs, run compliance analysis, and search your knowledge base - all from your AI assistant

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.