SOLANA-MCP-Server
Provides tools to query account balances, transaction history, token information, and network statistics on the Solana blockchain.
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-Servershow me the balance of 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
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 Model Context Protocol (MCP) server for interacting with the Solana blockchain. This server provides tools to query account balances, transaction history, token information, and network statistics.
Features
Account Operations: Get balance and account information
Token Management: Query token accounts and token metadata
Transaction History: Fetch transaction history for any address
Network Statistics: Get current network status and epoch info
Multi-Network Support: Mainnet, Devnet, and Testnet
Related MCP server: Solana Agent Kit MCP Server
Installation
git clone https://github.com/6rz6/SOLANA-MCP-Server.git
cd SOLANA-MCP-Server
npm install
npm run buildUsage
MCP Configuration
Add to your MCP settings:
{
"mcpServers": {
"solana": {
"command": "node",
"args": ["/path/to/SOLANA-MCP-Server/build/index.js"],
"env": {
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
}
}
}
}Available Tools
get_balance - Get SOL balance for an address
get_account_info - Get detailed account information
get_token_accounts - Get all token accounts for a wallet
get_transaction_history - Get transaction history
get_token_info - Get token metadata
get_network_stats - Get network statistics
Examples
# Get balance
get_balance("7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU")
# Get token accounts
get_token_accounts("7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU")
# Get network stats
get_network_stats()Environment Variables
SOLANA_RPC_URL: Custom RPC endpoint (defaults to mainnet-beta)
Development
npm run dev # Watch mode
npm run build # Build TypeScriptLicense
MIT
This server cannot be installed
Maintenance
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/6rz6/SOLANA-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server