WeChat Official Account MCP Server (Go)

by tc6-01

Not rated
GitHub

About

A high-performance Go server for managing WeChat Official Accounts, supporting drafts, publishing, and material management.

Details

Author
tc6-01
Categories
Communication, Other

Setup

Install WeChat Official Account MCP Server (Go) in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/tc6-01/weixin-mcp

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

A high-performance Go server for managing WeChat Official Accounts, supporting drafts, publishing, and material management.

这是基于 Go 语言重新实现的微信公众号 Model Context Protocol (MCP) 服务器,使用mark3labs/mcp-go框架开发。

- 🚀高性能: Go 语言实现,启动速度快,内存占用低
- 📦容器化: 完整的 Docker 支持,一键部署
- 🔧简单部署: 单二进制文件,无依赖
- 🛡️类型安全: 编译时错误检查
- 🔄完全兼容: 与 Python 版本 API 完全兼容
- 📊结构化日志: 便于调试和监控
- WeChat_get_access_token- 获取微信公众号 access_token
- WeChat_create_draft- 创建图文消息草稿
- WeChat_publish_draft- 发布草稿到公众号
- WeChat_del_draft- 删除未发布的草稿
- WeChat_del_material- 删除永久素材

# 1. 构建并运行 make docker-run # 2. 查看日志 docker logs wechat-oa-mcp-server
# 1. 安装依赖 make deps # 2. 构建 make build # 3. 运行 make run
docker build -t wechat-oa-mcp-go:latest .
docker run -it --name wechat-oa-mcp-server wechat-oa-mcp-go:latest
# 启动服务 docker-compose up -d # 查看日志 docker-compose logs -f # 停止服务 docker-compose down
{ "mcpServers": { "wechat-oa-mcp-go": { "command": "/path/to/wechat-oa-mcp-go/bin/wechat-oa-mcp", "env": { "LOG_LEVEL": "info" } } } }
{ "mcpServers": { "wechat-oa-mcp-go": { "command": "docker", "args": ["run", "-i", "--rm", "wechat-oa-mcp-go:latest"] } } }
wechat-oa-mcp-go/ ├── cmd/main.go # 主程序入口 ├── internal/handlers/ # MCP 工具处理器 ├── pkg/wechat/ # 微信 API 客户端 ├── Dockerfile # 容器构建文件 ├── Makefile # 构建脚本 ├── go.mod # Go 模块依赖 └── README.md # 本文档

- 在pkg/wechat/中添加 API 客户端函数
- 在internal/handlers/中实现 MCP 工具处理器
- 在cmd/main.go中注册新工具

# 查看所有可用命令 make help # 构建二进制文件 make build # 运行测试 make test # 清理构建文件 make clean # 下载依赖 make deps # Docker 相关 make docker-build # 构建镜像 make docker-run # 运行容器 make docker-clean # 清理容器和镜像

- 启动速度: 快 20-30 倍
- 内存占用: 减少 60-70%
- 响应时间: 快 2-4 倍
- 部署简单: 单文件二进制,无运行时依赖

- IMPLEMENTATION.md- 详细的实现说明
- README-GO.md- Go 版本专用文档

Schedule and queue text, image, and video posts to many social networks, including LinkedIn, X, Bluesky, Instagram, Facebook, Threads, Tiktok.

AI-powered social media posting across 14 platforms with per-platform content adaptation, scheduling, and 30-day calendar generation

Interact with the Google Blogger API to manage blogs, posts, and comments.

Access the BlueSky social network data via its official API.

Interact with the Ghost blogging platform using the Model Context Protocol (MCP) with Server-Sent Events (SSE) support.

A MCP server for LinkedIn REST API v2 that enables AI assistants to create, list, and delete posts, manage events, upload images, comment, and react—featuring OAuth 2.0 with session persistence, local post history tracking, and multiple automated tests

Generates professional LinkedIn post drafts from YouTube videos by summarizing their content.

Access and interact with MyMCPSpace posts, replies, likes, and feeds.

Threads tools for AI agents — generate viral posts, download videos, and export profile data from Meta Threads.

Publish to multiple social networks with only one MCP

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.