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エアドロップをリクエスト(devnet/testnetのみ) |
|
アカウントクエリ (4)
ツール | 説明 | 主要パラメータ |
| 詳細なアカウント情報 |
|
| 署名によるトランザクション詳細 |
|
| 関連トークンアカウントを作成 |
|
| ウォレットの全トークンアカウントを一覧表示 |
|
トークンデータ (1)
ツール | 説明 | 主要パラメータ |
| 特定アカウントのSPLトークン残高 |
|
ネットワーク (3)
ツール | 説明 | 主要パラメータ |
| メインネット、devnet、testnet、localhostを切り替え |
|
| 現在のネットワークステータスと情報 | -- |
| トランザクション構築用の最新ブロックハッシュ | -- |
なぜこれを選ぶのか?
完全なSPLトークンライフサイクル。 作成、ミント、バーン、凍結、凍結解除、権限設定、委任、クローズなど、あらゆる操作をカバーする10個のトークンツール。競合他社は作成/転送で止まってしまいます。
本番環境対応のインフラ。 遅延接続初期化(起動時のタイムアウトなし)、10秒のネットワーク呼び出しタイムアウト、包括的なエラーハンドリング、Smitheryデプロイメントサポート。
Anchor統合。
@coral-xyz/anchorサポートを組み込んでおり、生のSPLトークン操作と並行してAnchorプログラムと対話可能です。
ネットワーク
ネットワーク | エンドポイント |
|
|
|
|
|
|
|
|
セキュリティ
秘密鍵はメモリ内のみに保存され、ディスクには一切書き込まれません
プロセス終了時にキーをクリア
すべての入力はZodスキーマで検証済み
環境変数
変数 | 必須 | 説明 |
| いいえ | Solana RPCエンドポイント(デフォルト: mainnet) |
開発
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