Solana Trading MCP Server
Allows AI agents to execute trades, monitor balances, and manage transactions on the Solana blockchain.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Solana Trading MCP Serverswap 0.1 SOL for USDC"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🤖 Solana Trading MCP Server
🖥️ Live Demo → An AI-powered Solana trading bot with a live dashboard, built on the MCP (Model Context Protocol) framework.
Features
MCP Server — exposes Solana trading tools via HTTP for any AI agent
AI Agent — connects a local Ollama model (hermes3) to control the bot
Live Dashboard — monitor trades, balances, and bot status
Bot Studio — configure and control the bot from the browser
Transaction Trail — full history of all transactions
Paper Mode — test without real money
Related MCP server: @blockrun/alpha
Tech Stack
Python, FastAPI, FastMCP 2.0
Solana, solders, anchorpy
Streamlit + Plotly dashboard
LangChain + Ollama (hermes3)
SQLite + Redis for state
Setup
Clone the repo
git clone https://github.com/itsKazgar/solana-mcp-server.git
cd solana-mcp-serverCreate virtual environment
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtCopy and fill in your config
cp .env.example .envReplace YOUR_IP in agent.py and mcp_config.json with your server IP
Start the server
python main.pyStart the dashboard
streamlit run dashboard/app.pySecurity
Never commit your .env file
Use PAPER_MODE=true before trading real funds
Generate a strong token: openssl rand -hex 32
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/itsKazgar/solana-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server