Back to MCP Catalog

Solana Agent Kit MCP Server

Finance & FintechTypeScript
Interact with the Solana blockchain through natural language commands
Available Tools

getWalletBalance

Retrieves the SOL balance of a Solana wallet address

getTokenBalance

Retrieves the token balance for a specific token in a Solana wallet

transferSOL

Transfers SOL from your wallet to another Solana address

transferToken

Transfers tokens from your wallet to another Solana address

getTransaction

Retrieves details about a specific Solana transaction by its signature

Solana Agent Kit provides a comprehensive interface for interacting with the Solana blockchain through natural language. This MCP server implementation allows AI assistants to perform various operations on Solana, including checking wallet balances, sending transactions, and interacting with smart contracts. Built by SendAI, this toolkit bridges the gap between conversational AI and blockchain technology, making Solana's capabilities accessible without requiring deep technical knowledge of blockchain operations. The implementation follows the Model Context Protocol standard to ensure consistent and reliable interactions.

Overview

Solana Agent Kit MCP Server enables AI assistants to interact with the Solana blockchain through natural language commands. This implementation provides a standardized way to perform various Solana operations without requiring users to have deep technical knowledge of blockchain interactions.

Installation

Prerequisites

Before installing the Solana Agent Kit MCP Server, ensure you have:

  1. Node.js (v16 or higher)
  2. A package manager (pnpm, yarn, or npm)
  3. A Solana wallet with a private key
  4. A Solana RPC URL (from providers like Helius, QuickNode, or Solana's public endpoints)

Setup Instructions

  1. Install the package dependencies:

    pnpm install
    
  2. Build the project:

    pnpm run build
    
  3. Configure your environment variables: You'll need to set up two essential environment variables:

    • SOLANA_PRIVATE_KEY: Your Solana wallet's private key
    • RPC_URL: Your Solana RPC endpoint URL
  4. Configure Claude Desktop: Update your Claude Desktop configuration file based on your operating system:

    • MacOS:

      code ~/Library/Application\ Support/Claude/claude_desktop_config.json
      
    • Windows:

      code $env:AppData\Claude\claude_desktop_config.json
      

    Add the Solana Agent Kit configuration to the mcpServers section, replacing the path with your absolute project path:

    {
        "mcpServers": {
            "agent-kit": {
                "command": "node",
                "env": {
                    "RPC_URL": "your_solana_rpc_url_here",
                    "SOLANA_PRIVATE_KEY": "your_private_key_here"
                },
                "args": [
                    "/ABSOLUTE/PATH/TO/YOUR/PROJECT"
                ]
            }
        }
    }
    
  5. Restart Claude Desktop after updating the configuration to apply the changes.

Usage

Once installed and configured, you can interact with the Solana blockchain by asking Claude to perform various operations. The Solana Agent Kit supports a wide range of actions, including:

  • Checking wallet balances
  • Sending SOL or tokens to other wallets
  • Interacting with smart contracts
  • Querying transaction history
  • Monitoring token prices and market data

Simply describe what you want to do with Solana in natural language, and the AI assistant will use the appropriate functions from the Solana Agent Kit to fulfill your request.

Troubleshooting

If you encounter issues:

  1. Verify your environment variables are correctly set
  2. Ensure your Solana RPC URL is active and responding
  3. Check that your private key has the necessary permissions and funds
  4. Restart Claude Desktop after making configuration changes
  5. Verify the absolute path to your project is correct in the configuration

Security Considerations

Remember that your private key provides full access to your Solana wallet. Never share your configuration file or expose your private key. Consider using a dedicated wallet with limited funds for testing and development purposes.

Related MCPs

TastyTrade Portfolio Manager
Finance & FintechPython

Manage your TastyTrade brokerage account through Claude

Investor Agent
Finance & FintechPython

Financial analysis and investment insights for LLMs

Bankless Onchain
Finance & FintechTypeScript

Access and interact with blockchain data through the Bankless API

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.