Skip to main content
Glama

MCP ヘリウス

このリポジトリには、ClaudeがHelius APIを介してSolanaブロックチェーンデータにアクセスできるようにするModel Context Protocol(MCP)サーバーが含まれています。このサーバーにより、Claudeはウォレット残高の確認、ブロックチェーン情報の取得、Solanaブロックチェーン上のトークンやNFTの操作などの操作を実行できます。

概要

MCP サーバーは、Claude に次のツールを公開します。

基本的なブロックチェーン操作

  • helius_get_balance : Solanaウォレットアドレスの残高を取得する

  • helius_get_block_height : Solanaブロックチェーンの現在のブロック高を取得する

  • helius_get_slot : Solanaブロックチェーンの現在のスロットを取得する

  • helius_get_latest_blockhash : Solanaブロックチェーンから最新のブロックハッシュを取得する

  • helius_get_transaction : 署名でトランザクションを取得する

  • helius_get_account_info : Solanaアドレスのアカウント情報を取得する

  • helius_get_signatures_for_address : Solanaアドレスのトランザクション署名を取得する

  • helius_get_multiple_accounts : 複数のSolanaアカウントに関する情報を取得する

  • helius_get_program_accounts : プログラムが所有するすべてのアカウントを取得する

トークン操作

  • helius_get_token_accounts_by_owner : Solanaアドレスが所有するトークンアカウントを取得する

  • helius_get_token_supply : トークンの供給量を取得する

  • helius_get_token_account_balance : トークンアカウントの残高を取得する

  • helius_get_token_accounts : ミントまたは所有者によるトークンアカウントの取得

NFTとデジタル資産

  • helius_get_asset : IDでデジタル資産の詳細を取得する

  • helius_get_rwa_asset : IDで現実世界の資産の詳細を取得する

  • helius_get_asset_batch : IDで複数のアセットの詳細を取得する

  • helius_get_asset_proof : デジタル資産の証明を取得する

  • helius_get_assets_by_group : グループキーと値でアセットを取得する

  • helius_get_assets_by_owner : 特定のアドレスが所有する資産を取得する

  • helius_get_assets_by_creator : 特定のアドレスによって作成されたアセットを取得する

  • helius_get_assets_by_authority : 権限アドレスで資産を取得する

  • helius_search_assets : さまざまなフィルター (ownerAddress、creatorAddress、compressed など) を使用してアセットを検索します。

  • helius_get_signatures_for_asset : アセットに関連付けられた署名を取得する

  • helius_get_nft_editions : マスターエディションのNFTエディションを取得する

ブロックチェーンシステム情報

  • helius_get_minimum_balance_for_rent_exemption : 家賃免除に必要な最低残高を取得する

  • helius_get_inflation_reward : アドレスリストのインフレ報酬を取得する

  • helius_get_epoch_info : 現在のエポックに関する情報を取得する

  • helius_get_epoch_schedule : エポックスケジュールを取得する

  • helius_get_leader_schedule : エポックのリーダースケジュールを取得する

  • helius_get_recent_performance_samples : 最新のパフォーマンスサンプルを取得する

  • helius_get_version : Solanaノードのバージョンを取得する

取引と手数料の方法

  • helius_get_priority_fee_estimate : トランザクションの優先手数料の見積もりを取得する

  • helius_poll_transaction_confirmation : トランザクション確認ステータスのポーリング

  • helius_send_jito_bundle : Jito にトランザクションのバンドルを送信する

  • helius_get_bundle_statuses : Jitoバンドルのステータスを取得する

  • helius_get_fee_for_message : シリアル化されたメッセージの料金を取得する

  • helius_execute_jupiter_swap : Jupiterを使用してトークンスワップを実行する

Related MCP server: Solana Agent Kit MCP Server

前提条件

  • Node.js (v16 以上)

  • Helius API キー ( https://dev.helius.xyz/で取得)

  • クロードデスクトップアプリケーション

インストール

  1. このリポジトリをクローンします:

    git clone https://github.com/dcSpark/mcp-server-helius.git
    cd mcp-server-helius
  2. 依存関係をインストールします:

    npm ci
  3. プロジェクトをビルドします。

    npm run build

構成

Claudeデスクトップの設定

この MCP サーバーを使用するように Claude Desktop を構成するには:

  1. クロードデスクトップを開く

  2. Claude Desktop 構成ファイルに移動します。

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

    • Linux: ~/.config/Claude/claude_desktop_config.json

  3. MCP サーバー構成を追加します。

{
  "mcpServers": {
    "mcp-server-helius": {
      "command": "npx",
      "args": [
        "@dcspark/mcp-server-helius"
      ],
      "env": {
        "HELIUS_API_KEY": "your-helius-api-key"
      }
    }
  }
}

ローカルで実行

HELIUS_API_KEY=your-helius-api-key node build/index.js

npx を使用して直接実行することもできます。

HELIUS_API_KEY=your-helius-api-key npx @dcspark/mcp-server-helius

使用法

設定が完了したら、Claude Desktopを再起動してください。これでClaudeはSolanaブロックチェーンツールにアクセスできるようになります。Claudeに以下の操作を依頼できます。

  1. ウォレットの残高を確認する:

    What's the balance of the Solana wallet address 5YNmS1R9nNSCDzb5a7mMJ1dwK9uHeAAF4CmPEwKgVWr8?
  2. 現在のブロックの高さを取得します。

    What's the current block height on Solana?
  3. NFT に関する情報を入手:

    What NFTs does the wallet address 5YNmS1R9nNSCDzb5a7mMJ1dwK9uHeAAF4CmPEwKgVWr8 own?

Claude は MCP サーバーを使用して、Helius 経由で Solana ブロックチェーンからこの情報を直接取得します。

発達

新しいツールの追加

MCP サーバーに新しいツールを追加するには:

  1. src/tools.tsでツールを定義する

  2. 適切なハンドラーファイルにハンドラー関数を作成する

  3. src/tools.tshandlersオブジェクトにハンドラーを追加します。

建物

npm run build

ライセンス

マサチューセッツ工科大学

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

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/dcSpark/mcp-server-helius'

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