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 "Deploy 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 deployed
Maintenance
Related MCP Connectors
Solana tools over MCP: Jupiter swaps, SPL tokens, Metaplex NFTs, SNS domains, network stats.
Solana MCP for wallets, trades, markets, PnL, transfers, onchain data, signable swaps and API tools.
Native Solana staking for AI agents. 26 MCP tools, one-shot signing, webhooks.
Solana MCP developer toolkit: wallets, trades, markets, PnL, transfers, onchain, swaps & API tools.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to interact with cryptocurrency ecosystems through wallet management, trading operations (swaps, DCA, limit orders), staking, and multi-chain support starting with Solana.37GPL 3.0
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with the Solana blockchain network, supporting documentation search, blockchain queries, wallet management, and cryptographic signing operations on Devnet and Testnet.-
- AlicenseAqualityDmaintenanceMCP server giving AI agents access to Solana blockchain data. 7 tools: wallet balances, transaction history, token prices (Jupiter + CoinGecko), token metadata, DeFi yields (Raydium + Orca), and token safety checks (RugCheck scores, holder concentration, insider detection).81MIT
- AlicenseAqualityDmaintenanceEnables AI agents to read chain data, execute transactions, swap tokens, and manage wallets on Solana through 38 tools across 7 modules. Supports write operations with a private key and includes built-in prompts for common workflows.381MIT