Other MCP Server · MODEL CONTEXT PROTOCOL
aldrin labs solana mcp server
solana mcp sever to enable solana rpc methods
连接能力
aldrin labs solana mcp server 为 AI Agent 提供什么
- `get_sol_balance`: Get SOL balance for an address
- `get_token_balance`: Get SPL token balance
- `get_account_info`: Get account information
- `get_largest_accounts`: Get largest accounts on network
- `get_slot`: Get current slot
- `get_block`: Get block information
- `get_block_time`: Get block production time
- `get_transaction`: Get transaction details
- `get_recent_blockhash`: Get recent blockhash
- `get_token_accounts_by_owner`: Get token accounts by owner
- `get_token_accounts_by_delegate`: Get delegated token accounts
- `get_token_supply`: Get token supply information
- `get_epoch_info`: Get current epoch information
- `get_version`: Get node version
- `get_health`: Get node health status
- `get_supply`: Get current supply
- `get_inflation_rate`: Get inflation rate
- `get_cluster_nodes`: Get cluster node information
- `get_minimum_balance_for_rent_exemption`: Get minimum rent-exempt balance
- `get_vote_accounts`: Get vote accounts
- `get_leader_schedule`: Get leader schedule
- Add the following configuration to your Cline MCP settings file (`~/Library/Application Support/claude-code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json` on macOS):
- Restart Cline to load the new MCP server.
- "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 ..."
- `SOLANA_RPC_URL`: (Optional) The Solana RPC endpoint to use. Defaults to "https://api.mainnet-beta.solana.com" if not specified.
- Rust and Cargo
- Solana CLI tools (optional, for testing)
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
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.
The server provides 21 essential Solana RPC methods across different categories:
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
get_slot: Get current slotget_block: Get block informationget_block_time: Get block production timeget_transaction: Get transaction detailsget_recent_blockhash: Get recent blockhash
get_token_accounts_by_owner: Get token accounts by ownerget_token_accounts_by_delegate: Get delegated token accountsget_token_supply: Get token supply 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
get_vote_accounts: Get vote accountsget_leader_schedule: Get leader schedule
- 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.
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 ..."
SOLANA_RPC_URL: (Optional) The Solana RPC endpoint to use. Defaults to "https://api.mainnet-beta.solana.com" if not specified.
- Rust and Cargo
- Solana CLI tools (optional, for testing)
cargo buildcargo runMIT License
社区
收藏、评分与讨论
正在载入社区数据…