DM

dcspark/mcp-server-helius

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

14 stars 11 forks 质量 65 趋势 20MIT

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

概览

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. The MCP server exposes the following tools to Claude: - 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...

README

以下为原文 README 节选,完整内容请查看原文。

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
在 GitHub 查看完整 README

安装

npx -y @mcp-dockmaster/mcp-server-helius
新手?先看 mcpskill.org 教程 →

配置

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