Solana MCP Server
solana-mcp-server
완벽한 Solana 블록체인 MCP 서버. 지갑 관리, SPL 토큰 작업, DeFi, 스테이킹 및 네트워크 쿼리를 위한 25개의 도구를 제공합니다. @solana/web3.js 및 @solana/spl-token을 기반으로 구축되었으며 Anchor를 지원합니다.
가장 활발하게 유지 관리되는 Solana MCP입니다. 경쟁 도구들이 생략하는 전체 SPL 토큰 수명 주기(생성, 발행, 소각, 동결, 동결 해제, 위임, 권한 관리)를 다룹니다.
설치
npx solana-mcp-server또는 전역으로 설치:
npm install -g solana-mcp-server
solana-mcp-serverRelated MCP server: SolanaBot
구성
MCP 구성(claude_desktop_config.json 또는 ~/.mcp.json)에 추가하세요:
{
"mcpServers": {
"solana": {
"command": "npx",
"args": ["-y", "solana-mcp-server"],
"env": {
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
}
}
}
}도구 (25)
지갑 관리 (4)
도구 | 설명 | 주요 매개변수 |
| 새로운 Solana 키페어 생성 (메모리 전용) | -- |
| base58로 인코딩된 개인 키에서 가져오기 |
|
| 현재 세션의 모든 지갑 나열 | -- |
| 모든 주소의 SOL 잔액 조회 |
|
SPL 토큰 작업 (10)
도구 | 설명 | 주요 매개변수 |
| 사용자 지정 소수점 자릿수로 새로운 SPL 토큰 생성 |
|
| 모든 주소로 토큰 발행 |
|
| 계정에서 토큰 소각 |
|
| 토큰 계정 동결 |
|
| 토큰 계정 동결 해제 |
|
| 토큰 권한 변경 (발행, 동결, 소유자, 닫기) |
|
| 토큰의 총 공급량 및 메타데이터 |
|
| 계정을 닫고 렌트 반환 |
|
| 토큰 전송을 위한 위임 승인 |
|
| 위임 승인 취소 |
|
전송 (3)
도구 | 설명 | 주요 매개변수 |
| 지갑 간 SOL 전송 |
|
| SPL 토큰 전송 |
|
| SOL 에어드랍 요청 (데브넷/테스트넷 전용) |
|
계정 쿼리 (4)
도구 | 설명 | 주요 매개변수 |
| 상세 계정 정보 |
|
| 서명별 거래 세부 정보 |
|
| 연결된 토큰 계정 생성 |
|
| 지갑의 모든 토큰 계정 나열 |
|
토큰 데이터 (1)
도구 | 설명 | 주요 매개변수 |
| 특정 계정의 SPL 토큰 잔액 |
|
네트워크 (3)
도구 | 설명 | 주요 매개변수 |
| 메인넷, 데브넷, 테스트넷, 로컬호스트 간 전환 |
|
| 현재 네트워크 상태 및 정보 | -- |
| 거래 생성을 위한 최근 블록 해시 | -- |
왜 이 도구인가?
완벽한 SPL 토큰 수명 주기. 생성, 발행, 소각, 동결, 동결 해제, 권한 설정, 위임, 닫기 등 모든 작업을 다루는 10개의 토큰 도구. 경쟁 도구들은 생성/전송에서 멈춥니다.
운영 준비가 완료된 인프라. 지연 연결 초기화(시작 시간 초과 없음), 10초 네트워크 호출 타임아웃, 포괄적인 오류 처리 및 Smithery 배포 지원.
Anchor 통합. 원시 SPL 토큰 작업과 함께 Anchor 프로그램과 상호작용할 수 있도록
@coral-xyz/anchor지원을 포함하여 구축되었습니다.
네트워크
네트워크 | 엔드포인트 |
|
|
|
|
|
|
|
|
보안
개인 키는 메모리에만 저장되며 디스크에 절대 저장되지 않음
프로세스 종료 시 키 삭제
모든 입력값은 Zod 스키마로 검증됨
환경 변수
변수 | 필수 | 설명 |
| 아니오 | Solana RPC 엔드포인트 (기본값: 메인넷) |
개발
git clone https://github.com/ExpertVagabond/solana-mcp-server.git
cd solana-mcp-server
npm install
npm run build
npm startnpm test # Basic functionality tests
npm run type-check # TypeScript type checking
npm run lint # ESLint
npm run quality # Full quality check (lint + types + tests)라이선스
MIT -- Purple Squirrel Media
Available Tools
25 toolsairdrop_solA
Request SOL airdrop for testing (devnet/testnet only)
Inputs: walletName (required), amount.
approve_delegateC
Approve a delegate to transfer tokens on your behalf
Inputs: amount (required), tokenMint (required), walletName (required), delegateAddress (required).
burn_tokensC
Burn tokens from a wallet
Inputs: amount (required), tokenMint (required), walletName (required).
close_token_accountC
Close a token account and reclaim rent
Inputs: tokenMint (required), walletName (required), destinationAddress (required).
create_spl_tokenC
Create a new SPL token with specified decimals
Inputs: walletName (required), decimals, freezeAuthority.
create_token_accountC
Create associated token account for SPL tokens
Inputs: tokenMint (required), walletName (required).
create_walletC
Create a new Solana wallet
Inputs: name (required).
freeze_accountB
Freeze a token account to prevent transfers
Inputs: tokenMint (required), walletName (required), accountAddress (required).
get_account_infoC
Get detailed account information
Inputs: address (required).
get_balanceC
Get SOL balance for a wallet
Inputs: walletName (required).
get_network_infoC
Get current network information
Inputs: no named parameters.
get_recent_blockhashB
Get recent blockhash for transaction building
Inputs: no named parameters.
get_token_accountsC
Get all token accounts for a wallet
Inputs: walletName (required).
get_token_balanceC
Get SPL token balance for a wallet
Inputs: tokenMint (required), walletName (required).
get_token_supplyC
Get the total supply of a token
Inputs: tokenMint (required).
get_transactionC
Get transaction details by signature
Inputs: signature (required).
import_walletC
Import an existing wallet from private key or mnemonic
Inputs: name (required), privateKey (required).
list_walletsB
List all created/imported wallets
Inputs: no named parameters.
mint_tokensC
Mint tokens to a specific account
Inputs: amount (required), tokenMint (required), walletName (required), destinationAddress (required).
revoke_delegateB
Revoke a delegate's authority to transfer tokens
Inputs: tokenMint (required), walletName (required).
set_token_authorityC
Set or change authority for a token mint or account
Inputs: tokenMint (required), walletName (required), authorityType (required), newAuthority.
switch_networkC
Switch Solana network
Inputs: network (required).
thaw_accountC
Thaw a frozen token account to allow transfers
Inputs: tokenMint (required), walletName (required), accountAddress (required).
transfer_solC
Transfer SOL between wallets
Inputs: amount (required), toAddress (required), fromWallet (required).
transfer_tokensC
Transfer SPL tokens between wallets
Inputs: amount (required), toAddress (required), tokenMint (required), fromWallet (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools have distinct purposes, but some overlap exists, such as get_balance and get_token_balance, which could cause confusion if not carefully described. However, the descriptions generally clarify the differences, and tools like freeze_account and thaw_account are clearly complementary.
All tool names follow a consistent verb_noun pattern using snake_case, such as create_wallet, transfer_sol, and get_account_info. This uniformity makes the tool set predictable and easy to navigate.
With 25 tools, the count is borderline high for a focused server, potentially overwhelming for agents. While it covers many Solana operations, it might benefit from consolidation or better scoping to reduce complexity.
The tool set provides comprehensive coverage for Solana operations, including wallet management, token handling, transactions, and network interactions. It supports full CRUD/lifecycle actions, such as create, transfer, and burn tokens, with no obvious gaps.
Maintenance
Related MCP Connectors
Run all your Solana wallets from your AI: send, swap, split, consolidate and clean up.
Solana MCP for wallets, trades, markets, PnL, transfers, onchain data, signable swaps and API tools.
Solana tools over MCP: Jupiter swaps, SPL tokens, Metaplex NFTs, SNS domains, network stats.
Solana MCP developer toolkit: wallets, trades, markets, PnL, transfers, onchain, swaps & API tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with the Solana blockchain network, supporting documentation search, blockchain queries, wallet management, and cryptographic signing operations on Devnet and Testnet.MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the Solana blockchain through Claude Desktop, allowing users to check SOL balances, transfer SOL between accounts, and request airdrops using the Model Context Protocol.ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the Solana blockchain, manage accounts and tokens, and develop and deploy smart contracts end-to-end.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with the Solana blockchain through MCP, supporting wallet queries, token swaps via Jupiter, token transfers, and market data.MIT