Solana MCP Server

by akc2267
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides tools for interacting with the Solana blockchain, including retrieving current slot numbers, checking account balances, getting detailed account information, displaying keypair information, and transferring SOL between accounts.

Solana MCP Server

A Model-Context-Protocol server for interacting with the Solana blockchain. This server provides simple RPC endpoints for common Solana operations.

Features

  • Get current slot number
  • Check account balances
  • Get detailed account information
  • Display keypair information
  • Transfer SOL between accounts

Quickstart

clone and install dependencies:

git clone https://github.com/yourusername/solana-mcp-server.git cd solana-mcp-server npm install

build the tool

npm run build

add the tool to your claude_desktop_config.json

"solana-rpc": { "command": "node", "args": [ "/PATH/TO/solana-mcp-server/build/index.js" ] }

Usage

Ask Claude:

  • whats the latest slot on solana?
  • whats the balance of 62QXuWZ3WT6ws1ZFxJobVDVXn6bEsiYpLo5yG612U6u3?
  • Here's my test key [REPLACE WITH SECRET KEY]. let's transfer 0.001 SOL to [REPLACE WITH PUBLIC ADDRESS]

Security Note

Only use this with a test wallet with a small amount of funds.

RPC Endpoint

The server connects to Solana's mainnet at https://api.mainnet-beta.solana.com. To use a different network (like devnet or testnet), modify the SOLANA_RPC constant in src/index.ts.

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

A server that provides simple RPC endpoints for common Solana blockchain operations, allowing users to check balances, get account information, and transfer SOL between accounts.

  1. Features
    1. Quickstart
      1. Usage
        1. Security Note
          1. RPC Endpoint