Solana MCP Server 🌱
A MCP server to interact with the Solana blockchain with your own private key.
📖 Table of Contents
✨ Features
- Get latest slot
- Get wallet address
- Get wallet balance
- Transfer SOL
⚙️ Setup
Installing via Smithery
To install Solana MCP for Claude Desktop automatically via Smithery:
Manual Setup
- Clone the repository
- Install dependencies
- Build the project
- Create a keypair file
Create a file named
keypair.json
anywhere you want and copy your private key into it. Check the example-keypair.json file for an example.
NB: 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
file.
Integration with Cursor
To integrate with Cursor, follow these steps:
- In the Cursor settings, go to MCP
- Click "Add new MCP server"
- Enter the following information:
- Name: Solana MCP
- Type: command
- Command:
/path/to/your/solana-mcp/run.sh /path/to/your/keypair.json
Example command: /Users/username/projects/solana-mcp/run.sh /Users/username/Documents/keypair.json
🛠️ Available Tools
1. get-latest-slot
Returns the latest slot number:
2. get-wallet-address
Returns the wallet address:
3. get-wallet-balance
Returns the wallet balance in SOL, Lamports, and USD:
4. transfer
Transfers SOL to a recipient address:
🧑💻 Contributing
Contributions are welcome! Please open an issue or submit a pull request.
🔖 License
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Un servidor que permite la interacción con la cadena de bloques Solana utilizando su propia clave privada, respaldando operaciones como obtener información de billetera, verificar saldos y transferir SOL.
- 📖 Índice de contenidos
- ✨ Características
- ⚙️ Configuración
- Integración con Cursor
- 🛠️ Herramientas disponibles
- 🧑💻 Contribuyendo
- 🔖 Licencia
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Model-Context-Protocol server enabling users to perform basic operations on Solana and Ethereum blockchains through simple RPC endpoints.Last updated 5 months ago1083TypeScriptApache 2.0
- AsecurityAlicenseAqualityA server that enables interaction with the Solana blockchain, providing access to over 40 Solana RPC methods including getting balances, transaction details, block information, and sending transactions.Last updated 5 months ago443PythonMIT License
- AsecurityFlicenseAqualityA server that provides simple RPC endpoints for common Solana blockchain operations, allowing users to check balances, get account information, and transfer SOL between accounts.Last updated 7 months ago51TypeScript
- -securityFlicense-qualityA Solana blockchain interaction server that allows AI tools to query blockchain data using natural language, access structured token information, and generate human-readable explanations of complex blockchain concepts.Last updated 4 months ago9Python