Solana DeFi risk intel over x402: rug/honeypot scans, pool analysis, wash-filtered pools.
Connect Runs on your machine
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]
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
SOLANA_PRIVATE_KEYOptional, 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_KEYOptional, 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_URLOptional | Optional Solana RPC override used to build the payment (e.g. a Helius URL). Only read when SOLANA_PRIVATE_KEY is set. |
SOLDEFI_BASE_URLOptional | Base URL of a soldefi Worker. Defaults to the hosted production API (https://soldefi.thomenz.me). |
X402_NETWORKOptional | 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 published | 4 Aug 2026 |
| Last updated | 4 Aug 2026 |
| Registry name | io.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.
