Solana MCP Server
Provides comprehensive access to Solana blockchain data using 21 essential RPC methods.
Solana MCP Server
A Model Context Protocol (MCP) server that provides comprehensive access to Solana blockchain data through Cline. This server implements a wide range of Solana RPC methods, making it easy to query blockchain information directly through natural language conversations.
Features
The server provides 21 essential Solana RPC methods across different categories:
Account & Balance Operations
get_sol_balance: Get SOL balance for an addressget_token_balance: Get SPL token balanceget_account_info: Get account informationget_largest_accounts: Get largest accounts on network
Block & Transaction Information
get_slot: Get current slotget_block: Get block informationget_block_time: Get block production timeget_transaction: Get transaction detailsget_recent_blockhash: Get recent blockhash
Token Operations
get_token_accounts_by_owner: Get token accounts by ownerget_token_accounts_by_delegate: Get delegated token accountsget_token_supply: Get token supply information
System Information
get_epoch_info: Get current epoch informationget_version: Get node versionget_health: Get node health statusget_supply: Get current supplyget_inflation_rate: Get inflation rateget_cluster_nodes: Get cluster node informationget_minimum_balance_for_rent_exemption: Get minimum rent-exempt balance
Staking & Governance
get_vote_accounts: Get vote accountsget_leader_schedule: Get leader schedule
Setup in Cline
- Add the following configuration to your Cline MCP settings file (
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonon macOS):
{
"mcpServers": {
"solana": {
"command": "cargo",
"args": ["run"],
"cwd": "/path/to/solana-mcp-server",
"env": {
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com" // Or your preferred RPC endpoint
}
}
}
}
- Restart Cline to load the new MCP server.
Usage Examples
Once configured, you can interact with the Solana blockchain through natural language in Cline. Here are some example queries:
- "What's the SOL balance of address Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr?"
- "Show me the current slot number"
- "Get information about the latest block"
- "What's the current inflation rate?"
- "Show me the token accounts owned by address ..."
Environment Variables
SOLANA_RPC_URL: (Optional) The Solana RPC endpoint to use. Defaults to "https://api.mainnet-beta.solana.com" if not specified.
Development
Prerequisites
- Rust and Cargo
- Solana CLI tools (optional, for testing)
Building
cargo build
Running
cargo run
License
MIT License
İlgili Sunucular
Poland Parliament
MCP server providing access to official records of activities of the Polish Parliament, including information on members, voting records, committees, and proceedings.
SQLAlchemy ODBC
An MCP server for connecting to any ODBC-compliant database via SQLAlchemy, supporting various DBMS backends.
MCP Database Server
Connects to and interacts with various database systems like SQLite, PostgreSQL, SQL Server, and MongoDB.
Yahoo Finance
Access financial data and visualization tools from Yahoo Finance.
CData MCP Server for Microsoft SQL Server
An MCP server for Microsoft SQL Server by CData. Requires a separately licensed CData JDBC Driver.
CData Zoho Creator
A read-only MCP server by CData for querying live Zoho Creator data using a JDBC driver.
Insights Knowledge Base
A free, plug-and-play knowledge base with over 10,000 built-in insight reports and support for parsing private documents.
CData SAP Hybris C4C
A read-only MCP server for querying live SAP Hybris C4C data, powered by the CData JDBC Driver.
Nodit MCP Server
Provides structured, context-ready blockchain data across multiple networks through Nodit's Web3 infrastructure.
Self-Hosted Supabase MCP Server
Interact with self-hosted Supabase instances for database introspection, management, and interaction.