Skip to main content
Glama

Solana Vault MCP

Eine Model Context Protocol (MCP)-Implementierung für sichere Solana-Blockchain-Wallet-Operationen in Python.

Überblick

Solana Vault MCP bietet sichere Wallet-Operationen für die Solana-Blockchain über eine standardisierte Model Context Protocol-Schnittstelle. Es ermöglicht KI-Assistenten die sichere Interaktion mit der Solana-Blockchain ohne direkten Zugriff auf private Schlüssel.

Related MCP server: Solana MCP Server

Merkmale

  • Sichere Solana-Wallet-Operationen

  • SOL-Guthabenprüfung

  • SOL-Übertragungsfunktionen

  • Abrufen des Transaktionsverlaufs

  • Model Context Protocol-kompatible API

  • Unterstützung für Flask-Webserver und WebSocket-Verbindungen

  • Detaillierte Protokollierung und Fehlerbehandlung

Installation

Voraussetzungen

  • Python 3.9+

  • Pip

Aufstellen

  1. Klonen Sie das Repository:

    git clone https://github.com/olaxbt/solana-vault-mcp.git
    cd solana-vault-mcp
  2. Erstellen und aktivieren Sie eine virtuelle Umgebung:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Installieren Sie Abhängigkeiten:

    pip install -r requirements.txt
  4. Erstellen Sie eine .env Datei basierend auf .env.example :

    cp .env.example .env
  5. Bearbeiten Sie die .env Datei, um Ihren privaten Solana-Schlüssel und die RPC-URL hinzuzufügen.

Verwendung

Starten des Servers

python run.py

Der Server wird auf dem in Ihrer .env Datei angegebenen Port gestartet (Standard: 5000).

API-Endpunkte

  • GET / - Willkommensseite mit Serviceinformationen

  • GET /health – Endpunkt für die Integritätsprüfung

  • GET /api/mcp/ping – Integritätsprüfung des MCP-Dienstes

  • POST /api/mcp/query – Haupt-MCP-Abfrageendpunkt

MCP-Aktionen

Das Solana Vault MCP unterstützt die folgenden Aktionen:

  1. wallet.info - Wallet-Informationen abrufen

  2. wallet.balance – SOL-Guthaben abrufen

  3. wallet.transfer – Übertragen Sie SOL auf eine andere Wallet

  4. wallet.transactions - Aktuelle Transaktionen abrufen

  5. wallet.token_balance – Token-Guthaben für ein bestimmtes Token abrufen

Beispielabfrage

{
  "id": "request123",
  "action": "wallet.balance",
  "params": {}
}

Antwort:

{
  "id": "request123",
  "result": {
    "balance": 1.5,
    "currency": "SOL",
    "address": "YourSolanaPublicKey"
  }
}

Entwicklung

Projektstruktur

solana-vault-mcp/
├── app/
│   ├── handlers/        # Action handlers
│   ├── routes/          # API routes
│   ├── services/        # Core services
│   └── utils/           # Utilities
├── logs/                # Log files
├── tests/               # Test cases
├── .env                 # Environment variables
├── .env.example         # Example environment file
├── requirements.txt     # Dependencies
├── run.py               # Main entry point
└── README.md            # Documentation

Ausführen von Tests

pytest

Lizenz

MIT

Beitragen

Beiträge sind willkommen! Senden Sie gerne einen Pull Request.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    A Model Context Protocol server that enables Claude AI to interact with the Solana blockchain through a standardized interface, providing tools for transactions, account queries, and wallet management.
    29
    163
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server enabling AI agents to interact with the Solana blockchain for DeFi operations like checking balances, transferring tokens, executing swaps, and fetching price data.
    29
    22
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI models to interact with the Solana blockchain, providing RPC methods, wallet management, DeFi trading capabilities, and Helius API integration for enhanced Solana development.
    5
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that enables Claude AI to interact with the Solana blockchain, allowing it to execute transactions, query accounts, manage wallets, get price predictions, trade tokens, and access various blockchain data sources.
    4

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/olaxbt/solana-vault-mcp'

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