MCPChain

by Deeptanshu-sankhwar

300 downloads
Not rated
GitHub

About

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

Details

Author
Deeptanshu-sankhwar
Downloads
300
Categories
Other

- Brings MCP to Web3
- Anchors agent tools on-chain
- Manages trust registries on-chain
- Enables attestable executions on-chain
- Uses custom denom umcp instead of stake

Build and run the chain locally using Ignite CLI. Follow the steps: ignite chain build, initialize with mcpchaind init, create a key, edit genesis.json to replace "stake" with "umcp", add funds, generate and collect a gentx, validate the genesis, then start the chain with --minimum-gas-prices=0.001umcp.

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
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.