MCP Heliusのロゴ

MCP Helius

組織
dcSpark

This repository contains a Model Context Protocol (MCP) server that provides Claude with access to Solana blockchain data via the Helius API. The server enables Claude to perform operations like…

公開者dcSpark
リポジトリmcp-server-helius
言語TypeScript
フォーク
12
スター
14
利用可能なツール
38
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    MCP Heliusは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 38個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには14件のスターと12件のフォークがあります。

MCP Helius

This repository contains a Model Context Protocol (MCP) server that provides Claude with access to Solana blockchain data via the Helius API. The server enables Claude to perform operations like checking wallet balances, getting blockchain information, and interacting with tokens and NFTs on the Solana blockchain.

Overview

The MCP server exposes the following tools to Claude:

Basic Blockchain Operations

  • helius_get_balance: Get the balance of a Solana wallet address
  • helius_get_block_height: Get the current block height of the Solana blockchain
  • helius_get_slot: Get the current slot of the Solana blockchain
  • helius_get_latest_blockhash: Get the latest blockhash from the Solana blockchain
  • helius_get_transaction: Get a transaction by its signature
  • helius_get_account_info: Get account information for a Solana address
  • helius_get_signatures_for_address: Get transaction signatures for a Solana address
  • helius_get_multiple_accounts: Get information about multiple Solana accounts
  • helius_get_program_accounts: Get all accounts owned by a program

Token Operations

  • helius_get_token_accounts_by_owner: Get token accounts owned by a Solana address
  • helius_get_token_supply: Get the supply of a token
  • helius_get_token_account_balance: Get the balance of a token account
  • helius_get_token_accounts: Get token accounts by mint or owner

NFT and Digital Assets

  • helius_get_asset: Get details of a digital asset by its ID
  • helius_get_rwa_asset: Get details of a real-world asset by its ID
  • helius_get_asset_batch: Get details of multiple assets by their IDs
  • helius_get_asset_proof: Get proof for a digital asset
  • helius_get_assets_by_group: Get assets by group key and value
  • helius_get_assets_by_owner: Get assets owned by a specific address
  • helius_get_assets_by_creator: Get assets created by a specific address
  • helius_get_assets_by_authority: Get assets by authority address
  • helius_search_assets: Search for assets using various filters (ownerAddress, creatorAddress, compressed, etc.)
  • helius_get_signatures_for_asset: Get signatures associated with an asset
  • helius_get_nft_editions: Get NFT editions for a master edition

Blockchain System Information

  • helius_get_minimum_balance_for_rent_exemption: Get the minimum balance required for rent exemption
  • helius_get_inflation_reward: Get inflation rewards for a list of addresses
  • helius_get_epoch_info: Get information about the current epoch
  • helius_get_epoch_schedule: Get the epoch schedule
  • helius_get_leader_schedule: Get the leader schedule for an epoch
  • helius_get_recent_performance_samples: Get recent performance samples
  • helius_get_version: Get the version of the Solana node

Transaction and Fee Methods

  • helius_get_priority_fee_estimate: Get priority fee estimate for a transaction
  • helius_poll_transaction_confirmation: Poll for transaction confirmation status
  • helius_send_jito_bundle: Send a bundle of transactions to Jito
  • helius_get_bundle_statuses: Get statuses of Jito bundles
  • helius_get_fee_for_message: Get the fee for a serialized message
  • helius_execute_jupiter_swap: Execute a token swap using Jupiter

Prerequisites

Installation

  1. Clone this repository:

    bash
    git clone https://github.com/dcSpark/mcp-server-helius.git
    cd mcp-server-helius
  2. Install dependencies:

    bash
    npm ci
  3. Build the project:

    bash
    npm run build

Configuration

Configure Claude Desktop

To configure Claude Desktop to use this MCP server:

  1. Open Claude Desktop

  2. Navigate to the Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  3. Add the MCP server configuration:

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

Running Locally

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

You can also run directly using npx:

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

Usage

Once configured, restart Claude Desktop. Claude will now have access to the Solana blockchain tools. You can ask Claude to:

  1. Check a wallet balance:

    What's the balance of the Solana wallet address 5YNmS1R9nNSCDzb5a7mMJ1dwK9uHeAAF4CmPEwKgVWr8?
  2. Get the current block height:

    What's the current block height on Solana?
  3. Get information about NFTs:

    What NFTs does the wallet address 5YNmS1R9nNSCDzb5a7mMJ1dwK9uHeAAF4CmPEwKgVWr8 own?

