approve_token_spending
Approve another address (like a DeFi protocol or exchange) to spend your ERC20 tokens. This is often required before interacting with DeFi protocols.
Move, stake and swap on MANTRA from a chat client, with the same mnemonic signing Cosmos messages and EVM transactions.
LABSCO SUMMARY
The read tools default to your own address when none is passed, which is convenient and also a standing reminder that the server always knows whose keys it holds. The DEX path is the one place the descriptions enforce an order: dex-find-routes, dex-simulate-swap and dex-swap each state that pools must be checked with dex-get-pools first, and the simulate step exists so the expected outcome is known before slippage is committed. query-network is the intentional escape hatch, and it is honest about the cost of that — it will execute any gRPC-gateway path, and tells you to read the openapi specification at openapi://{networkName} before calling it, which means the tool list is a floor on what this can reach rather than a ceiling.
A MANTRA chain client covering the Cosmos side — bank, staking, IBC, CosmWasm and generic gRPC-gateway queries — and the EVM side — contract read, write and deploy, plus ERC20, ERC721 and ERC1155 transfers — from a single mnemonic.
A mnemonic phrase for the account that will sign, supplied as MNEMONIC — get_address_from_mnemonic derives the EVM address from it. CUSTOM_NETWORKS is also read from the environment, and every tool takes a networkName.
One command — npx -y mantrachain-mcp@latest
USE CASES
Check what an address holds, work out what the transfer will cost, and send it — including several coins in one transaction. The same mnemonic signs on both sides of the chain, so an EVM transfer is the same conversation as a Cosmos one.
Read the validator set, delegate to one, then come back later to see what has accrued and claim it. Unstaking runs through the same path.
Confirm both tokens are actually in a pool, find the routes between them, simulate the swap to see what comes out the other side, and only then execute it. The tool descriptions insist on the pool check first, so the order is not optional.
Read from a CosmWasm or EVM contract without spending gas, then call the state-changing function when you are ready. Deploying a new EVM contract returns both the transaction hash and the deployed address.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
approve_token_spendingApprove another address (like a DeFi protocol or exchange) to spend your ERC20 tokens. This is often required before interacting with DeFi protocols.
bank-sendSend tokens to another address. Supports sending multiple coins in one transaction.
check_nft_ownershipCheck if an address owns a specific NFT
claim-rewardsClaim rewards for a specific validator
cosmwasm-contract-executeExecute a function on a cosmwasm contract that changes state
cosmwasm-contract-queryQuery a smart cosmwasm contract by executing a read-only function
delegateDelegate/Stake tokens to a validator
deploy_evm_contractDeploy a new evm contract to the blockchain. This creates a new contract instance and returns both the deployment transaction hash and the deployed contract address.
dex-find-routesFind available swap routes between two tokens - must first check two tokens are available in the DEX pools by using dex-get-pools
dex-get-poolsGet all available liquidity pools from the DEX
dex-simulate-swapSimulate a token swap to get expected outcome without executing it - must first check two tokens are available in the DEX pools by using dex-get-pools
dex-swapExecute a token swap on the DEX - must first check two tokens are available in the DEX pools by using dex-get-pools
estimate_gasEstimate the gas cost for a transaction
get_address_from_mnemonicGet the EVM address derived from a mnemonic phrase
get_erc1155_balanceGet the balance of a specific ERC1155 token ID owned by an address. ERC1155 allows multiple tokens of the same ID, so the balance can be greater than 1.
get_erc1155_token_uriGet the metadata URI for an ERC1155 token (multi-token standard used for both fungible and non-fungible tokens). The URI typically points to JSON metadata about the token.
get_erc20_token_infoGet comprehensive information about an ERC20 token including name, symbol, decimals, total supply, and other metadata. Use this to analyze any token on EVM chains.
get_evm_balanceGet the native token balance (OM) for an address (defaults to your own address if none provided)
get_nft_balanceGet the total number of ERC721 NFTs owned by an address from a specific collection. This returns the count of NFTs, not individual token IDs.
get_nft_infoGet detailed information about a specific NFT (ERC721 token), including collection name, symbol, token URI, and current owner if available.
get_token_balanceGet the balance of an ERC20 token for an address
get_transactionGet detailed information about a specific evm transaction by its hash. Includes sender, recipient, value, data, and more.
get_transaction_receiptGet a evm transaction receipt by its hash
get-account-infoGet current account information
get-available-rewardsGet all available rewards for an address
get-balanceGet balance of an address (defaults to your own address if none provided)
get-block-infoGet block information from cometbft rpc
get-block-info-evmGet a block information from EVM rpc
get-delegationsGet current staking information for an address
get-validatorsGet all validators
ibc-transferSend tokens via IBC transfer.
is_contractCheck if an address is a smart contract or an externally owned account (EOA)
query-networkExecute a generic network gRPC Gateway query against chain APIs when you cannot find the required information from other tools. You MUST first check the available query/service by reading the openapi specification from the resource openapi://{networkName} to understand available query/service, methods, required parameters and body structure.
read_evm_contractRead data from a evm contract by calling a view/pure function. This doesn't modify blockchain state and doesn't require gas or signing.
sign-and-broadcastSign and broadcast a generic cosmos-sdk transaction
transfer_erc1155Transfer ERC1155 tokens to another address. ERC1155 is a multi-token standard that can represent both fungible and non-fungible tokens in a single contract.
transfer_erc20Transfer ERC20 tokens to another address
transfer_nftTransfer an NFT (ERC721 token) from one address to another. Requires the private key of the current owner for signing the transaction.
transfer_omTransfer native tokens (OM) to an address via EVM
transfer_tokenTransfer ERC20 tokens to an address
undelegateUndelegate/Unstake tokens from a validator
write_evm_contractWrite data to a evm contract by calling a state-changing function. This modifies blockchain state and requires gas payment and transaction signing.
BEFORE YOU INSTALL
42 tools when we connected.
CONTEXT COST
Rated by the size of the 42 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"mantrachain-mcp": {
"command": "npx",
"args": [
"-y",
"mantrachain-mcp@latest"
],
"env": {
"MNEMONIC": "<YOUR_MNEMONIC>",
"CUSTOM_NETWORKS": "{\"my-custom-net\":{\"rpcEndpoint\":\"https://rpc.custom-network.io\",\"apiEndpoint\":\"https://api.custom-network.io\",\"chainId\":\"my-custom-net-1\",\"prefix\":\"custom\",\"denom\":\"ucustom\",\"gasPrice\":\"0.01\",\"isMainnet\":false}}"
}
}
}
}npx -y mantrachain-mcp@latest