mcpField
W

weakspot

ローカル
weakspot.devセキュリティ

weakspot について

エディターから Solidity と Rust のスマートコントラクトを監査します。x402 経由で、監査ごとに USDC で支払います。

設定

ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。

mcp.json · 共通設定
{
"mcpServers": {
"dev-weakspot-weakspot": {
"command": "npx",
"args": [
"-y",
"weakspot-mcp"
],
"env": {
"WEAKSPOT_PRIVATE_KEY": "<WEAKSPOT_PRIVATE_KEY>",
"WEAKSPOT_MAX_USD": "<WEAKSPOT_MAX_USD>",
"WEAKSPOT_URL": "<WEAKSPOT_URL>",
"WEAKSPOT_RPC_URL": "<WEAKSPOT_RPC_URL>"
}
}
}
}
起動コマンドnpx -y weakspot-mcp
設定が必要な環境変数
WEAKSPOT_PRIVATE_KEYシークレットPrivate key of a funded Base wallet. This server SPENDS REAL USDC from it with no human in the loop — use a fresh wallet funded with only what you are willing to lose, never a personal or deployer key. Only weakspot_audit needs it; the pricing, status and wallet-status tools work without one.
WEAKSPOT_MAX_USDHard cap in USD on any single audit (default 4, the highest tier). Checked twice: against the tier price, and again against the amount the server actually quotes. An LLM decides when to call the paying tool, so this is the main spend control.
WEAKSPOT_URLBase URL of the Weakspot deployment to use. Defaults to https://weakspot.dev; override to point at staging or a self-hosted instance.
WEAKSPOT_RPC_URLBase RPC endpoint, used only to read the wallet's USDC balance in weakspot_wallet_status. Nothing else needs it.

ローカルサーバーにはマシン上の実行環境(Node.js 18 以上など)が必要です。設定ファイルの場所はクライアントごとに異なります。

パッケージ
npmweakspot-mcp0.1.1

ツール

4

掲載時のツール一覧 · 2 週間前に更新

パラメーター型必須説明
fileCountintegerはい監査する .sol/.rs ファイルの数。

詳細

メンテナーはまだ詳細を追加していません。リポジトリの README をご覧ください。

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。