EVM MCP Auditor
🛡️ EVM MCP Auditor
Claude & Claude Code 向けの、EVM スマートコントラクトのセキュリティ監査、静的脆弱性分析、マルチチェーンテレメトリを実現する、本番グレードの Model Context Protocol (MCP) サーバー。
⚡ 概要
EVM MCP Auditor は、Anthropic の Claude、Claude Desktop、Claude Code CLI を Ethereum および EVM エコシステムに直接接続します。Claude に専門的なセキュリティ監査ツールを装備し、Solidity スマートコントラクトの重大な攻撃ベクトルを自動的に検査し、ブロックエクスプローラーから検証済みのソースコードを取得し、生のトランザクション calldata をデコードし、マルチチェーンのガスコストを推定します。
┌───────────────────────────┐ ┌───────────────────────────────┐
│ │ stdio │ │
│ Claude Desktop / Code │ ◄─────► │ EVM MCP Auditor Server │
│ (Anthropic AI) │ │ (@zalana/evm-mcp-auditor) │
│ │ │ │
└───────────────────────────┘ └──────────────┬────────────────┘
│
▼
┌───────────────────────────────┐
│ EVM Networks & Explorers │
│ • Ethereum • Base • Arbitrum │
│ • Optimism • Polygon • BSC │
└───────────────────────────────┘Related MCP server: solidit-mcp-server
🚀 機能と MCP ツール
MCP Tool | 説明 |
| Solidity コードの静的セキュリティ分析を実行します(再入攻撃、安全でない Delegatecall、 |
| 6 つの EVM ネットワークにわたるブロックエクスプローラーから、検証済みのコントラクトソースコードを直接取得します。 |
| 生のトランザクションの 16 進数データを、4 バイトの関数セレクタとパラメータチャンクにデコードします。 |
| Ethereum、Base、Arbitrum、Polygon、Optimism、BSC 全体のリアルタイムのガステレメトリを取得します。 |
📦 クイックスタートとインストール
オプション 1: Claude Desktop 統合
claude_desktop_config.json に次のスニペットを追加します:
{
"mcpServers": {
"evm-auditor": {
"command": "npx",
"args": ["-y", "@zalana/evm-mcp-auditor"]
}
}
}オプション 2: Claude Code CLI
claude mcp add evm-auditor npx -y @zalana/evm-mcp-auditorオプション 3: ローカル開発
# Clone repository
git clone https://github.com/zalana28/evm-mcp-auditor.git
cd evm-mcp-auditor
# Install dependencies
npm install
# Run automated test suites
npm test
# Build TypeScript to dist/
npm run build
# Run local MCP server
npm start🛡️ 対応脆弱性スキャナー(SWC / CWE)
EVM-SEC-001: 再入攻撃(Checks-Effects-Interactions 違反)
SWC-107/CWE-841EVM-SEC-002: 任意 / 制御不能な Delegatecall
SWC-112/CWE-829EVM-SEC-003:
tx.originによる脆弱な認証SWC-115/CWE-287EVM-SEC-004: 低レベル呼び出しの戻り値の未チェック
SWC-104/CWE-252EVM-SEC-005: ブロックタイムスタンプ操作
SWC-116/CWE-330EVM-SEC-006: 非推奨の
selfdestruct/ 保護されていない状態ロックSWC-106/CWE-284EVM-SEC-007: フローティング Pragma コンパイラ警告
SWC-103/CWE-664EVM-SEC-008: ゼロアドレス(
address(0))セッター検証の欠如SWC-100/CWE-20
🤝 コントリビューション
コントリビューション、問題報告、機能リクエストを歓迎します!コントリビューションガイド をご確認ください。
📄 ライセンス
このプロジェクトは MIT ライセンス の下でライセンスされています。
グローバルなオープンソースおよび Web3 開発者コミュニティのために、Zalana によって ⚡ で構築されました。
Available Tools
4 toolsevm_audit_contractA
Audit Solidity smart contract source code for critical security vulnerabilities (Reentrancy, Unsafe Delegatecall, Tx.Origin authentication, Unchecked Calls, etc.) and generate a security score.
Inputs: sourceCode (required), contractName.
evm_decode_calldataA
Decode raw EVM transaction calldata into function selector, parameter segments, and byte length.
Inputs: calldata (required).
evm_estimate_gasB
Get real-time gas price and network execution telemetry across supported EVM networks.
Inputs: chain.
evm_fetch_sourceA
Fetch verified smart contract source code from block explorers across Ethereum, Base, Arbitrum, Optimism, or Polygon.
Inputs: contractAddress (required), chain.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool occupies a completely distinct role: estimating gas, auditing source, fetching source, and decoding calldata. There is zero functional overlap between the four, eliminating any chance of an agent selecting the wrong tool for a given intent.
All tools follow a flawless 'evm_verb_noun' snake_case convention with no exceptions. The consistent prefix plus action word makes the API predictable and easy to reason about.
Four focused tools is perfectly scoped for a specialized auditing server covering the key audit workflow without bloat. It hits the sweet spot of being comprehensive for its domain without unnecessary features.
The core fetch-source-and-audit workflow is well covered, with useful supporting utilities for gas analysis and calldata decoding. However, there's no way to list past audits, compare versions, or interact with the broader transaction context, which are minor gaps for a full auditing lifecycle.
Related MCP Connectors
AI smart contract security audits by Nethermind. Run scans and pull findings into your agent.
Read-only smart-contract security intelligence for autonomous agents.
Verified EVM, Aptos and finance tools for AI agents; gas for 14 chains. Pay per call (x402).
EVM audit (Slither + source + security.txt + MCP-probe + wallet-exposure). 6 tools + /trace.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI coding agents to scan smart contracts and code for vulnerabilities, check against 12 famous-hack patterns, and return public security receipts directly in the IDE.418 npmMIT
- AlicenseAqualityDmaintenanceConnects AI assistants to Solodit's 49,000+ blockchain vulnerability database, enabling search, browse, and lookup of audit findings directly from your AI workflow.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query on-chain data across EVM chains like Base, Optimism, Avalanche, Celo, and Arbitrum, including balances, transactions, gas, and smart contract interactions.53 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform Web3 development operations such as toolchain diagnostics, chain registry queries and live probing, address validation, secret scanning, deployment logging, and standards searches across multiple blockchains.33 npmMIT