Skip to main content
Glama

MantraChain MCP Server

MantraChain MCP サーバー

MantraChain(Cosmos SDK)ブロックチェーンと連携するためのModel Context Protocol(MCP)サーバー。このサーバーは、トークンの送信、バリデータへの委任、残高照会など、MCPプロトコルを用いた様々な機能を提供するツールを提供します。

特徴

  • トークンを他のアドレスに送信する(銀行送金)
  • バリデーターにトークンを委任する(ステーキング)
  • アカウント残高の照会
  • バリデータ情報を取得する
  • 任意のトランザクションに署名してブロードキャストする
  • 環境変数を介してニーモニックとネットワークを構成する
  • Dukong テストネットとメインネットのどちらかを選択してください
  • stdioとHTTP+SSEトランスポートモードの両方をサポート

利用可能なツール

銀行業務

  • bank-send : トークンを別のアドレスに送信する
  • get-balance : アドレスの残高を取得します(指定されていない場合は、デフォルトで自分のアドレスが使用されます)

ステーキング操作

  • 委任: バリデーターにトークンを委任/ステークする
  • undelegate : バリデーターからトークンの委任/ステークを解除する
  • claim-rewards : 特定のバリデーターの報酬を請求する
  • get-validators : すべてのバリデータを取得する
  • get-delegations : アドレスの現在のステーキング情報を取得する
  • get-available-rewards : アドレスで利用可能なすべての報酬を取得する

ネットワーク運用

  • get-account-info : 現在のアカウント情報を取得する
  • get-block-info : ブロック情報を取得する
  • query-network : チェーンAPIに対して汎用ネットワーククエリを実行する

IBCオペレーション

  • ibc-transfer : IBC転送でトークンを送信する

スマートコントラクト運用

  • Contract-query : 読み取り専用関数を実行してスマートコントラクトをクエリする
  • Contract-execute : スマートコントラクト上で状態を変更する関数を実行する

DEXオペレーション

  • dex-get-pools : DEXから利用可能なすべての流動性プールを取得します。
  • dex-find-routes : 2つのトークン間の利用可能なスワップルートを検索する
  • dex-simulate-swap : トークンスワップをシミュレートして、実行せずに期待される結果を取得します。
  • dex-swap : スリッページ保護付きのDEXでトークンスワップを実行する

トランザクション操作

  • sign-and-broadcast : 一般的なトランザクションに署名してブロードキャストする

利用可能なリソース

  • networks://all : 利用可能なすべてのネットワークとその構成を示す JSON リソース
  • openapi://{networkName} : 指定されたネットワークのOpenAPI/Swagger仕様

サーバーの実行

サーバーは次の 2 つのモードで実行できます。

  1. **標準入出力モード(デフォルト):**標準入出力を介して通信します。サーバーを直接実行する場合、またはnpx経由で実行する場合のデフォルトモードです。
    # Using installed package mantrachain-mcp # Using npx npx -y mantrachain-mcp@latest
  2. **HTTP+SSEモード:**ポート3000でHTTPサーバーを実行し、Server-Sent Events(SSE)経由で通信します。このモードは、 -rフラグまたは専用のnpmスクリプトを使用して有効化できます。
    # Using installed package mantrachain-mcp -r # Using npx export MNEMONIC="YOUR_MNEMONIC" export CUSTOM_NETWORKS="YOUR_CUSTOM_NETWORKS_JSON" npx -y mantrachain-mcp@latest -- -r
    HTTP モードで実行している場合、サーバーは次のものをリッスンします。
    • GET /sse : SSE 接続を確立します。
    • POST /messages?sessionId=<id> : クライアント要求を受信します。

MCP構成

Smithery経由でインストール

Smithery経由で Claude Desktop 用の MantraChain MCP Server を自動的にインストールするには:

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

MCP クライアント アプリケーションと統合するには、サーバー構成を MCP クライアント構成ファイルに追加します。

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

clineでリモート MCP サーバーに接続します:

{ "mcpServers": { "mantrachain-mcp-sse": { "url": "http://localhost:3000/sse", "transportType": "sse" } } }

パッケージをグローバルではなくローカルにビルドする場合

パッケージをビルドしたら、ビルドディレクトリから直接実行できます。your_path your_path実際のビルドディレクトリのパスに置き換えてください。

npm run build

次に、次の構成を使用できます。

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

環境変数

  • MNEMONIC : 必須。ウォレットが使用するニーモニックシードフレーズ。
  • CUSTOM_NETWORKS : オプション。追加のネットワーク構成を含む JSON 文字列。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

モデルコンテキスト プロトコルを通じて MantraChain ブロックチェーンと対話するためのツールを提供するサーバー。ユーザーはトークンを管理したり、資産をステークしたり、残高を照会したり、さまざまなブロックチェーン操作を実行したりできます。

  1. 特徴
    1. 利用可能なツール
      1. 銀行業務
      2. ステーキング操作
      3. ネットワーク運用
      4. IBCオペレーション
      5. スマートコントラクト運用
      6. DEXオペレーション
      7. トランザクション操作
    2. 利用可能なリソース
      1. サーバーの実行
        1. MCP構成
          1. Smithery経由でインストール
          2. MCP クライアント アプリケーションと統合するには、サーバー構成を MCP クライアント構成ファイルに追加します。
          3. clineでリモート MCP サーバーに接続します:
          4. パッケージをグローバルではなくローカルにビルドする場合
        2. 環境変数

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables Claude AI to interact with the Solana blockchain through a standardized interface, providing tools for transactions, account queries, and wallet management.
            Last updated -
            219
            79
            Apache 2.0
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            Leverage SettleMint's Model Context Protocol server to seamlessly interact with enterprise blockchain infrastructure. Build, deploy, and manage smart contracts through AI-powered assistants, streamlining your blockchain development workflow for maximum efficiency.
            Last updated -
            2,752
            14
            TypeScript
          • -
            security
            F
            license
            -
            quality
            A backend service that executes transactions across multiple blockchains, enabling users to manage wallets, transfer tokens, and interact with smart contracts using the Model Context Protocol framework.
            Last updated -
            1
            TypeScript
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that provides onchain tools for Claude AI, allowing it to interact with the Solana blockchain through a standardized interface for operations like managing assets, executing token operations, and retrieving network information.
            Last updated -
            6
            TypeScript

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/allthatjazzleo/mantrachain-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server