MCPChain logo

MCPChain

by Deeptanshu-sankhwar

MCPChain brings the Model Context Protocol to Web3. It anchors agent tools, trust registries, and attestable executions on-chain.

View on GitHub

Last updated: N/A

MCPChain

MCPChain brings the Model Context Protocol to Web3 by anchoring agent tools, trust registries, and attestable executions on-chain.

Start the chain

cd mcpchain
ignite chain build

[Optional] Delete Previous Chain State (Safe Dev Reset)

rm -rf ~/.mcpchain

Init Chain

mcpchaind init validator --chain-id mcpchain

Create Key

mcpchaind keys add validator

Replace "stake" with "umcp" in genesis.json

sed -i '' 's/"stake"/"umcp"/g' ~/.mcpchain/config/genesis.json

Add Funds

mcpchaind genesis add-genesis-account $(mcpchaind keys show validator -a) 1000000000umcp

Generate gentx using updated denom

mcpchaind genesis gentx validator 500000000umcp --chain-id mcpchain

Collect and validate

mcpchaind genesis collect-gentxs
mcpchaind genesis validate

Start the chain with a minimum gas price

mcpchaind start --minimum-gas-prices=0.001umcp