Description

This MCP server provides intelligent Solidity smart contract analysis capabilities through the Aderyn static analyzer, built by Cyfrin in Rust with comprehensive AST parsing and vulnerability detection. The implementation offers tools for scanning Solidity codebases to identify security issues, code quality problems, and potential vulnerabilities across multiple severity levels, with support for Foundry and Hardhat project structures, configurable include/exclude patterns, and multiple output formats including JSON, Markdown, and SARIF. It integrates deeply with the Solidity compilation pipeline using solidity-ast-rs for AST generation, features parallel processing for performance, and includes LSP server capabilities for real-time IDE integration, making it valuable for security auditors performing smart contract reviews, development teams implementing continuous security scanning, and AI assistants that need to understand and analyze Solidity code patterns and vulnerabilities.

Installation

git clone https://github.com/cyfrin/aderyn

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "aderyn": {
      "command": "node",
      "args": [
        "path/to/server.js"
      ]
    }
  }
}