Soldefi MCP Server
by thomenzio.github.thomenz/soldefi-mcpv0.5.2
Solana DeFi risk intel over x402: rug/honeypot scans, pool analysis, wash-filtered pools.
context tax
queued
security
queued
cold start
queued
freshness
Maintained2mo ago
Install Soldefi MCP server
Install in Claude Code
claude mcp add soldefi -e SOLANA_PRIVATE_KEY='<solana-private-key>' -e EVM_PRIVATE_KEY='<evm-private-key>' -- npx -y soldefi-mcpInstall in Cursor
{
"mcpServers": {
"soldefi": {
"command": "npx",
"args": [
"-y",
"soldefi-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "<solana-private-key>",
"EVM_PRIVATE_KEY": "<evm-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"soldefi": {
"command": "npx",
"args": [
"-y",
"soldefi-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "<solana-private-key>",
"EVM_PRIVATE_KEY": "<evm-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"soldefi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"soldefi-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "<solana-private-key>",
"EVM_PRIVATE_KEY": "<evm-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"soldefi": {
"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.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SOLANA_PRIVATE_KEY | — | yes | 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 | — | yes | 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. |
Freshness
Maintained — last maintenance signal 2mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-04 · 2mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-08-04 · 2mo ago · official registry · v0.5.2
FAQ
›How do I install the Soldefi MCP server in Claude Code?
Run: claude mcp add soldefi -e SOLANA_PRIVATE_KEY='<solana-private-key>' -e EVM_PRIVATE_KEY='<evm-private-key>' -- npx -y soldefi-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Soldefi require an API key?
Yes. It expects SOLANA_PRIVATE_KEY, EVM_PRIVATE_KEY, of which 2 are secrets.
›Can I use Soldefi as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Soldefi in the official MCP registry?
Yes, as io.github.thomenz/soldefi-mcp.
Alternatives to Soldefi
Other finance & fintech MCP servers.