solagent-mcp
Provides tools for querying Solana wallet balances, token balances, transaction history, swapping tokens via Jupiter, sending SOL and SPL tokens (unsigned), and tracking market prices and trending tokens on Solana.
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., "@solagent-mcpGet a swap quote for 10 USDC to SOL"
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.
SolAgent
Solana MCP server for AI agents. Query wallets, swap tokens via Jupiter, send SOL/tokens, and track markets — all through Claude or any MCP-compatible client.
Install
git clone https://github.com/warfield2016/solagent-mcp.git
cd solagent-mcp
pip install -e .Related MCP server: Solana AI Terminal
Configure
cp .env.example .env
# Edit .env — add your Helius API key (free at https://dev.helius.xyz/)Use with Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"solagent": {
"command": "solagent",
"env": {
"HELIUS_API_KEY": "your_key_here"
}
}
}
}Tools
Tool | Description |
| SOL balance + USD value |
| All SPL token balances (Token + Token-2022) |
| Recent transaction history |
| Jupiter swap quote with routing |
| Build unsigned swap TX |
| Build unsigned SOL transfer |
| Build unsigned SPL token transfer |
| Token price (DexScreener) |
| Search by name/symbol/address |
| Trending tokens on Solana |
| Account details: owner, executable, balance |
Architecture
server.py FastMCP entry point + 11 tool definitions
tools/
wallet.py Balance, tokens, transactions
transfer.py SOL + SPL token transfers (unsigned)
swap.py Jupiter swap quotes + TX building
market_tools.py Prices, search, trending
utils/
solana_client.py JSON-RPC client (Token + Token-2022, account info)
jupiter.py Jupiter Swap API client
market.py DexScreener API clientSecurity
No private keys stored, passed, or logged
All write tools return unsigned transactions for external signing
SSRF protection: base58 validation on all mint addresses
Slippage capped at 1% (100 bps)
Transfer cap: 1000 SOL per transaction
RPC errors sanitized — no API keys or server details leak
License
MIT
This server cannot be installed
Maintenance
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/warfield2016/solagent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server