by lienhage
A Model Context Protocol (MCP) based blockchain tools server providing Ethereum vanity address generation and Cast command functionality.
npm install
npm run build
npm start
npm run dev
generate-vanity-addressGenerate Ethereum addresses matching specified conditions
Parameters:
prefix (optional): Address prefix, excluding 0xsuffix (optional): Address suffixworkers (optional): Number of concurrent threads, default 4, max 16caseSensitive (optional): Whether case-sensitive, default falseExample:
*Configuration content*
validate-ethereum-addressValidate Ethereum address validity
Parameters:
address: Ethereum address to validate4byteGet function signatures for the given selector
Parameters:
selector: 4-byte function selector (hexadecimal)Example:
*Configuration content*
4byte-decodeDecode ABI-encoded calldata
Parameters:
calldata: ABI-encoded calldata (hexadecimal)Example:
*Configuration content*
abi-encodeABI encode function parameters
Parameters:
types: Parameter types arrayvalues: Parameter values arrayExample:
*Configuration content*
abi-encode-with-signatureComplete function call ABI encoding (with function selector)
Parameters:
functionSignature: Function signaturevalues: Parameter values arrayExample:
*Configuration content*
abi-decodeDecode ABI-encoded data
Parameters:
types: Parameter types arraydata: Hexadecimal data to decodeExample:
*Configuration content*
list-chainsList all supported EVM-compatible chains
Parameters: None
get-balanceQuery address balance on specified chain
Parameters:
chain: Chain identifier (e.g., "ethereum", "polygon", "bsc")address: Address to queryblockTag (optional): Block tag, default "latest"Example:
*Configuration content*
static-callMake static calls to smart contracts (read-only operations)
Parameters:
chain: Chain identifierto: Contract addressdata: ABI-encoded function call datablockTag (optional): Block tag, default "latest"Example:
*Configuration content*
send-transactionSend transactions to smart contracts (requires private key)
Parameters:
chain: Chain identifierto: Contract addressdata: ABI-encoded function call datavalue (optional): ETH amount to send (wei)gasLimit (optional): Gas limitgasPrice (optional): Gas price (wei)privateKey: Sender's private keyExample:
*Configuration content*
All networks use public RPC endpoints to ensure stability and accessibility.
ā ļø Important Notes:
You can install this MCP server globally:
npm install -g blockchain-mcp-server
Or use it with npx:
npx blockchain-mcp-server
Add to your MCP client configuration:
*Configuration content*
MIT License
No version information available