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.

概覽

AI 產生的概覽

本機 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 位址。付費與查詢類工具需要網路存取。
安裝前請注意
需要錢包私鑰(PAYER_PRIVATE_KEY),用於在 Base 上簽署真實 USDC 付款;README 建議使用專用的低餘額錢包。多數呼叫需要付費(例如每次 0.50 美元,dependency_audit 為 2.00 美元,sca_scan 為 5 美元),價格由上游服務設定。部分工具會把提供的資料或 URL 傳送給第三方服務。安全結果是啟發性證據而非保證,第三方發行說明應視為資料而非指令。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agent Toolkit,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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 version
  • lockfile_audit — audit the full resolved tree from package-lock.json / yarn.lock
  • malicious_scan — deep malicious-package scan with an install verdict
  • license_check — flag GPL/AGPL/unknown licenses for commercial-use review
  • release_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 bytecode
  • wallet_risk — address check against public scam blocklists (ScamSniffer, ethereum-lists) + on-chain signals
  • transaction_confirmation — confirmed/failed/pending with confirmation count

documents, web & threat intel

  • document_compare — line-level diff and similarity of two supplied texts
  • api_uptime — point-in-time URL status, latency, HTTPS and security headers
  • seo_audit — on-page SEO audit of a public page
  • threat_intel — URL/domain/IP check against URLhaus and OpenPhish feeds
  • x402_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 text
  • webhook_reliability_assessment — success rate and latency stats from supplied delivery logs
  • website_change_comparison — added/removed text between two supplied HTML snapshots
  • content_repurposing_package — headline, meta description, key terms, social drafts from supplied content
  • transaction_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

sh
claude mcp add agent-toolkit -e PAYER_PRIVATE_KEY=0xYourKey -- npx -y agent-toolkit-mcp

Claude Desktop / Cursor (JSON)

json
{  "mcpServers": {    "agent-toolkit": {      "command": "npx",      "args": ["-y", "agent-toolkit-mcp"],      "env": { "PAYER_PRIVATE_KEY": "0xYourKey" }    }  }}

Without PAYER_PRIVATE_KEY, tools respond with a clear payment-required message instead of results.

Environment

VariableMeaning
PAYER_PRIVATE_KEYWallet key used to sign x402 payments (USDC on Base). Use a dedicated low-balance wallet.
SAFE_UPGRADE_URLOverride the npm-security API base URL.
DEVTOOLS_URLOverride the dev-utilities API base URL.

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_summary include 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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.4.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。