This repository provides a Model Context Protocol (MCP) server for Solana clients, enabling Claude Desktop to interact with the Solana blockchain using a variety of tools for retrieving data and managing transactions.
To install mcp-solana for Claude Desktop automatically using Smithery, execute:
npx -y @smithery/cli install @tywenk/mcp-solana --client claudeManual installation involves cloning the repository, setting up the environment with uv, and installing the server script:
git clone [email protected]:tywenk/mcp-sol.git
cd mcp-sol
uv sync
mcp install src/server.pyThe Claude desktop JSON configuration file (/Users/{user}/Library/Application Support/Claude on macOS) needs to be updated to point to the uv binary and the server script. The configuration should include the absolute paths to the uv executable and the mcp-sol directory.
This mcp-solana server provides a comprehensive suite of tools for interacting with the Solana blockchain. The tools include functionalities such as retrieving account balances, transaction details, block information, cluster nodes, epoch data, genesis hash, inflation rates, and more. It also supports actions like requesting airdrops and sending transactions.
tywenk/mcp-sol
January 25, 2025
March 18, 2025
Python