Skip to main content
Glama
Solana MCP Server

Solana MCP Server

by akc2267

Servidor MCP de Solana

Un servidor de Modelo-Contexto-Protocolo para interactuar con la blockchain de Solana. Este servidor proporciona puntos finales RPC simples para operaciones comunes de Solana.

Características

  • Obtener el número de ranura actual

  • Consultar saldos de cuentas

  • Obtenga información detallada de la cuenta

  • Mostrar información del par de claves

  • Transferir SOL entre cuentas

Related MCP server: Model Context Protocol Server for Solana Client

Inicio rápido

clonar e instalar dependencias:

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

construir la herramienta

npm run build

agrega la herramienta a tu claude_desktop_config.json

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

Uso

Pregúntale a Claude:

  • ¿Cuál es la última tragamonedas en Solana?

  • ¿Cuál es el saldo de 62QXuWZ3WT6ws1ZFxJobVDVXn6bEsiYpLo5yG612U6u3?

  • Aquí está mi clave de prueba [REEMPLAZAR CON CLAVE SECRETA]. Transfiramos 0.001 SOL a [REEMPLAZAR CON DIRECCIÓN PÚBLICA]

Nota de seguridad

Utilice esto únicamente con una billetera de prueba con una pequeña cantidad de fondos.

Punto final de RPC

El servidor se conecta a la red principal de Solana en https://api.mainnet-beta.solana.com . Para usar una red diferente (como devnet o testnet), modifique la constante SOLANA_RPC en src/index.ts .

Available Tools

5 tools
getAccountInfoB

Get detailed account information for a Solana address

Inputs: address (required), encoding.

getBalanceC

Get balance for a Solana address

Inputs: address (required).

getKeypairInfoC

Get information about a keypair from its secret key

Inputs: secretKey (required).

getSlotC

Get the current slot

Inputs: no named parameters.

transferC

Transfer SOL from your keypair to another address

Inputs: amount (required), secretKey (required), toAddress (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: getAccountInfo retrieves detailed account data, getBalance focuses on balance only, getKeypairInfo handles keypair details, getSlot provides blockchain slot information, and transfer performs SOL transactions. There is no overlap or ambiguity in their functions.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using camelCase (e.g., getAccountInfo, getBalance, transfer). The naming is uniform and predictable across all five tools.

    Tool Count4/5

    With 5 tools, the count is well-scoped for a Solana server, covering essential operations like querying accounts, balances, keypairs, slots, and transfers. It feels slightly thin but reasonable for basic blockchain interactions.

    Completeness3/5

    The tools cover key read operations (getAccountInfo, getBalance, getSlot) and a basic write operation (transfer), but there are notable gaps such as missing transaction history, program interactions, or token operations that are common in Solana workflows. Agents can work around this for simple tasks.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A 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.
      6
      MIT