solana-mcp-server

solana-mcp-server

20

The Solana MCP Server is designed to provide comprehensive access to Solana blockchain data using natural language queries through the Cline platform. It implements a wide range of RPC methods to facilitate easy querying of blockchain information. This server supports account, block, token, system, and staking operations.

Solana MCP Server

A Model Context Protocol (MCP) server providing access to Solana blockchain data through Cline. Features 21 Solana RPC methods for account balance operations, block and transaction information, token operations, system information, and staking & governance operations.

Features

  • Account & Balance Operations
  • Block & Transaction Information
  • Token Operations
  • System Information
  • Staking & Governance

Setup in Cline

Configure MCP settings and restart Cline to load the new server.

Usage Examples

Interact with Solana blockchain using natural language in Cline with questions like SOL balance check, slot number, block information, inflation rate, etc.

Environment Variables

  • SOLANA_RPC_URL: Solana RPC endpoint, defaults to mainnet.

Development

Prerequisites

  • Rust and Cargo
  • Solana CLI tools (optional)

Building

  • Use Cargo to build and run.

License

MIT License.