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 "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 Serverget 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:3001Tools
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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