Solana MCP Server
Provides tools for interacting with the Solana blockchain, including wallet operations, token management, DeFi swaps via Jupiter, NFT handling, program interactions, analytics, and network queries.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Solana MCP Server get the current SOL price"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Solana MCP Server
A production-grade Model Context Protocol server for interacting with the Solana blockchain. Gives AI agents (Claude, Cursor, etc.) the ability to read chain data, execute transactions, swap tokens, manage wallets, and more.
38 tools across 7 modules: Wallet, SPL Tokens, DeFi, NFT, Programs, Analytics, Network.
Quick Start
npx @visioneth/solana-mcp@latestClaude Desktop / Cursor
Add to your MCP configuration:
{
"mcpServers": {
"solana-mcp": {
"command": "npx",
"args": ["-y", "@visioneth/solana-mcp@latest"],
"env": {
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
}
}
}
}For write operations (transfers, swaps, minting), add your private key:
{
"env": {
"PRIVATE_KEY": "your_base58_private_key",
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
}
}SSE Mode (Remote)
npx @visioneth/solana-mcp@latest --sse
# Server starts on http://localhost:3001Related MCP server: Solana AI Terminal
Tools
Wallet (7 tools)
Tool | Description |
| SOL balance of any address |
| Detailed account info |
| Send SOL |
| Test SOL on devnet/testnet |
| Transaction details by signature |
| Recent transactions for an address |
| Public key from configured private key |
SPL Tokens (7 tools)
Tool | Description |
| Token balance for a wallet |
| Mint info (supply, decimals, authorities) |
| All token holdings |
| Create new SPL token |
| Mint tokens to an address |
| Transfer SPL tokens |
| Burn SPL tokens |
DeFi (4 tools)
Tool | Description |
| USD price via Jupiter |
| Jupiter swap quote with routing |
| Execute swap on Jupiter |
| Staking info for a wallet |
NFT (3 tools)
Tool | Description |
| On-chain NFT metadata |
| All NFTs in a wallet |
| Collection info from sample NFT |
Programs (4 tools)
Tool | Description |
| Check if address is executable |
| Accounts owned by a program |
| Raw account data |
| Look up known programs |
Analytics (5 tools)
Tool | Description |
| Current transactions per second |
| Top holders of any token |
| Total supply info |
| Current SOL price in USD |
| Biggest SOL holders |
Network (8 tools)
Tool | Description |
| Current epoch and progress |
| Current slot number |
| Current block height |
| Block details by slot |
| Validator/node info |
| Total and circulating SOL |
| Rent exemption calculator |
| RPC node health check |
Prompts
Built-in prompts for common workflows:
analyze_wallet— Full wallet analysisinspect_transaction— Transaction deep-diveanalyze_token— Token due diligence with risk scoreportfolio_check— All holdings summaryswap_analysis— Pre-swap analysisanalyze_nft— NFT metadata analysisanalyze_program— Program investigationtoken_research— Comprehensive token researchnetwork_health— Network status dashboardsolana_overview— Full network overview
Safety
Write operations require explicit network specification — the server will never default to mainnet for transactions
Private key only needed for writes — read-only tools work without credentials
Confirmation prompts before executing state-changing operations
All amounts use human-readable UI values (not raw lamports)
Development
git clone https://github.com/visioneth/solana-mcp.git
cd solana-mcp
npm install
cp .env.example .env
npm run dev # stdio mode
npm run dev:sse # SSE modeEnvironment Variables
Variable | Required | Description |
| For writes | Base58-encoded Solana private key |
| No | Custom RPC endpoint (defaults to mainnet-beta) |
| No | DEBUG, INFO, WARN, ERROR (default INFO) |
| No | SSE server port (default 3001) |
Supported Networks
mainnet-beta — Production (real funds)
devnet — Development and testing
testnet — Validator testing
License
MIT
Available Tools
38 toolsburn_tokensB
Burn SPL tokens from the configured wallet. Requires PRIVATE_KEY.
Inputs: mint_address (required), amount (required), network (required).
create_tokenA
Create a new SPL token mint. Requires PRIVATE_KEY.
Inputs: network (required), decimals.
execute_swapB
Execute a token swap on Jupiter DEX aggregator. Requires PRIVATE_KEY.
Inputs: input_mint (required), output_mint (required), amount (required), network (required), +1 more.
get_account_infoB
Get detailed account information for a Solana address including owner, lamports, data size, and executable status
Inputs: address (required), network.
get_balanceA
Get the SOL balance of a Solana wallet address
Inputs: address (required), network.
get_blockB
Get block details by slot number
Inputs: slot (required), network.
get_block_heightC
Get the current block height
Inputs: network.
get_cluster_nodesB
Get info about all nodes in the Solana cluster
Inputs: network.
get_epoch_infoB
Get current epoch information including slot, epoch progress, and timing
Inputs: network.
get_healthB
Check if the Solana RPC node is healthy
Inputs: network.
get_largest_accountsC
Get the largest SOL-holding accounts on the network
Inputs: filter, network.
get_largest_token_holdersA
Get the largest holders of an SPL token
Inputs: mint_address (required), network.
get_minimum_balance_for_rentB
Calculate the minimum SOL balance needed to keep an account rent-exempt
Inputs: data_size (required), network.
get_nft_collection_infoA
Get info about an NFT collection by checking a sample NFT from the collection
Inputs: mint_address (required), network.
get_nft_metadataB
Get on-chain metadata for an NFT by its mint address
Inputs: mint_address (required), network.
get_nfts_by_ownerC
Get all NFTs owned by a wallet address
Inputs: wallet_address (required), network.
get_program_accountsB
Get all accounts owned by a program with optional filters
Inputs: program_id (required), data_size, limit, network.
get_recent_transactionsB
Get recent transaction signatures for a Solana address
Inputs: address (required), limit, network.
get_slotA
Get the current slot number
Inputs: network.
get_sol_priceA
Get the current SOL price in USD via Jupiter
Inputs: no named parameters.
get_stake_accountsC
Get all stake accounts for a Solana wallet
Inputs: wallet_address (required), network.
get_supplyB
Get the total SOL supply and circulation info
Inputs: network.
get_swap_quoteB
Get a swap quote from Jupiter DEX aggregator
Inputs: input_mint (required), output_mint (required), amount (required), slippage_bps.
get_token_accountsA
Get all SPL token accounts owned by a wallet address
Inputs: wallet_address (required), network.
get_token_balanceA
Get the SPL token balance of a wallet for a specific token mint
Inputs: wallet_address (required), mint_address (required), network.
get_token_infoA
Get metadata and supply info for an SPL token by its mint address
Inputs: mint_address (required), network.
get_token_priceA
Get the current USD price of a Solana token using Jupiter price API
Inputs: mint_address (required).
get_token_supplyB
Get the total and circulating supply of an SPL token
Inputs: mint_address (required), network.
get_tpsA
Get the current transactions per second (TPS) on Solana
Inputs: network.
get_transactionC
Get details of a Solana transaction by its signature
Inputs: signature (required), network.
get_wallet_addressA
Get the public wallet address from the configured PRIVATE_KEY
Inputs: no named parameters.
identify_programC
Look up a well-known Solana program by its address
Inputs: address (required).
is_programC
Check if a Solana address is an executable program
Inputs: address (required), network.
mint_tokensA
Mint SPL tokens to a destination wallet. Requires PRIVATE_KEY with mint authority.
Inputs: mint_address (required), to_address (required), amount (required), network (required).
read_account_dataB
Read and return the raw data of a Solana account (base64 encoded)
Inputs: address (required), encoding, network.
request_airdropA
Request a SOL airdrop on devnet or testnet (for testing purposes only)
Inputs: address (required), amount_sol (required), network (required).
transfer_solB
Transfer SOL from the configured wallet to a destination address. Requires PRIVATE_KEY environment variable.
Inputs: to_address (required), amount_sol (required), network.
transfer_tokenB
Transfer SPL tokens from the configured wallet to a destination. Requires PRIVATE_KEY.
Inputs: mint_address (required), to_address (required), amount (required), network (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 38 tools
Each tool targets a distinct resource or action (e.g., get_balance vs get_token_balance, get_account_info vs read_account_data). No overlapping purposes; descriptions clearly differentiate read vs write operations.
All tools follow a consistent verb_noun pattern in snake_case (e.g., get_block, create_token, transfer_sol). Exceptions like get_largest_accounts and get_nfts_by_owner still adhere to the pattern, making naming predictable.
38 tools is on the higher end, but the broad scope of Solana operations (accounts, tokens, NFTs, transactions, etc.) justifies the count. It leans toward heavy but remains well-organized and not excessive for a full-featured blockchain server.
Covers major read and write operations for SOL, SPL tokens, NFTs, and network queries. Missing features like token delegation or wallet creation are minor, and the tool set handles most common agent workflows without dead ends.
Related MCP Connectors
Non-custodial DeFi tools for AI agents on Solana: swaps, perps, lending, staking, equities.
Run all your Solana wallets from your AI: send, swap, split, consolidate and clean up.
Native Solana staking for AI agents. 26 MCP tools, one-shot signing, webhooks.
Solana onchain intelligence for AI agents: wallet risk, due-diligence, perps funding, smart money.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to interact with cryptocurrency ecosystems through wallet management, trading operations (swaps, DCA, limit orders), staking, and multi-chain support starting with Solana.37GPL 3.0
- 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
- AlicenseBqualityBmaintenanceProvides permissionless wallet infrastructure for AI agents to manage wallets, sign transactions, and handle tokens across Solana and all EVM-compatible chains. It includes 29 specialized tools for on-chain operations, featuring built-in security guards and automated x402 payment processing without KYC requirements.401,677 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the Solana blockchain, manage accounts and tokens, and develop and deploy smart contracts end-to-end.4MIT