soldefi-mcp
v0.5.2Solana DeFi risk intel over x402: rug/honeypot scans, pool analysis, wash-filtered pools.
Values you need
| Variable | What it is | |
|---|---|---|
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. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add soldefi-mcp -- npx -y soldefi-mcp@0.5.2Add to
claude_desktop_config.json{
"mcpServers": {
"soldefi-mcp": {
"args": [
"-y",
"soldefi-mcp@0.5.2"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"soldefi-mcp": {
"args": [
"-y",
"soldefi-mcp@0.5.2"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"soldefi-mcp": {
"args": [
"-y",
"soldefi-mcp@0.5.2"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.soldefi-mcp]
command = "npx"
args = ["-y", "soldefi-mcp@0.5.2"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: scan_honeypot, analyze_pools, top_pools, check_lp_status, check_deployer, can_i_sell, check_exit_risk, full_scan, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json