Solana MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | SSE server port (default 3001). | 3001 |
| LOG_LEVEL | No | Logging level: DEBUG, INFO, WARN, ERROR (default INFO). | INFO |
| PRIVATE_KEY | No | Base58-encoded Solana private key. Required for write operations (transfers, swaps, minting). | |
| SOLANA_RPC_URL | No | Custom RPC endpoint (defaults to mainnet-beta). | https://api.mainnet-beta.solana.com |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_balanceA | Get the SOL balance of a Solana wallet address |
| get_account_infoA | Get detailed account information for a Solana address including owner, lamports, data size, and executable status |
| transfer_solB | Transfer SOL from the configured wallet to a destination address. Requires PRIVATE_KEY environment variable. |
| request_airdropA | Request a SOL airdrop on devnet or testnet (for testing purposes only) |
| get_transactionB | Get details of a Solana transaction by its signature |
| get_recent_transactionsB | Get recent transaction signatures for a Solana address |
| get_wallet_addressA | Get the public wallet address from the configured PRIVATE_KEY |
| get_token_balanceB | Get the SPL token balance of a wallet for a specific token mint |
| get_token_infoB | Get metadata and supply info for an SPL token by its mint address |
| get_token_accountsA | Get all SPL token accounts owned by a wallet address |
| create_tokenB | Create a new SPL token mint. Requires PRIVATE_KEY. |
| mint_tokensA | Mint SPL tokens to a destination wallet. Requires PRIVATE_KEY with mint authority. |
| transfer_tokenB | Transfer SPL tokens from the configured wallet to a destination. Requires PRIVATE_KEY. |
| burn_tokensA | Burn SPL tokens from the configured wallet. Requires PRIVATE_KEY. |
| get_token_priceA | Get the current USD price of a Solana token using Jupiter price API |
| get_swap_quoteB | Get a swap quote from Jupiter DEX aggregator |
| execute_swapB | Execute a token swap on Jupiter DEX aggregator. Requires PRIVATE_KEY. |
| get_stake_accountsB | Get all stake accounts for a Solana wallet |
| get_nft_metadataA | Get on-chain metadata for an NFT by its mint address |
| get_nfts_by_ownerB | Get all NFTs owned by a wallet address |
| get_nft_collection_infoA | Get info about an NFT collection by checking a sample NFT from the collection |
| is_programB | Check if a Solana address is an executable program |
| get_program_accountsB | Get all accounts owned by a program with optional filters |
| read_account_dataA | Read and return the raw data of a Solana account (base64 encoded) |
| identify_programB | Look up a well-known Solana program by its address |
| get_tpsB | Get the current transactions per second (TPS) on Solana |
| get_largest_token_holdersC | Get the largest holders of an SPL token |
| get_token_supplyB | Get the total and circulating supply of an SPL token |
| get_sol_priceA | Get the current SOL price in USD via Jupiter |
| get_largest_accountsB | Get the largest SOL-holding accounts on the network |
| get_epoch_infoB | Get current epoch information including slot, epoch progress, and timing |
| get_slotB | Get the current slot number |
| get_block_heightB | Get the current block height |
| get_blockB | Get block details by slot number |
| get_cluster_nodesB | Get info about all nodes in the Solana cluster |
| get_supplyC | Get the total SOL supply and circulation info |
| get_minimum_balance_for_rentA | Calculate the minimum SOL balance needed to keep an account rent-exempt |
| get_healthA | Check if the Solana RPC node is healthy |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyze_wallet | Analyze a Solana wallet — check balance, recent activity, and account details |
| inspect_transaction | Deep-dive into a Solana transaction — decode instructions, check status, analyze fees |
| analyze_token | Analyze an SPL token — check supply, authorities, and holder distribution |
| portfolio_check | Check all token holdings for a Solana wallet |
| swap_analysis | Analyze a potential token swap — check prices, routes, and price impact |
| analyze_nft | Deep analysis of an NFT — metadata, collection, rarity traits |
| analyze_program | Analyze a Solana program — check if executable, identify it, inspect accounts |
| token_research | Research a Solana token — price, supply, holders, and risk assessment |
| network_health | Check Solana network health and performance metrics |
| solana_overview | Get a comprehensive overview of the Solana network status |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/visioneth/solana-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server