soldefi-mcp
The soldefi-mcp server provides AI agents with paid access to Solana DeFi risk intelligence tools, settling micropayments automatically in USDC on Solana or Base via the x402 protocol.
Token Rug/Honeypot Scanning (scan_honeypot, $0.02): Check if a Solana SPL token is a rug or honeypot — analyzes mint/freeze authority, transfer taxes, top-holder concentration, and a live Jupiter buy→sell round trip. Returns a 0–100 risk score and AVOID/CAUTION/LOW RISK verdict.
Batch Honeypot Scan (scan_honeypot_batch, $0.10): Scan up to 10 token mints in a single call — more cost-effective than scanning individually.
Deep Liquidity Pool Analysis (analyze_pools, $0.04): Analyze pools across Raydium, Orca, Meteora, and pumpswap — real fee APR, wash-trade risk, age, TVL, and a live Jupiter slippage ladder. Recommends the best risk-adjusted pool.
Top Pools Ranking (top_pools, $0.05): Rank the best Solana DEX pools with wash-traded and fake-volume pools filtered out, by risk-adjusted fee yield.
Liquidity Durability Check (check_lp_status, $0.02): Assess rug-pull exposure via pool TVL, age, burned-supply share, and mint/freeze authority status. Returns a 0–100 liquidity-risk score and a DURABLE/SHAKY/FRAGILE/RUG-PRONE verdict.
Deployer Reputation Check (check_deployer, $0.03): Trace a token's creator wallet, their remaining holdings, wallet age, and token age. Flags fresh wallets and heavy insider holdings with a 0–100 risk score.
Sellability Check (can_i_sell, $0.01): Simulate selling a specific USD amount via a live Jupiter round trip — reports USDC recovered, real price impact, and tax/friction loss at your exact trade size.
Exit Risk Assessment (check_exit_risk, $0.04): Cross Birdeye smart-money signals (whale flows, bundler/sniper tags, sell pressure) with a live Jupiter slippage ladder. Returns a LOW/ELEVATED/HIGH exit-risk verdict.
Full Token Workup (full_scan, $0.08): One-call bundle of honeypot + LP durability + deployer + exit-risk analysis with an aggregated overall risk score and top flags — cheaper than buying the four tools separately.
Portfolio Rug Scan (scan_wallet_risk, $0.08): Scan a Solana wallet's SPL holdings (up to 10 positions) for rug/honeypot risk, with per-token scores and a summary of which mints to exit.
Free Mint Address Validation (validate_mint, free): Locally validate a Solana mint address format before making any paid calls, avoiding charges on malformed input.
Provides tools for Solana DeFi risk intelligence, including rug/honeypot scans, liquidity pool analysis, and wash-trade-filtered pool ranking. Integrates with Solana blockchain for micropayments in USDC.
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., "@soldefi-mcpscan mint So11111111111111111111111111111111111111112 for rug risk"
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.
soldefi-mcp
An MCP (Model Context Protocol) server that gives AI agents paid access to Solana DeFi risk intelligence — rug/honeypot scans, deep liquidity-pool analysis, and a wash-trade-filtered "real best pools" ranking. Each paid call settles an x402 micropayment in USDC (on Solana or Base) automatically, using a wallet you configure. A call is charged only on success — malformed input is rejected for free.
It talks to the hosted Solana DeFi Intelligence API
(https://soldefi.thomenz.me by default). This package is a thin payment-client
bridge; the intelligence runs server-side.
Tools
Tool | Price | What it does |
| $0.02 | Rug/honeypot scan of an SPL token by mint: mint/freeze authority renounced?, Token-2022 transfer tax, top-holder concentration, and a live Jupiter buy→sell round trip as a strong signal the token is sellable at scan time (catches most honeypots). Returns a 0–100 risk score + |
| $0.04 | Deep liquidity-pool analysis across Raydium/Orca/Meteora/pumpswap: real fee APR, wash-trade risk, age, TVL, a token rug verdict, and a real Jupiter slippage ladder ($100/$1k/$10k). Recommends the best risk-adjusted pool. |
| $0.05 | The real best Solana DEX pools — wash-traded/fake-volume pools filtered out, the rest ranked by risk-adjusted fee yield, with an |
| $0.02 | Liquidity durability / rug-pull exposure: pools (TVL, age, DEX), largest-pool depth, burned-supply share, and whether mint/freeze authority is still live. Returns a 0-100 liquidity-risk score + verdict ( |
| $0.03 | Deployer reputation: creator wallet address, creator's remaining holding %, wallet age, and token age. Verdict flags fresh wallets, heavy insider holding, and brand-new tokens. |
| $0.01 | Real-time sellability check at YOUR size: simulates exiting a specific USD amount of a Solana token via a live Jupiter buy→sell round trip and reports USDC recovered, real sell price impact, and tax/friction loss. |
| $0.04 | Can I get out, and at what cost? Crosses Birdeye smart-money flow (whale net buy/sell 24h, bundler/sniper manipulation tags, 1h sell-pressure, holder count) with a live Jupiter exit-slippage ladder ($1k/$10k) → |
| $0.08 | One-call full workup: bundles honeypot + LP durability + deployer + exit-risk into a single verdict with an aggregated |
| $0.08 | Portfolio rug scan: reads a wallet's SPL holdings and runs the full honeypot/rug scan on each (up to 10 positions), returning per-token risk and which mints to exit. |
| $0.10 | Batch rug/honeypot scan: submit up to 10 Solana token mints and get the full per-token honeypot verdict for each in one paid call (cheaper than scanning individually). |
| free | Local base58 mint-address format check. No payment. |
Related MCP server: cryptoiz-mcp
Install & configure
Add it to your MCP client (Claude Code, Claude Desktop, …). Only a paying wallet is required — everything else defaults to production.
{
"mcpServers": {
"soldefi": {
"command": "npx",
"args": ["-y", "soldefi-mcp"],
"env": {
"SOLANA_PRIVATE_KEY": "<base58-or-JSON-array secret key of a DEDICATED Solana wallet holding USDC>"
}
}
}
}You can pay on Base instead of (or in addition to) Solana by setting
EVM_PRIVATE_KEY (0x…). If both are set, the x402 layer uses whichever rail
the server's payment challenge advertises.
Environment
Var | Default | Notes |
| — | base58 or JSON-array secret key (32 or 64 bytes) of the paying Solana wallet. |
| — |
|
|
| Point at your own Worker if self-hosting. |
|
|
|
| — | Optional RPC used to build the Solana payment (e.g. a Helius URL). Public default otherwise. |
🔐 Security: these keys control real funds. Use a dedicated wallet with a small balance, never a personal/treasury key. Anything that can read this process' environment can spend from it.
The wallet needs
A little USDC on the chosen chain to pay per call.
On Solana, a tiny bit of SOL is not required for the payment itself (the facilitator sponsors the transaction fee), but the receiving side must have a USDC token account — which it does on the hosted service.
Develop
pnpm install
pnpm --filter soldefi-mcp build # tsc → dist/
SOLANA_PRIVATE_KEY=… pnpm --filter soldefi-mcp dev # run from sourceLicense
MIT
Maintenance
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/thomenz/soldefi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server