Skip to main content
Glama

Solana MCP Server

솔라나 MCP(모델 컨텍스트 프로토콜)

솔라나타입스크립트디파이

AI 에이전트가 Solana 블록체인 및 DeFi 프로토콜과 상호 작용할 수 있는 강력한 모델 컨텍스트 프로토콜(MCP) 서버입니다.

🚀 개요

솔라나 MCP는 AI 에이전트(예: Claude, ChatGPT 등)가 솔라나 블록체인에서 DeFi 작업을 수행할 수 있도록 표준화된 인터페이스를 제공합니다. 인공지능과 탈중앙화 금융 간의 간극을 메워 AI 시스템이 다음과 같은 작업을 수행할 수 있도록 지원합니다.

  • 지갑 잔액 및 토큰 보유량 쿼리
  • SOL 및 SPL 토큰 전송
  • 토큰 스왑 실행
  • 실시간 가격 데이터 가져오기
  • 고급 DeFi 작업 수행

Solana Agent Kit 과 Model Context Protocol(MCP)을 기반으로 구축된 이 도구는 자동화된 DeFi 작업을 위한 안전하고 효율적이며 표준화된 인터페이스를 제공합니다.

📋 필수 조건

  • Node.js v22.x 이상
  • npm 또는 yarn 패키지 관리자
  • 솔라나 지갑(키페어)
  • Solana용 RPC 엔드포인트(예: Helius, Alchemy 또는 사용자 노드)

🔧 설치

  1. 이 저장소를 복제하세요:

지엑스피1

  1. 종속성 설치:
npm install
  1. 다음 변수를 사용하여 루트 디렉토리에 .env 파일을 만듭니다.
SOLANA_PRIVATE_KEY=your_private_key_here RPC_URL=your_rpc_url_here OPENAI_API_KEY=optional_if_using_openai

⚠️ 보안 경고 : .env 파일을 커밋하거나 개인 키를 노출하지 마세요. .gitignore 파일에 .env 추가하세요.

  1. 프로젝트를 빌드하세요:
npm run build

🚀 사용법

MCP 서버를 시작합니다.

npm start

성공적으로 시작되면 다음이 표시됩니다.

✅ Connected to Solana 🔗 Using RPC: [your-rpc-endpoint] 👛 Wallet configured: [your-wallet-address] 🚀 Starting Yield AI MCP Server... 📊 Available DeFi actions: 8 ✨ Yield AI MCP Server started. Ready to perform DeFi operations on Solana!

💬 사용 가능한 작업

다음 DeFi 작업은 MCP 서버를 통해 사용 가능합니다.

행동설명
get_wallet현재 지갑 주소를 가져옵니다
check_balance지갑의 SOL 잔액을 확인하세요
transfer_solSOL을 다른 지갑으로 전송하세요
list_tokens지갑에 있는 모든 토큰을 나열하세요
fetch_price토큰의 현재 가격 가져오기
trade_tokens토큰 간 거래 실행
get_tps현재 Solana 네트워크 TPS를 확인하세요
swap_tokens유동성 풀을 통한 토큰 스왑

🔌 AI 모델과의 통합

이 MCP 서버는 모델 컨텍스트 프로토콜(MCP)을 지원하는 AI 모델과 함께 사용하도록 설계되었습니다. 이 서버는 통신에 표준 입출력(SIP)을 사용하므로 다양한 AI 통합 프레임워크와 호환됩니다.

Claude와 함께 사용하는 예:

// Example code for integrating with Claude API // (Placeholder - actual integration depends on your specific AI framework)

🔒 보안 고려 사항

  • 거래를 실행하기 전에 항상 거래를 검토하세요
  • 거래 한도 구현을 고려하세요
  • 적절한 키 관리 관행을 통해 개인 키를 보호하세요
  • 테스트용으로 제한된 자금이 있는 전용 지갑을 사용하세요.
  • 의심스러운 활동을 모니터링하세요

🛠️ 고급 구성

더욱 고급 구성을 위해 다음 파일을 수정할 수 있습니다.

  • src/index.ts : 메인 진입점
  • .env : 환경 구성

📚 리소스

📄 라이센스

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

🤝 기여하기

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

  1. 프로젝트를 포크하다
  2. 기능 브랜치를 생성합니다( git checkout -b feature/amazing-feature )
  3. 변경 사항을 커밋하세요( git commit -m 'Add some amazing feature' )
  4. 브랜치에 푸시( git push origin feature/amazing-feature )
  5. 풀 리퀘스트 열기
-
security - not tested
A
license - permissive license
-
quality - not tested

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.

잔액 확인, 토큰 전송, 스왑 실행, 가격 데이터 가져오기 등의 DeFi 작업을 위해 AI 에이전트가 Solana 블록체인과 상호 작용할 수 있도록 하는 모델 컨텍스트 프로토콜 서버입니다.

  1. 🚀 개요
    1. 📋 필수 조건
      1. 🔧 설치
        1. 🚀 사용법
          1. 💬 사용 가능한 작업
            1. 🔌 AI 모델과의 통합
              1. 🔒 보안 고려 사항
                1. 🛠️ 고급 구성
                  1. 📚 리소스
                    1. 📄 라이센스
                      1. 🤝 기여하기

                        Related MCP Servers

                        • -
                          security
                          A
                          license
                          -
                          quality
                          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.
                          Last updated -
                          219
                          79
                          Apache 2.0
                          • Linux
                          • Apple
                        • -
                          security
                          A
                          license
                          -
                          quality
                          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.
                          Last updated -
                          TypeScript
                          MIT License
                        • A
                          security
                          A
                          license
                          A
                          quality
                          A Model Context Protocol server that enables AI agents to interact with 30+ Ethereum-compatible blockchain networks, providing services like token transfers, contract interactions, and ENS resolution through a unified interface.
                          Last updated -
                          28
                          230
                          252
                          TypeScript
                          MIT License
                        • -
                          security
                          F
                          license
                          -
                          quality
                          A Model Context Protocol server that enables AI assistants to access Flow blockchain data and perform operations such as checking balances, resolving domains, executing scripts, and submitting transactions.
                          Last updated -
                          JavaScript
                          • Linux
                          • Apple

                        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/caiovicentino/Solana-MCP'

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