Solana MCP Server logo

Solana MCP Server

by Grandbusta

Solana MCP Server is a tool that allows you to interact with the Solana blockchain using your own private key. It provides functionalities to get the latest slot, wallet address, balance, and transfer SOL.

View on GitHub

Last updated: N/A

What is Solana MCP Server?

Solana MCP Server is a server application designed to facilitate interaction with the Solana blockchain using a user-provided private key. It offers a set of tools for retrieving blockchain data and executing transactions.

How to use Solana MCP Server?

To use the Solana MCP Server, clone the repository, install dependencies using npm install, build the project using npm run build, and create a keypair.json file containing your private key. You can then run the server using the provided run.sh script, specifying the path to your keypair.json file. The server provides tools accessible via command line to interact with the Solana blockchain.

Key features of Solana MCP Server

  • Get latest slot

  • Get wallet address

  • Get wallet balance

  • Transfer SOL

Use cases of Solana MCP Server

  • Checking the latest Solana slot number

  • Retrieving a Solana wallet address

  • Checking the balance of a Solana wallet

  • Transferring SOL tokens to another wallet

FAQ from Solana MCP Server

What is a keypair.json file?

A keypair.json file contains your Solana private key, which is used to sign transactions and authenticate your wallet.

What RPC endpoint does the server use?

The server defaults to api.devnet.solana.com. You can change this in the run.sh file.

How do I transfer SOL?

Use the transfer tool with the recipient address and the amount of SOL you want to send.

Where can I find example usage?

The README provides examples for each available tool, including the expected input and output.

What is the license for this project?

This project is licensed under the WTFPL License.