MCP Server for Solana

Build on Solana
with Claude

Solana wallet management, transaction handling, and program interactions — all through the Model Context Protocol.

npm version npm downloads GitHub stars License

Quick Setup

Add to your Claude Desktop configuration

claude_desktop_config.json
{
  "mcpServers": {
    "solana": {
      "command": "npx",
      "args": ["-y", "solana-mcp-server"],
      "env": {
        "SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com",
        "SOLANA_PRIVATE_KEY": "your-private-key"
      }
    }
  }
}

Capabilities

Wallet Management

Create, import, and manage Solana wallets. Check balances, generate keypairs, and handle multiple accounts seamlessly.

Transaction Handling

Send SOL and SPL tokens, build custom transactions, sign and submit to the network with full confirmation tracking.

📄

Program Interactions

Interact with on-chain programs, decode account data, and call program instructions through Claude naturally.

🔎

Account Lookup

Query account info, token holdings, transaction history, and stake accounts with rich formatted output.

Token Operations

Create token mints, manage token accounts, transfer SPL tokens, and query token metadata and supply.

🔒

Secure by Default

Private keys stay local. All signing happens on your machine. No keys are ever transmitted to external services.

$ npm install -g solana-mcp-server