Skip to main content
Glama
EVM MCP Auditor

EVM MCP Auditor

by zalana28

🛡️ EVM MCP Auditor

CI Test Suite License: MIT MCP Protocol Solidity TypeScript

프로덕션급 Model Context Protocol (MCP) 서버로, EVM 스마트 계약 보안 감사, 정적 취약점 분석, 그리고 Claude 및 Claude Code를 위한 멀티체인 텔레메트리를 제공합니다.


⚡ 개요

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 도구

설명

evm_audit_contract

Solidity 코드에 대한 정적 보안 분석을 실행합니다 (재진입, 안전하지 않은 Delegatecall, tx.origin 인증, 확인되지 않은 외부 호출, 타임스탬프 의존성, selfdestruct).

evm_fetch_source

6개 EVM 네트워크의 블록 탐색기에서 검증된 계약 소스 코드를 직접 가져옵니다.

evm_decode_calldata

원시 트랜잭션 16진수 데이터를 4바이트 함수 선택자와 파라미터 청크로 디코딩합니다.

evm_estimate_gas

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-841

  • EVM-SEC-002: 임의 / 통제되지 않는 Delegatecall SWC-112 / CWE-829

  • EVM-SEC-003: tx.origin을 통한 취약한 인증 SWC-115 / CWE-287

  • EVM-SEC-004: 저수준 호출의 검사되지 않은 반환 값 SWC-104 / CWE-252

  • EVM-SEC-005: 블록 타임스탬프 조작 SWC-116 / CWE-330

  • EVM-SEC-006: 더 이상 사용되지 않는 selfdestruct / 보호되지 않는 상태 잠금 SWC-106 / CWE-284

  • EVM-SEC-007: 플로팅 pragma 컴파일러 경고 SWC-103 / CWE-664

  • EVM-SEC-008: 제로 주소(address(0)) 세터 검증 누락 SWC-100 / CWE-20


🤝 기여

기여, 이슈 제기, 기능 요청은 언제나 환영합니다! 기여 가이드를 확인해 주세요.

📄 라이선스

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여됩니다.


전 세계 오픈소스 및 Web3 개발자 커뮤니티를 위해 Zalana가 ⚡과 함께 만들었습니다.

Available Tools

4 tools
evm_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

    A3.9/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables 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.
      4
      18 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Connects AI assistants to Solodit's 49,000+ blockchain vulnerability database, enabling search, browse, and lookup of audit findings directly from your AI workflow.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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.
      MIT