block-butler-mcp

ethglobal-38e0q/block-butler-mcp

3.2

If you are the rightful owner of block-butler-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Black Butler MCP Server is designed to facilitate interactions with the Ethereum blockchain using Infura.

Tools
1
Resources
0
Prompts
0

Black Butler MCP Server

This MCP server provides tools for interacting with the Ethereum blockchain via Infura.

Features

  • Get ETH balance for any Ethereum address

Setup

  1. Install required dependencies:

    pip install web3 httpx mcp
    
  2. Set up your Infura API key as an environment variable:

    export INFURA_API_KEY="your-infura-api-key"
    

    You can obtain an Infura API key by creating an account at infura.io and creating a new project.

Usage

Start the MCP server:

python main.py

Using the ETH Balance Tool

To get the ETH balance of an address, use:

mcp send 'get_eth_balance(eth_address="0xYourEthereumAddressHere")'

Development

To add more Ethereum-related tools, extend the MCP server in main.py with additional functions using the @mcp.tool decorator.