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: AMOCA Solana 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.tsのhandlersオブジェクトにハンドラーを追加します。

建物

npm run build

ライセンス

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

Available Tools

38 tools
helius_execute_jupiter_swapB

Execute a token swap using Jupiter

Inputs: inputMint (required), outputMint (required), amount (required), signer (required), +1 more.

helius_get_account_infoC

Get account information for a Solana address

Inputs: publicKey (required), commitment.

helius_get_assetC

Get details of a digital asset by its ID

Inputs: id (required).

helius_get_asset_batchB

Get details of multiple assets by their IDs

Inputs: ids (required).

helius_get_asset_proofC

Get proof for a digital asset

Inputs: id (required).

helius_get_assets_by_authorityC

Get assets by authority address

Inputs: authority (required), page, limit.

helius_get_assets_by_creatorC

Get assets created by a specific address

Inputs: creator (required), page, limit.

helius_get_assets_by_groupC

Get assets by group key and value

Inputs: groupKey (required), groupValue (required), page, limit.

helius_get_assets_by_ownerC

Get assets owned by a specific address

Inputs: owner (required), page, limit.

helius_get_balanceC

Get the balance of a Solana address

Inputs: publicKey (required), commitment.

helius_get_block_heightC

Get the block height of the Solana blockchain

Inputs: commitment.

helius_get_bundle_statusesC

Get statuses of Jito bundles

Inputs: bundleIds (required), jitoApiUrl (required).

helius_get_epoch_infoC

Get information about the current epoch

Inputs: commitment.

helius_get_epoch_scheduleD

Get the epoch schedule

Inputs: commitment.

helius_get_fee_for_messageC

Get the fee for a serialized message

Inputs: message (required), commitment.

helius_get_inflation_rewardC

Get inflation rewards for a list of addresses

Inputs: addresses (required), epoch, commitment.

helius_get_latest_blockhashB

Get the latest blockhash from the Solana blockchain

Inputs: commitment.

helius_get_leader_scheduleC

Get the leader schedule for an epoch

Inputs: slot, commitment.

helius_get_minimum_balance_for_rent_exemptionC

Get the minimum balance required for rent exemption

Inputs: dataSize (required), commitment.

helius_get_multiple_accountsC

Get information about multiple Solana accounts

Inputs: publicKeys (required), commitment.

helius_get_nft_editionsC

Get NFT editions for a master edition

Inputs: masterEditionId (required), page, limit.

helius_get_priority_fee_estimateC

Get priority fee estimate for a transaction

Inputs: accountKeys, options.

helius_get_program_accountsC

Get all accounts owned by a program

Inputs: programId (required), commitment.

helius_get_recent_performance_samplesC

Get recent performance samples

Inputs: limit.

helius_get_rwa_assetC

Get details of a real-world asset by its ID

Inputs: id (required).

helius_get_signatures_for_addressC

Get transaction signatures for a Solana address

Inputs: address (required), limit, before, until, +1 more.

helius_get_signatures_for_assetC

Get signatures associated with an asset

Inputs: id (required), page, limit.

helius_get_slotA

Get the current slot of the Solana blockchain

Inputs: commitment.

helius_get_token_account_balanceC

Get the balance of a token account

Inputs: tokenAddress (required), commitment.

helius_get_token_accountsC

Get token accounts by mint or owner

Inputs: mint, owner, page, limit.

helius_get_token_accounts_by_ownerC

Get token accounts owned by a Solana address

Inputs: publicKey (required), programId (required).

helius_get_token_largest_accountsC

Get the largest token accounts for a specific token mint

Inputs: tokenAddress (required), commitment.

helius_get_token_supplyC

Get the supply of a token

Inputs: tokenAddress (required).

helius_get_transactionC

Get a transaction by its signature

Inputs: signature (required), commitment.

helius_get_versionA

Get the version of the Solana node

Inputs: no named parameters.

helius_poll_transaction_confirmationC

Poll for transaction confirmation status

Inputs: signature (required), timeout, interval.

helius_search_assetsC

Search for assets using various filters

Inputs: page, limit, cursor, before, +11 more.

helius_send_jito_bundleC

Send a bundle of transactions to Jito

Inputs: serializedTransactions (required), jitoApiUrl (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 38 tools

    Disambiguation4/5

    Most tools target distinct resources (assets, tokens, accounts, transactions, etc.) with clear parameters. However, pairs like 'get_token_accounts' and 'get_token_accounts_by_owner' could cause mild confusion as they overlap in functionality, though descriptions likely clarify.

    Naming Consistency5/5

    All tools follow a consistent 'helius_verb_noun' pattern in snake_case. Verbs are 'get' for queries, with 'execute', 'send', and 'poll' for actions, maintaining uniformity without mixing conventions.

    Tool Count2/5

    38 tools is significantly above the typical 3–15 range for a well-scoped server. While the domain of Solana blockchain is broad, this count feels heavy and could overwhelm an agent, suggesting possible over-fragmentation.

    Completeness3/5

    The server covers a wide range of read operations (assets, tokens, accounts, transactions) and some actions (swap, bundle send). However, a notable gap is the lack of a tool for sending a single regular transaction, which is a basic operation for the domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      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.
      28 npm
      167
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI models to interact with the Solana blockchain, providing RPC methods, wallet management, DeFi trading capabilities, and Helius API integration for enhanced Solana development.
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      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.
      7
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables Claude AI to interact with the Solana blockchain, allowing it to execute transactions, query accounts, manage wallets, get price predictions, trade tokens, and access various blockchain data sources.
      4
      -