Solana MCP Server
The Solana MCP Server provides 25 tools for managing Solana wallets, SPL tokens, transfers, blockchain queries, and network connections.
Wallet Management
Create new wallets (in-memory keypair generation)
Import existing wallets via base58-encoded private keys
List all wallets in the current session
Check SOL balances
SPL Token Operations
Create new tokens with custom decimals and optional freeze authority
Mint, burn, freeze, and thaw token accounts
Set/change token authorities (mint, freeze, owner, close)
Approve and revoke delegates
Close token accounts to reclaim rent
Query token supply and metadata
Transfers
Transfer SOL and SPL tokens between wallets
Request SOL airdrops on devnet/testnet for testing
Account & Blockchain Queries
Get detailed account information for any address
Look up transaction details by signature
Create associated token accounts
List all SPL token accounts for a wallet
Check SPL token balances for a specific wallet and mint
Fetch recent blockhashes for transaction building
Network Management
Switch between mainnet, devnet, testnet, and localhost
Retrieve current network status and info
Security & Infrastructure: Private keys are stored in-memory only (never persisted), all inputs are validated via Zod schemas, keys are cleared on process exit, and network calls have a 10-second timeout.
Provides comprehensive Solana blockchain integration including wallet management, SOL and SPL token transfers, token creation and minting, account management, authority controls, and network operations across mainnet, devnet, testnet, and localhost.
Click on "Install 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 Servertransfer 0.5 SOL to my friend's wallet address"
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
Full Solana blockchain MCP server. 25 tools for wallet management, SPL token operations, DeFi, staking, and network queries. Built on @solana/web3.js and @solana/spl-token with Anchor support.
The most actively maintained Solana MCP. Covers the complete SPL token lifecycle (create, mint, burn, freeze, thaw, delegate, authority management) that competitors skip.
Install
npx solana-mcp-serverOr install globally:
npm install -g solana-mcp-server
solana-mcp-serverConfigure
Add to your MCP config (claude_desktop_config.json or ~/.mcp.json):
{
"mcpServers": {
"solana": {
"command": "npx",
"args": ["-y", "solana-mcp-server"],
"env": {
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
}
}
}
}Tools (25)
Wallet Management (4)
Tool | Description | Key Params |
| Create a new Solana keypair (in-memory only) | -- |
| Import from a base58-encoded private key |
|
| List all wallets in the current session | -- |
| Get SOL balance for any address |
|
SPL Token Operations (10)
Tool | Description | Key Params |
| Create a new SPL token with custom decimals |
|
| Mint tokens to any address |
|
| Burn tokens from an account |
|
| Freeze a token account |
|
| Unfreeze a token account |
|
| Change token authority (mint, freeze, owner, close) |
|
| Total supply and metadata for a token |
|
| Close an account and reclaim rent |
|
| Approve a delegate for token transfers |
|
| Revoke delegate approval |
|
Transfers (3)
Tool | Description | Key Params |
| Transfer SOL between wallets |
|
| Transfer SPL tokens |
|
| Request SOL airdrop (devnet/testnet only) |
|
Account Queries (4)
Tool | Description | Key Params |
| Detailed account information |
|
| Transaction details by signature |
|
| Create an associated token account |
|
| List all token accounts for a wallet |
|
Token Data (1)
Tool | Description | Key Params |
| SPL token balance for a specific account |
|
Network (3)
Tool | Description | Key Params |
| Switch between mainnet, devnet, testnet, localhost |
|
| Current network status and info | -- |
| Recent blockhash for transaction building | -- |
Why This One?
Complete SPL token lifecycle. Create, mint, burn, freeze, thaw, set authority, delegate, close -- 10 token tools covering every operation. Competitors stop at create/transfer.
Production-ready infrastructure. Lazy connection initialization (no startup timeouts), 10-second network call timeouts, comprehensive error handling, and Smithery deployment support.
Anchor integration. Built with
@coral-xyz/anchorsupport for interacting with Anchor programs alongside raw SPL token operations.
Networks
Network | Endpoint |
|
|
|
|
|
|
|
|
Security
Private keys stored in memory only -- never persisted to disk
Keys cleared on process exit
All inputs validated with Zod schemas
Environment Variables
Variable | Required | Description |
| No | Solana RPC endpoint (default: mainnet) |
Development
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)License
MIT -- Purple Squirrel Media
Maintenance
Appeared in Searches
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/ExpertVagabond/solana-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server