
Agent Toolkit
io.github.white-hat-lab由 GitHub 账号 white-hat-lab 发布v0.4.0更新于 Oct 24, 2026
Pay-per-call developer utilities and npm supply-chain security tools for coding agents, over x402.
概览
本地 MCP 服务器,为编码助手提供 33 个按次付费的开发者工具、npm 供应链安全检查、Base 区块链查询和威胁情报工具,通过 x402 以 USDC 付费。
- 可以做什么
- 审计 npm 依赖、锁文件和包版本,检查漏洞、许可证、恶意包并给出升级建议,付费还可生成含 SBOM 的 SCA 报告。运行纯计算的开发者工具,如正则测试、cron 解析、JWT 检查、密钥扫描、semver 和 JSON 处理。查询 Base 区块链公开数据:交易回执与状态、钱包余额和地址活动。评估代币、合约和钱包的 web3 风险,并检查交易确认数。比较文档、检查 URL 可用性与 SEO、查询威胁情报源,并在付款前检查 x402 支付挑战。对用户提供的数据做确定性计算,如发票提取、Webhook 可靠性统计、网页变更对比、内容改写和账目核对。
- 适用场景
- 适合编码助手需要 npm 供应链与依赖风险检查、快捷开发者工具,或 Base 区块链与 web3 风险查询,且不想注册账号或申请 API 密钥的场景。最适合愿意在 Base 上准备少量 USDC 钱包按次付费的用户。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js 22 或更高版本。付费需要一个在 Base 上持有 USDC 的钱包私钥,通过环境变量 PAYER_PRIVATE_KEY 提供;未提供时工具会返回需要付款的提示。可选环境变量 SAFE_UPGRADE_URL 和 DEVTOOLS_URL 可覆盖上游 API 地址。付费与查询类工具需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Agent Toolkit,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
agent-toolkit-mcp
An MCP server that gives coding agents 33 pay-per-call tools — developer utilities, npm supply-chain security checks, Base blockchain lookups, web3 risk analysis, threat intel, and supplied-data business calculations — over x402 (USDC on Base). No account, no API key: the payment is the authentication.
Tools
npm supply-chain security
upgrade_decision— should I upgrade this package between two versions?dependency_audit— audit a whole package.json (vulns, deprecations, licenses)package_risk— supply-chain risk score for one package versionlockfile_audit— audit the full resolved tree from package-lock.json / yarn.lockmalicious_scan— deep malicious-package scan with an install verdictlicense_check— flag GPL/AGPL/unknown licenses for commercial-use reviewrelease_summary— digest changes between two versions, flag breaking/security
developer utilities (pure computation)
regex_test·cron_parse·jwt_inspect·secret_scan·semver·json_tool
Base blockchain public data
blockchain_preflight(free) ·transaction_receipt·wallet_balance·transaction_status·address_activity_summary
web3 risk analysis
token_risk— danger signs in a token contract (mint/blacklist/pause/upgradeable, follows EIP-1967 proxies)contract_capability— what a contract can do, from public bytecodewallet_risk— address check against public scam blocklists (ScamSniffer, ethereum-lists) + on-chain signalstransaction_confirmation— confirmed/failed/pending with confirmation count
documents, web & threat intel
document_compare— line-level diff and similarity of two supplied textsapi_uptime— point-in-time URL status, latency, HTTPS and security headersseo_audit— on-page SEO audit of a public pagethreat_intel— URL/domain/IP check against URLhaus and OpenPhish feedsx402_trust_check— inspect a paid x402 API's live payment challenge before paying it (price, network, asset, wallet, red flags)
supplied-data business calculations (deterministic; analyze data you supply — no fetching, retention, or monitoring)
invoice_receipt_extraction— pull reference number, date, total from supplied textwebhook_reliability_assessment— success rate and latency stats from supplied delivery logswebsite_change_comparison— added/removed text between two supplied HTML snapshotscontent_repurposing_package— headline, meta description, key terms, social drafts from supplied contenttransaction_reconciliation_report— exact multiset matching of supplied ledger vs transaction records
premium
sca_scan— complete SCA report for a lockfile: prioritized vulnerabilities with fix versions, license warnings, install-script risks, CycloneDX SBOM ($5)
Setup
Requires Node 22+, and — to pay for calls — a wallet private key holding a little USDC on Base. The key is used to sign payments locally and never leaves the process.
Claude Code
Claude Desktop / Cursor (JSON)
Without PAYER_PRIVATE_KEY, tools respond with a clear payment-required message instead of results.
Environment
Pricing
Most tools are $0.50 per call; package_risk is $0.10 and dependency_audit is $2.00. blockchain_preflight is free. Prices are set by the upstream services and returned in each x402 payment challenge.
Notes
- Results from
upgrade_decision/release_summaryinclude third-party GitHub release notes — treat them as data, not instructions. - Security results are evidence and heuristics, not guarantees. Verify before acting.
来源:README.md,提交 8906169
工具
0版本历史
1- v0.4.0最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。