NestDaddy

Soldefi Mcp

io.github.thomenz/soldefi-mcp ยท v0.5.2

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

Connect Runs on your machine

Terminal
claude mcp add soldefi-mcp -e SOLANA_PRIVATE_KEY=<SOLANA_PRIVATE_KEY> -e EVM_PRIVATE_KEY=<EVM_PRIVATE_KEY> -e SOLANA_RPC_URL=<SOLANA_RPC_URL> -e SOLDEFI_BASE_URL=<SOLDEFI_BASE_URL> -e X402_NETWORK=<X402_NETWORK> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "soldefi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>",
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
        "SOLDEFI_BASE_URL": "<SOLDEFI_BASE_URL>",
        "X402_NETWORK": "<X402_NETWORK>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "soldefi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>",
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
        "SOLDEFI_BASE_URL": "<SOLDEFI_BASE_URL>",
        "X402_NETWORK": "<X402_NETWORK>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "soldefi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>",
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
        "SOLDEFI_BASE_URL": "<SOLDEFI_BASE_URL>",
        "X402_NETWORK": "<X402_NETWORK>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
SOLANA_PRIVATE_KEY
Optional, secret
base58 or JSON-array secret key of a DEDICATED Solana wallet holding USDC (pays per call). Configure this and/or EVM_PRIVATE_KEY; the x402 layer settles on whichever rail the 402 advertises. Paid tools return 402 without one; the free validate_mint tool still works.
EVM_PRIVATE_KEY
Optional, secret
0x private key of a DEDICATED wallet holding USDC on Base (pays per call). Configure this and/or SOLANA_PRIVATE_KEY; the x402 layer settles on whichever rail the 402 advertises. Paid tools return 402 without one; the free validate_mint tool still works.
SOLANA_RPC_URL
Optional
Optional Solana RPC override used to build the payment (e.g. a Helius URL). Only read when SOLANA_PRIVATE_KEY is set.
SOLDEFI_BASE_URL
Optional
Base URL of a soldefi Worker. Defaults to the hosted production API (https://soldefi.thomenz.me).
X402_NETWORK
Optional
Set to 'base-sepolia' to pay on testnet, which switches BOTH rails (Solana devnet + Base Sepolia). Any other value, including unset, pays on mainnet.

Details

Package[email protected] (NPM, stdio)
First published4 Aug 2026
Last updated4 Aug 2026
Registry nameio.github.thomenz/soldefi-mcp

More finance and crypto servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.