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

@kevinfx/magpie-mcloud

v0.1.0

Published

Magpie & OpenCode provider plugin for China Mobile Cloud Drive (中国移动云盘 MClaw): daily check-in (AI豆), Token balance monitoring, and OpenAI-compatible reverse proxy

Readme

@kevinfx/magpie-mcloud

中国移动云盘 MClaw (China Mobile Cloud Drive) Provider Plugin for Magpie & OpenCode

npm version Release License: MIT

中国移动云盘(MClaw 智能助手 / 和彩云)专用的 Magpie 插件 一网打尽:每月免费 50万~3000万 算力 Token 监控、每日 AI 豆自动签到、国产顶尖大模型(DeepSeek-R1 满血版 671B、通义千问、火山引擎豆包)与标准 OpenAI 格式反代网关。


🌟 核心特性

  • 📊 算力燃料 Token 额度实时监控 (auth.usage)
    对齐 Magpie Quota 规范,在桌面端配额面板中实时展示当前剩余可用「Token 算力燃料」总额(普通用户每月领 50 万,会员每月至高 3000 万)与月度重置周期。
  • 🎁 每日任务自动签到 (auth.checkin)
    无缝接入 Magpie 全局定时签到任务池,每日定时调用移动云盘官方任务中心领取 AI 豆(原云朵)与算力奖励,记录连续签到天数并防漏签。
  • 🔄 多元大模型矩阵 (provider.models)
    内置对齐中国移动云盘 MClaw 算力生态模型库,包含 DeepSeek-R1 满血版(671B 深度推理)、DeepSeek-V3、通义千问系列(Qwen 3.8 / 3.7 / 3.5)、火山引擎豆包(Doubao 2.1-Pro)与智谱清言(GLM-5.3)。
  • ⚡ OpenAI 兼容 SSE 反代网关 (auth.loader)
    将通用的 /v1/chat/completions 请求转接至移动云盘 AI / MClaw 后端,支持多轮对话上下文组装、流式打字机以及 DeepSeek-R1 深度思考过程(<think>...</think> 转换为标准 reasoning_content)流式回传。
  • 🔑 开箱即用双模式鉴权 (auth.methods)
    支持 Magpie 客户端内一键拉起本地授权引导网页进行可视化配置,亦可在客户端弹窗中直接粘贴 App 请求头 Authorization 或网页端 Cookie。

📦 安装方式

方式 1:通过 Magpie CLI 一键安装(推荐)

在终端中执行以下任一命令即可自动完成安装与热加载:

# 从 npm 官方中心安装
magpie plugin add @kevinfx/magpie-mcloud

# 或从 GitHub 源码安装
magpie plugin add github:KevinFX-code/magpie-mcloud

方式 2:通过配置文件声明

在 Magpie 配置目录(~/.config/magpie/plugins.json)中直接加入声明:

{
  "plugins": [
    {
      "spec": "@kevinfx/magpie-mcloud@latest"
    }
  ]
}

方式 3:本地开发调试

如果您下载了源码进行二次开发:

# 进入 Magpie 插件配置目录
cd ~/.config/magpie/plugins

# 链接本地项目
npm install "/path/to/magpie-mcloud"

🚀 登录与使用指引

1. 登录授权

安装后在终端运行:

magpie plugin login mcloud

或直接在 Magpie 桌面客户端 的 Provider 管理面板中找到 中国移动云盘 (MClaw) 点击 Login:

  1. 方式 1:手机 App 抓包凭证(最推荐,稳定长期免登):
    • 手机打开移动云盘 App(使用中国移动号码登录);
    • 使用抓包工具(如 HttpCanary、小黄鸟、Stream),过滤 authTokenRefresh.do;
    • 复制请求头中的 Authorization 值(形如 Basic YWJj...),直接填入;
  2. 方式 2:电脑网页版 Cookie:
    • 电脑浏览器登录 yun.139.com,按 F12 -> 【Application / 应用】->【Cookies】,复制 jwtToken 或完整 Cookie 粘贴提交;
  3. 方式 3:OpenClaw 容器直连:
    • 若开通了移动云盘 9.9 元 MClaw 容器尝鲜版并在本地部署了穿透,可直接在自定义端点中填入 http://127.0.0.1:18789。

2. 查看配额与签到

  • 查看当前可用 Token 算力余额:
    magpie quota mcloud
  • 手动触发签到自测:
    magpie accounts checkin

🛠 本地快速测试验证

克隆仓库后,可通过内置测试脚本直接验证凭据与连通性:

# 格式:node test_mcloud.mjs <Authorization或Cookie> [手机号]
node test_mcloud.mjs "Basic YWJjZGVm..." 13800138000

🤖 支持模型清单

| 模型 ID | 模型全称 | 最大上下文 | 推理支持 (Reasoning) | 计费倍率说明 | | :--- | :--- | :--- | :---: | :--- | | deepseek-r1 | DeepSeek-R1 (满血版 671B) | 65,536 tokens | ✅ 是 | 满血推理大模型,支持思维链输出 | | deepseek-v3 | DeepSeek-V3 通用模型 | 65,536 tokens | ❌ 否 | 敏捷响应,高性价比日常对话 | | qwen3.8_max | 通义千问 Qwen3.8-Max | 131,072 tokens | ✅ 是 | 百炼旗舰全尺寸超长上下文模型 | | qwen3.7_plus | 通义千问 Qwen3.7-Plus | 131,072 tokens | ✅ 是 | 高性能全能通用模型 | | qwen3.5_plus | 通义千问 Qwen3.5-Plus | 131,072 tokens | ❌ 否 | 快速响应轻量模型 | | doubao-seed-2.1-pro| 火山引擎豆包 2.1-Pro | 131,072 tokens | ✅ 是 | 字节跳动旗舰,擅长中文语境 | | glm-5.3 | 智谱清言 GLM-5.3 | 131,072 tokens | ✅ 是 | 智谱新一代双语长文本大模型 | | mclaw-auto | MClaw 智能助手 (Auto) | 131,072 tokens | ✅ 是 | 官方默认智能调度路由 |


📄 开源许可证

本项目基于 MIT License 协议开源。仅供学习与个人效率开发研究使用,相关商标归属中国移动通信集团有限公司。