solana-agent-mcp
This MCP server enables AI agents to interact with the Solana blockchain via natural language, supporting both read-only queries and write transactions (when a PRIVATE_KEY is configured).
Read / Query Operations:
SOL Balance: Check the SOL balance of any wallet address.
SPL Token Balance: Query any SPL token balance for a given wallet and mint.
Token Info: Retrieve on-chain metadata (decimals, supply, authorities) for any SPL token.
SOL Price: Fetch the current SOL/USD price.
Recent Pump.fun Tokens: Scan the latest pump.fun tokens in real-time via Helius WebSocket.
Transaction Lookup: Fetch details and status of any transaction by signature.
Wallet Info: Get the server wallet address and its current balance.
Health Check: Monitor RPC status, scanner status, and overall system health.
Write / Transaction Operations (requires PRIVATE_KEY):
Send SOL: Transfer SOL to any address.
Send SPL Tokens: Transfer SPL tokens to any address.
Swap: Execute token swaps via Jupiter with optional slippage control.
Buy Pump.fun Tokens: Buy memecoins on pump.fun with a specified SOL amount.
Sell Pump.fun Tokens: Sell pump.fun tokens for SOL.
Devnet Airdrop: Request SOL on devnet for testing purposes.
Safety & Security Features:
Private key stays local and never leaves your machine.
Runs in read-only mode by default if no private key is configured.
Requires explicit confirmation for transactions exceeding 0.01 SOL.
Includes a balance guard to prevent trading if SOL reserve drops below 0.01 SOL.
Provides Solscan explorer links for every executed transaction.
Communicates via local standard I/O to prevent API key exposure.
Provides tools for interacting with the Solana blockchain, including balance checks, token info, price, transaction details, airdrop, and scanning pump.fun tokens for trading signals.
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., "@solana-agent-mcp scan recent pump.fun tokens"
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 Agent MCP
Your on-chain copilot. An MCP (Model Context Protocol) server that gives AI agents full read/write access to the Solana blockchain — check balances, send SOL, swap tokens via Jupiter, scan pump.fun tokens in real-time, and trade memecoins. All through natural conversation. No API keys shared with the agent.
Architecture
┌──────────────┐ MCP stdio (local) ┌──────────────────────┐
│ AI Agent │◄─────────────────────────►│ solana-agent-mcp │
│ (Claude) │ No network, no auth │ (your machine) │
└──────────────┘ └────────┬─────────────┘
│
Helius WS + RPC
Jupiter API
Pump.fun API
│
┌─────▼──────┐
│ Solana │
│ Blockchain│
└────────────┘The MCP server runs as a local process. AI agents connect via stdin/stdout (standard MCP protocol). Your private key signs transactions locally — it never leaves your machine. The agent never sees your key.
Related MCP server: Pique Signal
Installation
git clone https://github.com/KorroAi/solana-agent-mcp.git
cd solana-agent-mcp
npm install
cp .env.example .envEdit .env:
HELIUS_API_KEYS=your-key-1,your-key-2 # Free at helius.dev
PRIVATE_KEY=your-phantom-base58-key # Optional — for live transactions
SOLANA_MCP_PORT=8791 # Defaultnpm run devThen type /solana in Claude Code. The wizard guides you.
MCP Tools (14 total)
Read — Query blockchain state
Tool | Parameters | Returns |
|
| SOL balance + lamports |
|
| SPL token balance |
|
| Decimals, supply, authorities |
| — | SOL/USD price |
| — | Recent pump.fun tokens |
|
| Tx details + status |
| — | Server wallet address + balance |
| — | RPC status, scanner, wallet |
Write — Execute transactions (requires PRIVATE_KEY)
Tool | Parameters | Returns |
|
| Tx signature + Solscan link |
|
| Tx signature + Solscan link |
|
| Tx signature + route |
|
| Tx signature + pump.fun link |
|
| Tx signature + Solscan link |
|
| Tx signature (devnet only) |
Resources
URI | Content |
| Current SOL/USD price |
| Last 20 pump.fun tokens |
Safety
Local signing: Private key never leaves your machine
Confirmation gate: Transactions >0.01 SOL require explicit confirmation
Solscan links: Every transaction returns an explorer link
Read-only by default: No wallet = no write access, everything still works
No API keys shared: The agent communicates via local stdio, not over the network
Balance guard: Won't trade below 0.01 SOL reserve
/solana — Slash Command
/solana
> check my balance → "You have 0.112 SOL (~$8.90)"
> send 0.01 SOL to 7bN2... → "Sending... confirmed! tx: 2PFCa..."
> scan pump.fun tokens → "4 new tokens detected"
> swap 0.05 SOL to USDC → "Best route: SOL→USDC via Jupiter"
> buy B1bN... for 0.02 SOL → "Buy executed! pump.fun/coin/B1bN..."License
GNU Affero General Public License v3.0 (AGPL-3.0)
This is strong copyleft. You can use, modify, and distribute this software freely. If you run a modified version as a network service, you MUST release your modifications to the community. Companies cannot take this code, improve it privately, and sell it as a proprietary service.
See LICENSE for the full text.
AGPL-3.0 — Free as in freedom. Share your improvements.
Available Tools
8 toolssolana_get_balanceC
Get SOL balance for any Solana wallet address
Inputs: no named parameters.
solana_get_priceA
Get current SOL price in USD
Inputs: no named parameters.
solana_get_token_balanceC
Get SPL token balance for a wallet address and token mint
Inputs: no named parameters.
solana_get_token_infoB
Get on-chain metadata for any SPL token: decimals, supply, authorities
Inputs: no named parameters.
solana_get_transactionC
Get transaction details by signature
Inputs: no named parameters.
solana_healthA
System health: RPC status, scanner status, SOL price
Inputs: no named parameters.
solana_request_airdropA
Request SOL airdrop on devnet (testnet only, not mainnet)
Inputs: no named parameters.
solana_scan_tokensB
Scan recent pump.fun tokens from real-time Helius WebSocket
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct function: balance, price, token operations, transaction details, health check, airdrop, and token scanning. No overlap or ambiguity exists.
All tools share the 'solana_' prefix and mostly use verb_noun pattern (get_balance, request_airdrop). The 'solana_health' tool deviates slightly by lacking a verb, but it's still clear.
Eight tools is well-scoped for a Solana agent covering queries, health, and airdrop. Each tool serves a distinct purpose without being excessive or insufficient.
Covers common queries (balance, price, token info, transaction) and devnet airdrop, but lacks essential operations like token transfers or swaps, limiting practical use.
Maintenance
Related MCP Connectors
Solana + pump.fun intel for agents: launch verdicts, token risk, dev/wallet records, smart money.
Solana + pump.fun intel for agents: launch verdicts, token risk, dev/wallet records, smart money.
Live Solana memecoin data: token scores, bundle detection, wallet and deployer history.
Memecoin safety scanner for Solana, BNB and Robinhood Chain with an onchain track record
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceSolana on-chain intelligence API — token scans, wallet PnL, bundle detection, fresh wallets, dev profiling. MCP server for Claude, Cursor & AI agents. Live PumpFun/Raydium streams1MIT

Pique Signalofficial
AlicenseAqualityCmaintenanceLive scored Solana memecoin signals with safety profiles, conviction scoring, and paper trading for AI agents.6MIT- AlicenseAqualityBmaintenanceSolana memecoin rug check and token risk for trading agents in the trenches: pump.fun launches, calibrated rug probability with a published hit rate, sniper, insider and bundle detection, holder clusters, KOL trades, wallet history and a live sellability check for memecoins. Available as a remote MCP endpoint (OAuth or API key) and as an npm stdio package.26122 npm3MIT
- AlicenseAqualityCmaintenanceEnables agents to read live pump.fun coin calls, market and study data, and paper-trade results graded by net return after costs, plus backtest and run custom entry/exit strategies against published history. It exposes these as MCP tools, prompts, and a hosted or local server with no wallet or key required.1353 npm8MIT