JUHE API Marketplace
olaxbt avatar
MCP Server

Solana Vault MCP

A secure Model Context Protocol server that enables AI assistants to interact with the Solana blockchain without direct access to private keys, supporting operations like balance checking, SOL transfers, and transaction history retrieval.

6
GitHub Stars
3/9/2026
Last Updated
No Configuration
Please check the documentation below.
  1. Home
  2. MCP Servers
  3. solana-vault-mcp

README Documentation

Solana Vault MCP

A Model Context Protocol (MCP) implementation for secure Solana blockchain wallet operations in python.

Overview

Solana Vault MCP provides secure wallet operations for Solana blockchain through a standardized Model Context Protocol interface. It allows AI assistants to securely interact with the Solana blockchain without direct access to private keys.

Features

  • Secure Solana wallet operations
  • SOL balance checking
  • SOL transfer capabilities
  • Transaction history retrieval
  • Model Context Protocol compliant API
  • Support for Flask web server and WebSocket connections
  • Detailed logging and error handling

Installation

Prerequisites

  • Python 3.9+
  • pip

Setup

  1. Clone the repository:

    git clone https://github.com/olaxbt/solana-vault-mcp.git
    cd solana-vault-mcp
    
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Create a .env file based on .env.example:

    cp .env.example .env
    
  5. Edit the .env file to add your Solana private key and RPC URL.

Usage

Starting the Server

python run.py

The server will start on the port specified in your .env file (default: 5000).

API Endpoints

  • GET / - Welcome page with service information
  • GET /health - Health check endpoint
  • GET /api/mcp/ping - MCP service health check
  • POST /api/mcp/query - Main MCP query endpoint

MCP Actions

The Solana Vault MCP supports the following actions:

  1. wallet.info - Get wallet information
  2. wallet.balance - Get SOL balance
  3. wallet.transfer - Transfer SOL to another wallet
  4. wallet.transactions - Get recent transactions
  5. wallet.token_balance - Get token balance for a specific token

Example Query

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

Response:

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

Development

Project Structure

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

Running Tests

pytest

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.aiFeatured on ShowMeBestAI
Copyright © 2026 JUHEDATA HK LIMITED - All rights reserved