MCP ExplorerExplorer

Aldrin Labs Solana Mcp Server

@MCP-Mirroron 10 months ago
1 Unlicense
FreeCommunity
AI Systems
Mirror of https://github.com/aldrin-labs/solana-mcp-server

Overview

What is Aldrin Labs Solana Mcp Server

The aldrin-labs_solana-mcp-server is a Model Context Protocol (MCP) server that provides comprehensive access to Solana blockchain data through Cline. It implements a wide range of Solana RPC methods, allowing users to query blockchain information via natural language.

Use cases

Use cases include querying SOL and SPL token balances, retrieving account information, checking transaction details, and monitoring network health, making it suitable for developers, analysts, and users interested in Solana blockchain activities.

How to use

To use the aldrin-labs_solana-mcp-server, you need to configure your Cline MCP settings file with the server’s command and arguments, specifying the path to the server and the desired Solana RPC endpoint.

Key features

The server offers 21 essential Solana RPC methods categorized into account operations, block and transaction information, token operations, system information, and staking & governance, enabling users to retrieve various blockchain data easily.

Where to use

The aldrin-labs_solana-mcp-server can be used in various fields such as blockchain development, financial applications, and decentralized applications (dApps) that require real-time access to Solana blockchain data.

Content

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 address
  • get_token_balance: Get SPL token balance
  • get_account_info: Get account information
  • get_largest_accounts: Get largest accounts on network

Block & Transaction Information

  • 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

Token Operations

  • 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

System 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

Staking & Governance

  • get_vote_accounts: Get vote accounts
  • get_leader_schedule: Get leader schedule

Setup in Cline

  1. Add the following configuration to your Cline MCP settings file (~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json on macOS):
  1. 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

Development

Prerequisites

  • Rust and Cargo
  • Solana CLI tools (optional, for testing)

Building

cargo build

Running

cargo run

License

MIT License

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers