npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

wechatgzh-mcp

v2.0.1

Published

微信公众号 MCP 服务器 - 支持草稿管理、素材管理、Token 获取、发布能力等 18 个工具

Readme

微信公众号 MCP 服务器

npm version License: MIT

微信公众号 MCP (Model Context Protocol) 服务器,支持草稿管理、素材管理、Token 获取、发布能力等 18 个工具。

安装使用

npx wechatgzh-mcp

Claude Desktop 配置

{
  "mcpServers": {
    "wechat": {
      "command": "npx",
      "args": ["-y", "wechatgzh-mcp"],
      "env": {
        "PROXY_SERVER_URL": "https://your-server.com",
        "DEFAULT_APPID": "wx1234567890",
        "DEFAULT_APPSECRET": "your_appsecret"
      }
    }
  }
}

中转服务项目地址

中转服务器源码:https://gitee.com/magox/wechatgzh-proxy-server

⚠️ 重要:IP 白名单设置

根据微信公众号平台要求,您需要在公众号后台配置 IP 白名单:

  1. 登录 微信公众平台
  2. 进入 设置与开发基本配置
  3. IP白名单 中添加 PROXY_SERVER_URL 对应的服务器 IP

注意:未配置 IP 白名单将导致 API 调用失败(返回 40164 错误码)

环境变量

| 变量名 | 必填 | 说明 | |--------|------|------| | PROXY_SERVER_URL | ✅ | 中转服务器地址(自动添加 /wechatapi 路径) | | DEFAULT_APPID | ✅ | 公众号 AppID | | DEFAULT_APPSECRET | ✅ | 公众号 AppSecret | | LOG_LEVEL | ❌ | 日志级别(DEBUG/INFO/WARN/ERROR),默认 INFO |

工具列表(18个)

| 类别 | 工具 | 功能 | |------|------|------| | 基础 | WeChat_get_access_token | 获取 access_token | | | WeChat_get_stable_token | 获取稳定版 token | | 草稿 | WeChat_create_draft | 创建草稿(自动上传封面) | | | WeChat_delete_draft | 删除草稿 | | | WeChat_update_draft | 更新草稿 | | | WeChat_get_draft | 获取草稿详情 | | | WeChat_list_drafts | 获取草稿列表 | | | WeChat_count_drafts | 获取草稿总数 | | 素材 | WeChat_delete_material | 删除素材 | | | WeChat_get_material | 获取素材详情 | | | WeChat_list_materials | 获取素材列表 | | | WeChat_count_materials | 获取素材统计 | | | WeChat_upload_image | 上传图片 | | 发布 | WeChat_publish_draft | 发布草稿 | | | WeChat_get_publish_status | 查询发布状态 | | | WeChat_delete_published_article | 删除已发布文章 | | | WeChat_list_published_articles | 获取已发布列表 | | | WeChat_get_published_article | 获取已发布详情 |

License

MIT