Skip to main content
Glama

solana-mcp-server

by aldrin-labs

솔라나 MCP 서버

Cline을 통해 Solana 블록체인 데이터에 대한 포괄적인 접근을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 다양한 Solana RPC 메서드를 구현하여 자연어 대화를 통해 블록체인 정보를 직접 쉽게 쿼리할 수 있도록 합니다.

특징

서버는 다양한 카테고리에 걸쳐 21개의 필수 Solana RPC 메서드를 제공합니다.

계정 및 잔액 작업

  • get_sol_balance : 주소에 대한 SOL 잔액을 가져옵니다.
  • get_token_balance : SPL 토큰 잔액을 가져옵니다.
  • get_account_info : 계정 정보 가져오기
  • get_largest_accounts : 네트워크에서 가장 큰 계정을 가져옵니다.

블록 및 거래 정보

  • get_slot : 현재 슬롯을 가져옵니다
  • get_block : 블록 정보 가져오기
  • get_block_time : 블록 생성 시간 가져오기
  • get_transaction : 거래 세부 정보 가져오기
  • get_recent_blockhash : 최근 블록해시 가져오기

토큰 운영

  • get_token_accounts_by_owner : 소유자별 토큰 계정 가져오기
  • get_token_accounts_by_delegate : 위임된 토큰 계정 가져오기
  • get_token_supply : 토큰 공급 정보 가져오기

시스템 정보

  • get_epoch_info : 현재 epoch 정보를 가져옵니다.
  • get_version : 노드 버전 가져오기
  • get_health : 노드 상태 가져오기
  • get_supply : 현재 공급량 가져오기
  • get_inflation_rate : 인플레이션율 가져오기
  • get_cluster_nodes : 클러스터 노드 정보 가져오기
  • get_minimum_balance_for_rent_exemption : 최소 임대료 면제 잔액을 가져옵니다.

스테이킹 및 거버넌스

  • get_vote_accounts : 투표 계정 가져오기
  • get_leader_schedule : 리더 일정 가져오기

클라인에서의 설정

  1. Cline MCP 설정 파일에 다음 구성을 추가합니다(macOS에서는 ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json ):

지엑스피1

  1. 새로운 MCP 서버를 로드하려면 Cline을 다시 시작하세요.

사용 예

설정이 완료되면 Cline에서 자연어를 통해 Solana 블록체인과 상호 작용할 수 있습니다. 다음은 몇 가지 쿼리 예시입니다.

  • "주소 Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr의 SOL 잔액은 얼마입니까?"
  • "현재 슬롯 번호를 보여주세요"
  • "최신 블록에 대한 정보를 얻으세요"
  • "현재 인플레이션율은 얼마입니까?"
  • "주소가 소유한 토큰 계정을 보여주세요..."

환경 변수

개발

필수 조건

  • 녹과 화물
  • Solana CLI 도구(선택 사항, 테스트용)

건물

cargo build

달리기

cargo run

특허

MIT 라이센스

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Solana 첫 번째 버전과 관련된 실제 작업을 수행할 수 있는 MCP 서버는 RPC 메서드와 이를 호출하는 방법에 대한 지식을 추가합니다.

  1. 특징
    1. 계정 및 잔액 작업
    2. 블록 및 거래 정보
    3. 토큰 운영
    4. 시스템 정보
    5. 스테이킹 및 거버넌스
  2. 클라인에서의 설정
    1. 사용 예
      1. 환경 변수
        1. 개발
          1. 필수 조건
          2. 건물
          3. 달리기
        2. 특허

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An MCP server to run commands.
            Last updated -
            2
            795
            181
            TypeScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A server that enables interaction with the Solana blockchain, providing access to over 40 Solana RPC methods including getting balances, transaction details, block information, and sending transactions.
            Last updated -
            3
            Python
            MIT License
            • Apple
          • A
            security
            F
            license
            A
            quality
            A server that provides simple RPC endpoints for common Solana blockchain operations, allowing users to check balances, get account information, and transfer SOL between accounts.
            Last updated -
            5
            1
            TypeScript

          View all related MCP servers

          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/aldrin-labs/solana-mcp-server'

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