MCP Helius

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Used as the runtime environment for the MCP server, allowing it to execute JavaScript code that interfaces with the Helius API and provides blockchain data to Claude.

  • Provides comprehensive access to Solana blockchain data via the Helius API, enabling operations such as checking wallet balances, fetching blockchain information, interacting with tokens and NFTs, retrieving transaction data, and executing token swaps.

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 : 현재 epoch에 대한 정보를 가져옵니다.
  • helius_get_epoch_schedule : epoch 일정을 가져옵니다.
  • 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를 사용하여 토큰 스왑을 실행합니다.

필수 조건

  • Node.js(v16 이상)
  • Helius API 키( https://dev.helius.xyz/ 에서 받으세요)
  • 클로드 데스크톱 애플리케이션

설치

  1. 이 저장소를 복제하세요:지엑스피1
  2. 종속성 설치:
    npm ci
  3. 프로젝트를 빌드하세요:
    npm run build

구성

Claude Desktop 구성

이 MCP 서버를 사용하도록 Claude Desktop을 구성하려면:

  1. 클로드 데스크톱 열기
  2. Claude Desktop 구성 파일로 이동합니다.
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • 리눅스: ~/.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는 Helius를 통해 Solana 블록체인에서 직접 이 정보를 가져오기 위해 MCP 서버를 사용합니다.

개발

새로운 도구 추가

MCP 서버에 새로운 도구를 추가하려면:

  1. src/tools.ts 에 도구를 정의하세요
  2. 적절한 핸들러 파일에 핸들러 함수를 생성합니다.
  3. src/tools.tshandlers 객체에 핸들러를 추가합니다.

건물

npm run build

특허

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

Helius API를 통해 Claude가 Solana 블록체인 데이터에 포괄적으로 액세스할 수 있도록 하는 모델 컨텍스트 프로토콜 서버로, 지갑 잔액 확인, 블록체인 정보 검색, 토큰 및 NFT와의 상호 작용과 같은 작업을 수행할 수 있습니다.

  1. Overview
    1. Basic Blockchain Operations
    2. Token Operations
    3. NFT and Digital Assets
    4. Blockchain System Information
    5. Transaction and Fee Methods
  2. Prerequisites
    1. Installation
      1. Configuration
        1. Configure Claude Desktop
        2. Running Locally
      2. Usage
        1. Development
          1. Adding New Tools
          2. Building
        2. License
          ID: tttxe2rt1w