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-address
Generate 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-address
Validate Ethereum address validity
Parameters:
address
: Ethereum address to validate4byte
Get function signatures for the given selector
Parameters:
selector
: 4-byte function selector (hexadecimal)Example:
*Configuration content*
4byte-decode
Decode ABI-encoded calldata
Parameters:
calldata
: ABI-encoded calldata (hexadecimal)Example:
*Configuration content*
abi-encode
ABI encode function parameters
Parameters:
types
: Parameter types arrayvalues
: Parameter values arrayExample:
*Configuration content*
abi-encode-with-signature
Complete function call ABI encoding (with function selector)
Parameters:
functionSignature
: Function signaturevalues
: Parameter values arrayExample:
*Configuration content*
abi-decode
Decode ABI-encoded data
Parameters:
types
: Parameter types arraydata
: Hexadecimal data to decodeExample:
*Configuration content*
list-chains
List all supported EVM-compatible chains
Parameters: None
get-balance
Query 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-call
Make 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-transaction
Send 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