md2wechat-mcp-server
📝 md2wechat MCP Server | 让 Claude Code & AI Agent 一键排版发布到微信公众号
Install / Use
claude mcp add geekjourneyx -- npx -y github:geekjourneyx/md2wechat-mcp-serverIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of md2wechat-mcp-server
md2wechat-mcp-server scores 70/100 on our quality scale, 883rd of 955 AI & Machine Learning skills we index.
Its MCP Server is 2.5 KB long, well organised into 29 sections with 8 code examples: a solid amount of guidance for an agent.
It has 49 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 17 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
- Our last check on 2026-10-21 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
md2wechat-mcp-server compared with similar skills
All 4 of these similar skills score higher than md2wechat-mcp-server; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| md2wechat-mcp-server (this skill)by geekjourneyx | 70 | 49 | 17mo ago | MCP Server |
| claude-memby thedotmack | 100 | 113.9k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.6k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 91.1k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install md2wechat-mcp-server?
- Run
claude mcp add geekjourneyx -- npx -y github:geekjourneyx/md2wechat-mcp-server. The install tabs above show the steps for each supported agent. - Which AI agents does md2wechat-mcp-server work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is md2wechat-mcp-server safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is md2wechat-mcp-server still maintained?
- The repository was last updated about 17 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
Skill content
View source on GitHub微信 Markdown 编辑器 MCP 服务器
这是一个基于 MCP (Model Context Protocol) 的 Go 服务器,用于将 Markdown 文本转换为微信公众号格式的 HTML。
功能特性
- 🚀 快速转换: 将 Markdown 文本转换为微信公众号兼容的 HTML 格式
- 🎨 多种主题: 支持 4 种主题风格(默认、字节范、中国风、苹果范)
- 📊 详细统计: 提供字数统计和预估阅读时间
- 🔒 安全认证: 支持 API Key 认证
- 💬 智能集成: 可与大语言模型(如 Claude、GPT)无缝集成
支持的 Markdown 语法
基础语法
- 标题 (H1-H6)
- 段落和换行
- 加粗文本 和 斜体文本
内联代码- 链接
- 无序列表和有序列表
-
引用块
- 分割线 (---)
扩展语法
- 代码块(支持语法高亮)
- 表格
- 脚注 [^1]
- GFM 提示框(NOTE、TIP、IMPORTANT、WARNING、CAUTION)
环境要求
- Go 1.21 或更高版本
- 微信 Markdown 编辑器 API Key
安装和配置
1. 克隆或下载代码
git clone https://github.com/geekjourneyx/md2wechat-mcp-server
cd md2wechat-mcp-server
2. 安装依赖
go mod tidy
3. 设置 API Key
获取微信 Markdown 编辑器的 API Key 后,设置环境变量:
# Linux/macOS
export MD2WECHAT_API_KEY="wme_…[redacted]"
# Windows
set MD2WECHAT_API_KEY=wme_…[redacted]
4. 构建和运行
# 构建
go build -o md2wechat-mcp-server
# 运行
./md2wechat-mcp-server
MCP 工具说明
convert_markdown
将 Markdown 文本转换为微信公众号格式的 HTML。
参数:
| 参数名 | 类型 | 必填 | 描述 | |--------|------|------|------| | markdown | string | ✅ | 要转换的 Markdown 文本内容 | | theme | string | ❌ | 主题样式,默认为 "default" |
支持的主题:
default- 默认微信经典风格bytedance- 字节范(科技现代风格)chinese- 中国风(古典雅致风格)apple- 苹果范(视觉渐变风格)
返回结果:
{
"success": true,
"html": "<section>...</section>",
"theme": "default",
"wordCount": 156,
"estimatedReadTime": 1,
"message": "Markdown 转换成功"
}
在大语言模型中使用
Claude Desktop 配置
在 claude_desktop_config.json 中添加:
{
"mcpServers": {
"md2wechat": {
"command": "/path/to/md2wechat-mcp-server",
"env": {
"MD2WECHAT_API_KEY": "wme_…[redacted]"
}
}
}
}
使用示例
与 Claude 对话时,可以这样请求:
请帮我将以下 Markdown 文本转换为微信公众号格式:
# 我的文章标题
这是一个**重要**的段落。
## 子标题
- 列表项 1
- 列表项 2
使用中国风主题。
Claude 会调用 convert_markdown 工具,并返回转换后的 HTML 代码。
错误处理
服务器会处理以下常见错误:
- API Key 未设置或无效
- Markdown 内容为空
- 无效的主题参数
- 网络连接问题
- API 服务异常
API 限制
- 单次请求 Markdown 内容不超过 100KB
- API Key 配额:100 请求/分钟
- 网络请求超时:30 秒
开发和贡献
项目结构
md2wechat-mcp-server/
├── main.go # 主程序文件
├── go.mod # Go 模块依赖
├── README.md # 说明文档
└── api_doc.md # 原始 API 文档
开发建议
- 遵循 Go 代码规范
- 添加适当的错误处理
- 编写详细的注释
- 测试 API 集成
许可证
本项目基于 MIT 许可证开源。
支持和反馈
如有问题或建议,请提交 Issue 或联系开发团队。
注意: 使用前请确保已正确配置 API Key,并遵守微信 Markdown 编辑器的使用条款。
Related Skills
claude-mem
113.9kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
109.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
91.1kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
79.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
