mcpField
S
Solana Model Context Protocol (MCP) Server

Solana Model Context Protocol (MCP) Server

Local
sol-mcp.comFinance6Updated 79w ago

About Solana Model Context Protocol (MCP) Server

Solana Model Context Protocol (MCP) Server is a Python server for applications that need Solana blockchain data and analytics. It combines MCP support with REST endpoints, WebSocket updates, and analysis for tokens, holders, accounts, and token accounts.

Key features

  1. 01Process real-time Solana data
  2. 02Provide REST API endpoints
  3. 03Support WebSocket updates
  4. 04Analyze token prices, market caps, and supply
  5. 05Identify large token holders
  6. 06Enrich token account data with pricing

Use cases

  1. 01Inspect token pricing and supply data
  2. 02Find large holders of a token
  3. 03Review parsed account details
  4. 04Assess token account values

MCP support

It implements MCP for access to Solana blockchain data and models. The README does not specify which MCP tools or resources are exposed.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Solana Model Context Protocol (MCP) Server

A Python-based server implementing the Model Context Protocol for the Solana blockchain. This server provides an interface for interacting with Solana blockchain data and models.

Features

  • Real-time Solana blockchain data processing
  • Model Context Protocol implementation
  • RESTful API endpoints for blockchain interaction
  • WebSocket support for real-time updates

Setup

Standard Setup
  1. Clone the repository
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Set up environment variables:
    cp .env.example .env
    
  4. Edit .env file with your Solana RPC node details
Docker Setup
  1. Build the Docker image:

    docker build -t solana-mcp-server .
    
  2. Run the Docker container:

    docker run -p 8000:8000 --env-file .env solana-mcp-server
    

Running the Server

Development mode:
python main.py
Production mode:
uvicorn main:app --host 0.0.0.0 --port 8000
Docker mode:
docker run -p 8000:8000 --env-file .env solana-mcp-server

API Documentation

Once the server is running, access API documentation at:

http://localhost:8000/docs

Environment Variables

The following environment variables can be configured:

  • HOST: Server host (default: 0.0.0.0)
  • PORT: Server port (default: 8000)
  • DEBUG: Enable debug mode (default: False)
  • LOG_LEVEL: Logging level (default: INFO)
  • CORS_ORIGINS: Comma-separated list of allowed CORS origins (default: *)
  • RELOAD: Enable hot reload for development (default: False)

Enhanced Solana Analytics API

The server provides enhanced Solana analytics capabilities through the following endpoints:

Token Information
POST /api/analyzer/token

Get detailed information about a token including price, market cap, and supply data.

Whale Detection
POST /api/analyzer/whales

Identify large holders ("whales") of specific tokens with configurable thresholds.

Enhanced Account Analysis
POST /api/analyzer/account

Get detailed parsed account information with additional context.

Token Accounts with Pricing
POST /api/analyzer/token-accounts

Get token accounts for an address with enriched pricing and valuation data.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.