Cover image
Try Now
2025-04-08

mantrachain mcp

3 years

Works with Finder

1

Github Watches

0

Github Forks

2

Github Stars

MantraChain MCP Server

smithery badge

A Model Context Protocol (MCP) server for interacting with MantraChain (Cosmos SDK) blockchain. This server provides tools for sending tokens, delegating to validators, querying balances, and more using the MCP protocol.

Features

  • Send tokens to other addresses (bank send)
  • Delegate tokens to validators (staking)
  • Query account balances
  • Get validator information
  • Sign and broadcast arbitrary transactions
  • Configure mnemonic and network via environment variables
  • Choose between Dukong testnet and Mainnet

Available Tools

Bank Operations

  • bank-send: Send tokens to another address
  • get-balance: Get balance of an address (defaults to your own address if none provided)

Staking Operations

  • delegate: Delegate/Stake tokens to a validator
  • undelegate: Undelegate/Unstake tokens from a validator
  • claim-rewards: Claim rewards for a specific validator
  • get-validators: Get all validators
  • get-delegations: Get current staking information for an address
  • get-available-rewards: Get all available rewards for an address

Network Operations

  • get-account-info: Get current account information
  • get-block-info: Get block information
  • query-network: Execute a generic network query against chain APIs

IBC Operations

  • ibc-transfer: Send tokens via IBC transfer

Smart Contract Operations

  • contract-query: Query a smart contract by executing a read-only function
  • contract-execute: Execute a function on a smart contract that changes state

DEX Operations

  • dex-get-pools: Get all available liquidity pools from the DEX
  • dex-find-routes: Find available swap routes between two tokens
  • dex-simulate-swap: Simulate a token swap to get expected outcome without executing it
  • dex-swap: Execute a token swap on the DEX with slippage protection

Transaction Operations

  • sign-and-broadcast: Sign and broadcast a generic transaction

Available Resources

  • networks://all: JSON resource showing all available networks with their configuration
  • openapi://{networkName}: OpenAPI/Swagger specification for the specified network

MCP Configuration

Installing via Smithery

To install MantraChain MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @allthatjazzleo/mantrachain-mcp --client claude

To integrate with MCP client applications, add the server configuration to your MCP client configuration file:

{
  "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}}"
      }
    }
  }
}

If you build the package locally instead of globally

After building the package, you can run it directly from the build directory. Make sure to replace your_path with the actual path to your build directory.

npm run build

Then, you can use the following configuration:

{
  "mcpServers": {
    "mantrachain-mcp": {
      "command": "node",
      "args": [
        "your_path/mantrachain-mcp/build/index.js"
      ],
      "env": {
        "MNEMONIC": "YOUR_MNEMONIC"
      }
    }
  }
}

Environment Variables

  • MNEMONIC: Required. The mnemonic seed phrase for the wallet to use.
  • CUSTOM_NETWORKS: Optional. JSON string containing additional network configurations.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

  • ravitemer
  • A powerful Neovim plugin for managing MCP (Model Context Protocol) servers

  • patruff
  • Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools

  • pontusab
  • The Cursor & Windsurf community, find rules and MCPs

  • JackKuo666
  • 🔍 Enabling AI assistants to search and access PyPI package information through a simple MCP interface.

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

    Reviews

    2 (1)
    Avatar
    user_T8IV1ufl
    2025-04-18

    I've been using mantrachain-mcp for a while now, and it has truly revolutionized my workflow. Developed by allthatjazzleo, this tool is robust and efficient, seamlessly integrating with my current systems. Its documentation on GitHub is clear and comprehensive, making it easy for new users to get started quickly. Highly recommend!