Claude will use the MCP server to fetch this information directly from the Solana blockchain via Helius.

Development

Adding New Tools

To add new tools to the MCP server:

  1. Define the tool in src/tools.ts
  2. Create a handler function in the appropriate handler file
  3. Add the handler to the handlers object in src/tools.ts

Building

bash
npm run build

License

MIT

インストール

TypingMind
{
  "mcpServers": {
    "mcp-server-helius": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-dockmaster/mcp-server-helius"
      ],
      "env": {
        "HELIUS_API_KEY": "<HELIUS_API_KEY>"
      }
    }
  }
}

利用可能なツール

  • helius_get_balance

    Get the balance of a Solana address

  • helius_get_block_height

    Get the block height of the Solana blockchain

  • helius_get_token_accounts_by_owner

    Get token accounts owned by a Solana address

  • helius_get_token_supply

    Get the supply of a token

  • helius_get_token_largest_accounts

    Get the largest token accounts for a specific token mint

  • helius_get_latest_blockhash

    Get the latest blockhash from the Solana blockchain

  • helius_get_token_account_balance

    Get the balance of a token account

  • helius_get_slot

    Get the current slot of the Solana blockchain

  • helius_get_transaction

    Get a transaction by its signature

  • helius_get_account_info

    Get account information for a Solana address

  • helius_get_program_accounts

    Get all accounts owned by a program

  • helius_get_signatures_for_address

    Get transaction signatures for a Solana address

  • helius_get_minimum_balance_for_rent_exemption

    Get the minimum balance required for rent exemption

  • helius_get_multiple_accounts

    Get information about multiple Solana accounts

  • helius_get_inflation_reward

    Get inflation rewards for a list of addresses

  • helius_get_epoch_info

    Get information about the current epoch

  • helius_get_epoch_schedule

    Get the epoch schedule

  • helius_get_leader_schedule

    Get the leader schedule for an epoch

  • helius_get_recent_performance_samples

    Get recent performance samples

  • helius_get_version

    Get the version of the Solana node

  • helius_get_asset

    Get details of a digital asset by its ID

  • helius_get_rwa_asset

    Get details of a real-world asset by its ID

  • helius_get_asset_batch

    Get details of multiple assets by their IDs

  • helius_get_asset_proof

    Get proof for a digital asset

  • helius_get_assets_by_group

    Get assets by group key and value

  • helius_get_assets_by_owner

    Get assets owned by a specific address

  • helius_get_assets_by_creator

    Get assets created by a specific address

  • helius_get_assets_by_authority

    Get assets by authority address

  • helius_search_assets

    Search for assets using various filters

  • helius_get_signatures_for_asset

    Get signatures associated with an asset

  • helius_get_nft_editions

    Get NFT editions for a master edition

  • helius_get_token_accounts

    Get token accounts by mint or owner

  • helius_get_priority_fee_estimate

    Get priority fee estimate for a transaction

  • helius_poll_transaction_confirmation

    Poll for transaction confirmation status

  • helius_send_jito_bundle

    Send a bundle of transactions to Jito

  • helius_get_bundle_statuses

    Get statuses of Jito bundles

  • helius_get_fee_for_message

    Get the fee for a serialized message

  • helius_execute_jupiter_swap

    Execute a token swap using Jupiter

MCP HeliusのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度MCP Heliusに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

MCP Heliusをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. MCP HeliusのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "mcp-server-helius": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-dockmaster/mcp-server-helius"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMCP HeliusのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. MCP HeliusのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
MCP Heliusを使ってこのタスクを手伝ってもらえますか?
MCP Helius
はい、読みました。
MCP Heliusで調べた結果をお伝えします。

よくある質問

MCP Helius MCPサーバーは何に使いますか?

MCP Heliusは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでMCP Helius MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMCP Heliusを利用できます。

TypingMindでMCP Helius MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。MCP Heliusを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

MCP Helius MCPをTypingMindに接続するにはどうすればよいですか?

MCP HeliusはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでMCP Helius MCPのどのようなツールを利用できますか?

MCP Heliusは38個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

MCP Helius MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。MCP Heliusで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