- Mantrachain Mcp
Mantrachain Mcp
What is MantraChain MCP?
MantraChain MCP is a Model Context Protocol (MCP) server designed for interacting with the MantraChain blockchain, built on the Cosmos SDK. It provides a suite of tools for managing tokens, delegating to validators, and querying blockchain data.
How to use MantraChain MCP?
To use the MantraChain MCP, configure your environment with the required mnemonic and network settings, then run the server using the provided command. You can interact with the server through various operations such as sending tokens and querying balances.
Key features of MantraChain MCP?
- Send tokens to other addresses (bank send)
- Delegate tokens to validators (staking)
- Query account balances and validator information
- Sign and broadcast transactions
- Support for IBC transfers and smart contract operations
- Access to DEX operations for token swaps
Use cases of MantraChain MCP?
- Managing token transfers and balances on the MantraChain blockchain.
- Staking tokens to earn rewards through validator delegation.
- Executing smart contracts and interacting with decentralized exchanges.
FAQ from MantraChain MCP?
- What is the purpose of the MCP server?
The MCP server facilitates interactions with the MantraChain blockchain, allowing users to manage tokens and perform various blockchain operations.
- How do I configure the server?
You need to set the MNEMONIC and CUSTOM_NETWORKS environment variables to configure the server for your wallet and network settings.
- Is there support for multiple networks?
Yes, you can configure the server to work with different networks by specifying the appropriate settings in the CUSTOM_NETWORKS variable.
Server Config
{
"mcpServers": {
"mantrachain-mcp": {
"command": "npx",
"args": [
"-y",
"mantrachain-mcp@latest"
],
"env": {
"MNEMONIC": "YOUR_MNEMONIC",
"CUSTOM_NETWORKS": "{\"rpcEndpoint\":\"https://my-rpc-endpoint.example.com\",\"chainId\":\"my-chain-1\",\"prefix\":\"mychain\",\"denom\":\"utoken\",\"gasPrice\":\"0.01\",\"isMainnet\":false,\"displayDenom\":\"token\",\"displayDenomExponent\":6,\"explorerUrl\":\"https://explorer.example.com\"}"
}
}
}
}