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

@onloon-ai/mcp-server

v0.1.6

Published

Onloon claw-skills MCP server (stdio).

Readme

@onloon-ai/mcp-server

盈店通 claw-skills 统一 MCP 服务(stdio)。适用于 Claude Desktop、Cursor、VS Code、WorkBuddy 及其他支持 MCP 的客户端。

环境要求

  • Node.js ≥ 18(推荐 20+)
  • 可访问 npm registry(安装本包)与官方 prod 技能清单(运行时拉取技能)
  • 有效的盈店通 OpenAPI 密钥(YDT_API_TOKEN

默认配置

将以下内容加入所用客户端的 MCP 配置(如 Claude Desktop 的 claude_desktop_config.json、Cursor / VS Code 的 MCP 设置等)。建议钉死版本号,避免意外拉到未验证版本。

{
  "mcpServers": {
    "盈店通": {
      "command": "npx",
      "args": [
        "-y",
        "@onloon-ai/[email protected]"
      ],
      "env": {
        "YDT_API_TOKEN": "您的盈店通API密钥"
      }
    }
  }
}

配置说明:

| 项 | 说明 | |----|------| | command / args | 通过 npx 启动本包;默认连接生产环境 | | YDT_API_TOKEN | 必须写在 env 中。MCP 模式下只认该环境变量,不会读取本机 openclaw.json.env | | 版本钉死 | 使用 @0.1.6 等形式;升级本包时再改版本号 |

配置完成后,重启客户端或重连「盈店通」服务器,确认状态为 connected

需要强制重新下载技能时,在 args 末尾追加 "--refresh"

"args": [
  "-y",
  "@onloon-ai/[email protected]",
  "--refresh"
]

技能更新

已发布的远端变更:重启 MCP;仍异常时加 --refresh

安全说明

  • 请勿YDT_API_TOKEN 写入文档、聊天记录、代码仓库或可公开的配置副本。
  • Token 仅通过 MCP 配置的 env 注入;不会回落本机其它凭据文件。

常见问题与处理

以下问题多见于通过 npx 启动或 Windows 环境;若默认配置不稳定,可采用文末「本地安装」备用方案。

| 现象 | 可能原因 | 处理建议 | |------|----------|----------| | -32000: Connection closed | 进程启动失败;Windows 下客户端以无 shell 方式 spawn npx.cmd)导致 EINVAL | 改用「本地安装 + node 绝对路径」;勿将 command 写成裸 npx.cmd / .bat | | -32001: Request timed out | npx 每次解析 / 校验版本过慢,或误加了强制重装参数 | 去掉不必要的 --refresh;先手动 npm install 预热;改用本地安装直启 | | 401 / missing bearer token | Token 未传入子进程 | 确认 YDT_API_TOKEN 写在 MCP 配置的 env 中,并重启连接 | | npx / 安装网络超时 | 无法访问 npm registry | 换镜像安装,例如:npm install @onloon-ai/[email protected] --registry https://registry.npmmirror.com | | 技能仍是旧版 | MCP 未重启,或本地缓存未刷新 | 重启 MCP;仍旧则加 --refresh |

备用方案:本地安装后直启(推荐用于排障)

npx 启动慢、超时或在 Windows 上失败时,可一次性安装到固定目录,再用 node 直接执行入口文件。

mkdir -p ~/mcp/onloon && cd ~/mcp/onloon
npm install @onloon-ai/[email protected]

确认入口存在:

ls node_modules/@onloon-ai/mcp-server/bin/claw-skills-mcp.js

获取 Node 路径后配置(Windows 请使用 node.exe完整路径args 中入口文件亦须为绝对路径):

{
  "mcpServers": {
    "盈店通": {
      "command": "<node 可执行文件的绝对路径>",
      "args": [
        "<安装目录>/node_modules/@onloon-ai/mcp-server/bin/claw-skills-mcp.js"
      ],
      "env": {
        "YDT_API_TOKEN": "您的盈店通API密钥"
      }
    }
  }
}

升级本包时,在同一目录执行 npm install @onloon-ai/mcp-server@<新版本> 即可;入口路径未变则无需修改 MCP 配置。

License

专有软件。使用须遵守盈店通相关服务条款与 API 使用规范。