Soldefi Mcp

io.github.thomenz由 GitHub 帳號 thomenz 發布v0.5.2更新於 Oct 24, 2026

Solana DeFi risk intel over x402: rug/honeypot scans, pool analysis, wash-filtered pools.

已驗證STDIO僅桌面金融安全與監控

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理取得付費的 Solana DeFi 風險情報:蜜罐掃描、池子分析與出場風險,每次呼叫以 USDC 經 x402 結算。

可以做什麼
  • 掃描代幣與錢包的跑路/蜜罐風險,回傳風險分數與結論,支援單筆與批次
  • 分析 Raydium、Orca、Meteora、pumpswap 的流動性池,並排出風險調整後最佳池
  • 依指定美元規模檢查可賣出性與出場風險,並查看部署者聲譽與 LP 耐久度
  • 一次呼叫完成蜜罐、LP、部署者與出場風險的組合總體檢
  • 建立附帶跑路檢查的未簽署 Jupiter 兌換交易,並免費驗證 mint 位址格式
適用情境
適合在交易前請助理查核 Solana 代幣或池子、判斷持倉能否順利出場,或篩檢某錢包持倉的跑路風險。這是按次付費服務,較適合已在 Solana 或 Base 持有 USDC、想在對話中自動完成盡職調查的使用者。
執行需求
透過 npx 在本機執行(需 Node.js)。需要一個有餘額的付款錢包:SOLANA_PRIVATE_KEY 和/或 EVM_PRIVATE_KEY,並在所選鏈上持有 USDC。可選 SOLANA_RPC_URL、SOLDEFI_BASE_URL 與 X402_NETWORK(設為 base-sepolia 走測試網)。預設需能連線至託管 API。
安裝前請注意
私鑰可動用真實資金,每個付費工具都會花費 USDC;請使用餘額很少的專用錢包,切勿使用個人或金庫私鑰,因為任何能讀取該行程環境的人都可從中付款。build_guarded_swap 回傳未簽署交易,賣出為 USDC/SOL 時含 0.5% 費用,須由你的錢包簽署。除非自行架設,代幣與池子資料會傳送到第三方託管 API。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Soldefi Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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

ToolPriceWhat it does
scan_honeypot$0.005Rug/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 + AVOID/CAUTION/LOW RISK verdict.
analyze_pools$0.015Deep 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.
top_pools$0.02The real best Solana DEX pools — wash-traded/fake-volume pools filtered out, the rest ranked by risk-adjusted fee yield, with an excluded list of what was dropped and why.
check_lp_status$0.005Liquidity 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 (DURABLE/SHAKY/FRAGILE/RUG-PRONE).
check_deployer$0.01Deployer reputation: creator wallet address, creator's remaining holding %, wallet age, and token age. Verdict flags fresh wallets, heavy insider holding, and brand-new tokens.
can_i_sell$0.003Real-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.
check_exit_risk$0.015Can 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) → LOW/ELEVATED/HIGH exit-risk. The sellability wedge: are whales dumping into a thin book that traps you?
full_scan$0.03One-call full workup: bundles honeypot + LP durability + deployer + exit-risk into a single verdict with an aggregated overall {riskScore, riskLevel, verdict, topFlags} — cheaper than buying the four separately (~$0.035).
scan_wallet_risk$0.03Portfolio 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.
scan_honeypot_batch$0.02Batch 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).
build_guarded_swap$0.001 + 0.5%Build a ready-to-sign Jupiter swap with the rug check in front: a critical verdict on the token you are BUYING returns the verdict and no transaction. Returns an UNSIGNED versioned transaction — your wallet signs, this service never custodies funds. The 0.5% platform fee applies only when SELLING into USDC/SOL (buying is fee-free) and rides inside the transaction you sign.
validate_mintfreeLocal base58 mint-address format check. No payment.

Install & configure

Add it to your MCP client (Claude Code, Claude Desktop, …). Only a paying wallet is required — everything else defaults to production.

json
{  "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

VarDefaultNotes
SOLANA_PRIVATE_KEY—base58 or JSON-array secret key (32 or 64 bytes) of the paying Solana wallet.
EVM_PRIVATE_KEY—0x-prefixed key of the paying Base wallet.
SOLDEFI_BASE_URLhttps://soldefi.thomenz.mePoint at your own Worker if self-hosting.
X402_NETWORKbasebase (mainnet → Solana mainnet) or base-sepolia (testnet → Solana devnet).
SOLANA_RPC_URL—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

bash
pnpm installpnpm --filter soldefi-mcp build      # tsc → dist/SOLANA_PRIVATE_KEY=… pnpm --filter soldefi-mcp dev   # run from source

License

MIT

來源:README.md,提交 78557d0

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.5.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分