npm · soldefi-mcp
$npx -y soldefi-mcp@0.5.2 SOLANA_PRIVATE_KEY · 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 · 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 Solana RPC override used to build the payment (e.g. a Helius URL). Only read when SOLANA_PRIVATE_KEY is set.
SOLDEFI_BASE_URL — Base URL of a soldefi Worker. Defaults to the hosted production API (https://soldefi.thomenz.me).
X402_NETWORK — Set to 'base-sepolia' to pay on testnet, which switches BOTH rails (Solana devnet + Base Sepolia). Any other value, including unset, pays on mainnet.