Package Risk

io.github.makosdDavid由 GitHub 账号 makosdDavid 发布v1.0.5更新于 Oct 27, 2026

Package risk checks: maintenance, licence, advisories. Paid per call in USDC, no signup.

概览

AI 生成的概览

本地 MCP 服务器,用于查询软件包的维护状况、许可证和安全公告,按次以 Base 主网 USDC 付费。

可以做什么
  • 获取软件包完整风险结论:维护状况、许可证、安全公告与弃用情况
  • 查询软件包的许可证表达式及是否可安全用于闭源项目
  • 列出指定已解析版本在 OSV 中的公开安全公告
  • 按名称和可选版本查询 npm、PyPI、Go、Maven、Cargo 或 NuGet 软件包
适用场景
在引入或升级依赖之前,希望助手一次性评估软件包的维护健康度、许可证条款和已知漏洞时使用。适合偶尔检查、且愿意按次支付几分钱而不订阅或申请 API 密钥的场景。
运行要求
通过 npx 从 npm 包 @makosdav/package-risk-mcp 在本地运行,需要 Node.js。需要提供 EVM 钱包私钥,通过环境变量 EVM_PRIVATE_KEY 传入,该钱包需在 Base 主网持有少量 USDC。需要访问远程 HTTP API 及支付验证服务的网络连接。
安装前请注意
该服务器持有 EVM 钱包私钥并用其签署支付授权,请使用专门且仅存少量资金的钱包,切勿使用主钱包。每次工具调用会花费约 0.005 至 0.01 美元等值 USDC;README 说明除 MCP 客户端自身的提示外没有逐次调用确认,如需确认请在智能体框架中配置。软件包名称和版本会发送给第三方 HTTP API。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Package Risk,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

package-risk MCP connector

MCP tools for checking a package's maintenance status, licence, and security advisories before you depend on it - package_risk, package_licence, package_advisories. Paid per call in USDC on Base mainnet via x402.

No subscription, no API key. You pay from your own wallet, per call, only for what you use.

What this is (and isn't)

This is a thin client. The actual service is a stateless HTTP API at x402-package-risk.x402-package-risk.workers.dev. This connector never sees, holds, or forwards anyone else's funds - it only ever spends the wallet key you configure below, and only when you call one of its tools.

Setup

You need an EVM wallet with a small amount of USDC on Base mainnet (calls cost $0.005-$0.01 each). Never use a wallet holding significant funds for an automated agent key - keep this one funded lightly.

Add to your MCP client config (Claude Desktop, Claude Code, Cursor, etc.):

json
{  "mcpServers": {    "package-risk": {      "command": "npx",      "args": ["-y", "@makosdav/package-risk-mcp"],      "env": {        "EVM_PRIVATE_KEY": "0xyour-private-key-here"      }    }  }}

Tools

ToolPriceWhat it returns
package_risk$0.01Full verdict: maintenance, licence, advisories, deprecation
package_licence$0.005Licence expression and closed-source safety
package_advisories$0.005Open OSV advisories for the resolved version

All three take system (npm/pypi/go/maven/cargo/nuget), name, and an optional version.

How payment works

  1. Your agent calls a tool.
  2. This connector requests the resource; the server replies 402 Payment Required.
  3. @x402/fetch builds and signs a payment authorisation with your key.
  4. The request retries with payment attached; the server verifies via Coinbase CDP, returns the result, and settles on-chain.

No approval prompt happens here beyond what your MCP client itself asks for - if you want per-call confirmation, configure that in your agent framework, not here.

来源:README.md,提交 dc1cefb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.5最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分