Solana Vault MCP
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
Klonen Sie das Repository:
git clone https://github.com/olaxbt/solana-vault-mcp.git cd solana-vault-mcpErstellen und aktivieren Sie eine virtuelle Umgebung:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activateInstallieren Sie Abhängigkeiten:
pip install -r requirements.txtErstellen Sie eine
.envDatei basierend auf.env.example:cp .env.example .envBearbeiten Sie die
.envDatei, um Ihren privaten Solana-Schlüssel und die RPC-URL hinzuzufügen.
Verwendung
Starten des Servers
python run.pyDer Server wird auf dem in Ihrer .env Datei angegebenen Port gestartet (Standard: 5000).
API-Endpunkte
GET /- Willkommensseite mit ServiceinformationenGET /health– Endpunkt für die IntegritätsprüfungGET /api/mcp/ping– Integritätsprüfung des MCP-DienstesPOST /api/mcp/query– Haupt-MCP-Abfrageendpunkt
MCP-Aktionen
Das Solana Vault MCP unterstützt die folgenden Aktionen:
wallet.info- Wallet-Informationen abrufenwallet.balance– SOL-Guthaben abrufenwallet.transfer– Übertragen Sie SOL auf eine andere Walletwallet.transactions- Aktuelle Transaktionen abrufenwallet.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 # DocumentationAusführen von Tests
pytestLizenz
MIT
Beitragen
Beiträge sind willkommen! Senden Sie gerne einen Pull Request.
This server cannot be deployed
Maintenance
Related MCP Connectors
Run all your Solana wallets from your AI: send, swap, split, consolidate and clean up.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Native Solana staking for AI agents. 26 MCP tools, one-shot signing, webhooks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA 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.46 npm166Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA 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.46 npm21MIT
- AlicenseNot gradedqualityDmaintenanceA 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.5MIT
- FlicenseNot gradedqualityDmaintenanceA 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-