2025-03-17 · 5 min read · Developer

RefundYourSOL MCP: Solana Tools for AI Agents

Connect your AI assistant to Solana with RefundYourSOL's MCP server. Scan wallets, trade tokens on 12+ DEXes, and get market data from conversational AI.

We just released refundyoursol — a Model Context Protocol server that lets AI assistants like Claude, Cursor, and Windsurf interact with Solana directly. Scan wallets, recover locked SOL, trade tokens, and fetch market data through natural conversation.

What is MCP?

The Model Context Protocol (MCP) is an open standard that lets AI models call external tools. Instead of copy-pasting wallet addresses and switching between apps, you just tell your AI assistant what to do and it handles the rest.

What Can It Do?

7 tools in one package:

Free (no private key needed):

With private key:

How It Compares

FeatureRefundYourSOL MCPUnclaimedSOL MCP
Wallet scanYesYes
Account closureYesYes
Token tradingYes (12+ DEXes)No
DEX detectionYesNo
Token metadataYesNo
Safety burnsYesNo
Fee matchingYes (down to 2%)No (fixed 5%)
Tools available74

Quick Setup

Claude Desktop / Cursor

Add to your MCP config:

json
{
  "mcpServers": {
    "refundyoursol": {
      "command": "npx",
      "args": ["-y", "refundyoursol"]
    }
  }
}

That's it. No API keys needed for scanning and market data. Add SOLANA_PRIVATE_KEY in the env block to enable trading and account closure.

Claude Code

bash
claude mcp add refundyoursol -- npx -y @refundyoursol/mcp

Safety First

Use Cases

Get Started

bash
npm install @refundyoursol/mcp

Or just use npx — no installation needed:

bash
npx @refundyoursol/mcp

Related: Solana Trading API: Buy & Sell Tokens Programmatically | How to Recover SOL from Unused Token Accounts

Full documentation and source code at github.com/refundyoursol/refundyoursol-mcp.

Ready to Recover Your SOL?

Connect your wallet and see how much SOL is locked in your empty token accounts.

Get Your SOL Back