- Home
- MCP servers
- Solana
Solana
- javascript
10
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"grandbusta-solana-mcp": {
"command": "/path/to/your/solana-mcp/run.sh",
"args": [
"/path/to/your/keypair.json"
]
}
}
}You can run a Solana MCP Server to interact with the Solana blockchain using your own private key. It exposes practical tools to fetch the latest slot, retrieve wallet details, view balances, and transfer SOL, all through MCP-compatible clients.
How to use
Connect an MCP client to the Solana MCP Server to access its endpoints. You can call the available tools to perform routine blockchain queries or transactions. Each tool corresponds to a concrete action you can take against your wallet, such as checking the latest network slot, obtaining your wallet address, querying balances, or sending SOL to another address. Use the results to drive your dApp logic, automate workflows, or monitor activity in real time.
How to install
Prerequisites: ensure you have Node.js installed on your machine. You will also need a keypair file containing your Solana private key.
npx -y @smithery/cli install @Grandbusta/solana-mcp --client claude
Manual setup steps
git clone https://github.com/Grandbusta/solana-mcp.git
npm install
npm run build
# Create a keypair file with your private key
# Save as keypair.json and reference its path when starting the server
Additional notes
NB: The RPC endpoint is set to api.devnet.solana.com by default. If you want to use a different endpoint, you can set it in the run.sh script.
Available tools
get-latest-slot
Returns the latest Solana slot number.
get-wallet-address
Returns the Solana wallet address associated with your keypair.
get-wallet-balance
Returns the wallet balance in SOL, Lamports, and USD equivalent.
transfer
Transfers SOL to a recipient address by specifying the destination and amount.