MCP ExplorerExplorer

Mcp Evm Decompiler

@consolexyzon a year ago
3 MIT
FreeCommunity
AI Systems
MCP for smart contract analysis

Overview

What is Mcp Evm Decompiler

mcp-evm-decompiler is a Model Context Protocol (MCP) server designed for smart contract analysis and decompilation using Heimdall.

Use cases

Use cases include decompiling smart contracts to recover source code, analyzing storage patterns for optimization, and auditing contracts for security vulnerabilities.

How to use

To use mcp-evm-decompiler, install Rust and Heimdall, clone the repository, install Node.js dependencies, and build the project. You can then integrate it with Claude or VS Code for analysis.

Key features

Key features include smart contract decompilation and storage analysis, enabling users to understand the structure and storage usage of smart contracts.

Where to use

mcp-evm-decompiler can be used in blockchain development, security auditing, and smart contract analysis, providing insights into contract behavior and vulnerabilities.

Content

ABOUT THIS MCP Server

A Model Context Protocol (MCP) server that uses Heimdall for smart contract analysis and decompilation.

Features

  • Smart contract decompilation
  • Storage analysis

Installation

  1. Install Rust:
curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Install Heimdall:
curl -L http://get.heimdall.rs | bash
bifrost
  1. Clone the repository:
git clone https://github.com/consolexyz/mcp-evm-decompiler.git
cd mcp-evm-decompiler
  1. Install Node.js dependencies:
npm install
  1. Build the project:
npm run build

Claude / VS Code Integration

Replace /path/to/repo with the actual path to where you’ve cloned this repository. This configuration allows Claude to communicate with the analyzer MCP server,

2. Decompile and Analyze

// Get decompiled source
decompileContract({ address: "0x...", includeSource: true })

Development

# Run in development mode
npm run dev

# Run tests
npm test

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers