Solana MCP Server
@aldrin-labs
About Solana MCP Server
solana mcp sever to enable solana rpc methods
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"solana": {
"command": "cargo",
"args": [
"run"
],
"cwd": "/path/to/solana-mcp-server",
"env": {
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Solana MCP Server?
Solana MCP Server is a Model Context Protocol server that provides comprehensive access to Solana blockchain data through Cline. It implements 21 Solana RPC methods, enabling developers to query blockchain information directly through natural language conversations.
How to use Solana MCP Server?
Add a JSON configuration block to your Cline MCP settings file (on macOS: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json), specifying the server command (cargo run) and an optional SOLANA_RPC_URL environment variable (defaults to https://api.mainnet-beta.solana.com). Restart Cline, then ask natural language queries like “What’s the SOL balance of address …?” or “Show me the current slot number.”
Key features of Solana MCP Server
- 21 essential Solana RPC methods in six categories
- Account and balance operations (SOL, SPL tokens)
- Block and transaction information retrieval
- Token account queries by owner or delegate
- System information (epoch, supply, inflation, health)
- Staking and governance data (vote accounts, leader schedule)
- Configurable RPC endpoint via environment variable
Use cases of Solana MCP Server
- Check SOL or token balance for a given address
- Get current slot, block details, or transaction data
- Query token accounts owned by or delegated to an address
- Retrieve network stats like epoch info, inflation rate, and supply
- Monitor node health and cluster nodes for debugging
FAQ from Solana MCP Server
What makes this server different from using the Solana RPC directly?
The Solana MCP Server wraps 21 Solana RPC methods into an MCP interface, allowing users to query blockchain data via natural language in Cline instead of raw JSON-RPC calls.
What are the runtime requirements to run the server?
You need Rust and Cargo installed. Solana CLI tools are optional and only needed for testing.
Which Solana network does it query by default?
It defaults to mainnet-beta (https://api.mainnet-beta.solana.com), but you can set the SOLANA_RPC_URL environment variable to any Solana RPC endpoint (e.g., devnet or testnet).
How many RPC methods are provided?
The server implements exactly 21 RPC methods, covering accounts, blocks, tokens, system info, and staking/governance.
How is authentication handled?
No authentication is mentioned. The server connects to a public RPC endpoint by default; private endpoints can be used by setting SOLANA_RPC_URL.
More Other MCP servers
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Comments