MCP server
Soldefi MCP
Solana DeFi risk intel over x402: rug/honeypot scans, pool analysis, wash-filtered pools.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.5.2
- Listing updated
- 6 days ago
About Soldefi MCP
Soldefi MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add soldefi-mcp --env SOLANA_PRIVATE_KEY='<SOLANA_PRIVATE_KEY>' --env EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' -- npx -y soldefi-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"soldefi-mcp": {
"command": "npx",
"args": [
"-y",
"soldefi-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>",
"EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"soldefi-mcp": {
"command": "npx",
"args": [
"-y",
"soldefi-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>",
"EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"soldefi-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"soldefi-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>",
"EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"soldefi-mcp": {
"command": "npx",
"args": [
"-y",
"soldefi-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>",
"EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"soldefi-mcp": {
"command": "npx",
"args": [
"-y",
"soldefi-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>",
"EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
SOLANA_PRIVATE_KEYbase58 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_KEY0x 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 Solana RPC override used to build the payment (e.g. a Helius URL). Only read when SOLANA_PRIVATE_KEY is set.SOLDEFI_BASE_URLBase URL of a soldefi Worker. Defaults to the hosted production API (https://soldefi.thomenz.me).X402_NETWORKSet to 'base-sepolia' to pay on testnet, which switches BOTH rails (Solana devnet + Base Sepolia). Any other value, including unset, pays on mainnet.
Pricing
Open source
Soldefi MCP FAQ
Is Soldefi MCP free?
Yes. Soldefi MCP is open source, so you can use and self-host it for free.
How do I add Soldefi MCP to Claude Code?
Run this command in your terminal: claude mcp add soldefi-mcp --env SOLANA_PRIVATE_KEY='<SOLANA_PRIVATE_KEY>' --env EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' -- npx -y soldefi-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.