Integrations
Manages environment variables for secure storage of Solana private keys and RPC URLs.
Provides a web server framework for exposing the Solana wallet operations through RESTful API endpoints and handling HTTP requests.
Offers testing capabilities for validating the functionality of the Solana wallet operations.
ソラナボールトMCP
Python での安全な Solana ブロックチェーン ウォレット操作のためのモデル コンテキスト プロトコル (MCP) 実装。
概要
Solana Vault MCPは、標準化されたモデルコンテキストプロトコルインターフェースを通じて、Solanaブロックチェーンの安全なウォレット操作を提供します。これにより、AIアシスタントは秘密鍵に直接アクセスすることなく、Solanaブロックチェーンと安全にやり取りできるようになります。
特徴
- Solanaウォレットの安全な運用
- SOL残高確認
- SOL転送機能
- 取引履歴の取得
- モデルコンテキストプロトコル準拠API
- Flask WebサーバーとWebSocket接続のサポート
- 詳細なログ記録とエラー処理
インストール
前提条件
- Python 3.9以上
- ピップ
設定
- リポジトリをクローンします。Copy
- 仮想環境を作成してアクティブ化します。Copy
- 依存関係をインストールします:Copy
.env.example
に基づいて.env
ファイルを作成します。Copy.env
ファイルを編集して、Solana 秘密キーと RPC URL を追加します。
使用法
サーバーの起動
Copy
サーバーは、 .env
ファイルで指定されたポート (デフォルト: 5000) で起動します。
APIエンドポイント
GET /
- サービス情報を含むウェルカムページGET /health
- ヘルスチェックエンドポイントGET /api/mcp/ping
- MCP サービスのヘルスチェックPOST /api/mcp/query
- メインMCPクエリエンドポイント
MCPアクション
Solana Vault MCP は次のアクションをサポートします。
wallet.info
情報を取得するwallet.balance
- SOL残高を取得wallet.transfer
- SOLを別のウォレットに転送するwallet.transactions
- 最近の取引を取得するwallet.token_balance
- 特定のトークンのトークン残高を取得する
クエリ例
Copy
応答:
Copy
発達
プロジェクト構造
Copy
テストの実行
Copy
ライセンス
マサチューセッツ工科大学
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
Related MCP Servers
- -securityAlicense-qualityA 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.Last updated -5972Apache 2.0
- -securityAlicense-qualityA 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.Last updated -5915TypeScriptMIT License
- -securityAlicense-qualityA 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.Last updated -TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that provides onchain tools for Claude AI, allowing it to interact with the Solana blockchain through a standardized interface for operations like managing assets, executing token operations, and retrieving network information.Last updated -6TypeScript