Skip to main content
Glama

solana-mcp-server

npm version License: MIT Node Tools

Vollständiger Solana-Blockchain-MCP-Server. 25 Tools für Wallet-Verwaltung, SPL-Token-Operationen, DeFi, Staking und Netzwerkabfragen. Basiert auf @solana/web3.js und @solana/spl-token mit Anchor-Unterstützung.

Der am aktivsten gewartete Solana-MCP. Deckt den vollständigen SPL-Token-Lebenszyklus ab (Erstellen, Minten, Verbrennen, Einfrieren, Auftauen, Delegieren, Autoritätsverwaltung), den Konkurrenzprodukte auslassen.

Installation

npx solana-mcp-server

Oder global installieren:

npm install -g solana-mcp-server
solana-mcp-server

Related MCP server: SolanaBot

Konfiguration

Zur MCP-Konfiguration hinzufügen (claude_desktop_config.json oder ~/.mcp.json):

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

Tools (25)

Wallet-Verwaltung (4)

Tool

Beschreibung

Wichtige Parameter

create_wallet

Erstellt ein neues Solana-Schlüsselpaar (nur im Arbeitsspeicher)

--

import_wallet

Importiert aus einem Base58-kodierten privaten Schlüssel

privateKey

list_wallets

Listet alle Wallets der aktuellen Sitzung auf

--

get_balance

Ruft den SOL-Kontostand für eine beliebige Adresse ab

address

SPL-Token-Operationen (10)

Tool

Beschreibung

Wichtige Parameter

create_spl_token

Erstellt einen neuen SPL-Token mit benutzerdefinierten Dezimalstellen

walletName, decimals

mint_tokens

Mintet Token an eine beliebige Adresse

walletName, tokenMint, amount

burn_tokens

Verbrennt Token von einem Konto

walletName, tokenMint, amount

freeze_account

Friert ein Token-Konto ein

walletName, tokenMint, accountAddress

thaw_account

Taut ein Token-Konto auf

walletName, tokenMint, accountAddress

set_token_authority

Ändert die Token-Autorität (Mint, Freeze, Owner, Close)

walletName, tokenMint, authorityType

get_token_supply

Gesamtangebot und Metadaten für einen Token

tokenMint

close_token_account

Schließt ein Konto und fordert die Miete zurück

walletName, tokenAccount

approve_delegate

Genehmigt einen Delegierten für Token-Transfers

walletName, tokenAccount, delegate, amount

revoke_delegate

Widerruft die Delegiertengenehmigung

walletName, tokenAccount

Transfers (3)

Tool

Beschreibung

Wichtige Parameter

transfer_sol

Überträgt SOL zwischen Wallets

from, to, amount

transfer_tokens

Überträgt SPL-Token

from, to, tokenMint, amount

airdrop_sol

Fordert einen SOL-Airdrop an (nur Devnet/Testnet)

address, amount

Kontoabfragen (4)

Tool

Beschreibung

Wichtige Parameter

get_account_info

Detaillierte Kontoinformationen

address

get_transaction

Transaktionsdetails nach Signatur

signature

create_token_account

Erstellt ein zugehöriges Token-Konto

walletName, tokenMint

get_token_accounts

Listet alle Token-Konten für eine Wallet auf

address

Token-Daten (1)

Tool

Beschreibung

Wichtige Parameter

get_token_balance

SPL-Token-Kontostand für ein bestimmtes Konto

address, tokenMint

Netzwerk (3)

Tool

Beschreibung

Wichtige Parameter

switch_network

Wechselt zwischen Mainnet, Devnet, Testnet, Localhost

network

get_network_info

Aktueller Netzwerkstatus und Informationen

--

get_recent_blockhash

Aktueller Blockhash für die Transaktionserstellung

--

Warum dieses Tool?

  • Vollständiger SPL-Token-Lebenszyklus. Erstellen, Minten, Verbrennen, Einfrieren, Auftauen, Autorität festlegen, Delegieren, Schließen -- 10 Token-Tools, die jeden Vorgang abdecken. Konkurrenzprodukte hören bei Erstellen/Übertragen auf.

  • Produktionsreife Infrastruktur. Lazy-Connection-Initialisierung (keine Start-Timeouts), 10-sekündige Timeouts für Netzwerkaufrufe, umfassende Fehlerbehandlung und Unterstützung für Smithery-Bereitstellung.

  • Anchor-Integration. Gebaut mit @coral-xyz/anchor-Unterstützung für die Interaktion mit Anchor-Programmen neben rohen SPL-Token-Operationen.

Netzwerke

Netzwerk

Endpunkt

mainnet

https://api.mainnet-beta.solana.com

devnet

https://api.devnet.solana.com

testnet

https://api.testnet.solana.com

localhost

http://127.0.0.1:8899

Sicherheit

  • Private Schlüssel werden nur im Arbeitsspeicher gespeichert -- niemals auf der Festplatte

  • Schlüssel werden beim Beenden des Prozesses gelöscht

  • Alle Eingaben werden mit Zod-Schemas validiert

Umgebungsvariablen

Variable

Erforderlich

Beschreibung

SOLANA_RPC_URL

Nein

Solana RPC-Endpunkt (Standard: Mainnet)

Entwicklung

git clone https://github.com/ExpertVagabond/solana-mcp-server.git
cd solana-mcp-server
npm install
npm run build
npm start
npm test              # Basic functionality tests
npm run type-check    # TypeScript type checking
npm run lint          # ESLint
npm run quality       # Full quality check (lint + types + tests)

Lizenz

MIT -- Purple Squirrel Media

Install Server
A
license - permissive license
B
quality
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with the Solana blockchain through Claude Desktop, allowing users to check SOL balances, transfer SOL between accounts, and request airdrops using the Model Context Protocol.
    8,867
    BSD 2-Clause "Simplified"
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to read chain data, execute transactions, swap tokens, and manage wallets on Solana through 38 tools across 7 modules. Supports write operations with a private key and includes built-in prompts for common workflows.
    38
    1
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Appeared in Searches

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ExpertVagabond/solana-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server