Diogenes Web3, DeFi & HTTP 402 Security MCP
This MCP server provides Web3/DeFi security and transaction-safety tools via streamable HTTP.
Audit smart contracts across EVM, Solana, and Move for honeypots, hidden transfer taxes, proxy upgrade traps, and mint backdoors.
Assess Solana SPL token risk, including mint/freeze authorities, top-holder concentration, and LP lock status.
Evaluate DEX swap MEV sandwich/frontrunning risk and recommend optimal slippage in basis points.
Detect address-poisoning scams using zero-value spoofing and vanity prefix/suffix lookalike checks.
Verify HTTP 402 payment challenges (L402 BOLT11, x402 Solana, MPP Base) for overcharge and recipient spoofing.
Plan Bitcoin UTXO consolidation with exact vByte weights, dust thresholds, and mempool fee windows.
Compare non-KYC cross-chain bridge routes (THORChain, Liquid, Maya) for BTC, SOL, ETH, SUI, and USDC.
Track high-conviction Solana whale wallets and insider accumulation clusters.
Provides Bitcoin UTXO consolidation planning, including SegWit/Taproot vByte weight and dust threshold calculations, optimal mempool fee window selection, and cross-chain bridge route comparison for BTC settlement.
Provides Solana-focused security and risk tools: SPL token mint/freeze authority audits, holder concentration and LP lock checks, MEV sandwich/frontrunning risk evaluation, address poisoning detection, x402 Solana payment challenge verification, Solana smart contract honeypot auditing, and Solana whale wallet tracking.
Supports cross-chain bridge quote comparison for SUI settlement routes via non-KYC bridges such as THORChain, Liquid, and Maya, alongside BTC, SOL, ETH, and USDC.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Diogenes Web3, DeFi & HTTP 402 Security MCP audit this EVM contract for honeypot and hidden fees: 0x1234567890abcdef"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Diogenes Web3, DeFi & HTTP 402 Security MCP (diogenes-web3-security-mcp)
Diogenes Web3, DeFi & HTTP 402 Security MCP is a focused, zero-bloat Model Context Protocol (streamable-http) package powered by the Diogenes Microservice Gateway.
Instead of loading all 121 gateway endpoints into your LLM's context window, installing this package exposes only the 15 specialized web3-security tools needed for Blockchain & Web3:
15 Web3, DeFi & HTTP 402 security tools: EVM/Move contract auditor, Solana Anchor CPI scanner, SPL risk & liquidity inspectors, whale flow tracker, Jito fee estimator, EIP-712 & EVM calldata decoders, MEV evaluator, address-poisoning detector, 402 verifier, Bitcoin UTXO planner, and non-KYC bridge comparator.
⚡ 1-Click Install for Cursor & Claude Desktop
No API keys, user accounts, or local dependencies required. Zero setup — paste directly into your client config:
🖱️ Cursor IDE (.cursor/mcp.json)
Add to .cursor/mcp.json in your project root or global Cursor settings:
{
"mcpServers": {
"diogenes-web3-security": {
"transport": "streamable-http",
"url": "https://diogenesgateway.com/mcp/web3-security"
}
}
}🧠 Claude Desktop (claude_desktop_config.json)
Add to claude_desktop_config.json (Mac: ~/Library/Application Support/Claude/claude_desktop_config.json | Windows: %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"diogenes-web3-security": {
"transport": "streamable-http",
"url": "https://diogenesgateway.com/mcp/web3-security"
}
}
}Prefer local stdio? Run via npx:
npx -y @stand-out-of-my-sun/diogenes-web3-security-mcp
Related MCP server: onchain-forensics
Included Tools in web3-security (15 Tools)
MCP Tool Name | Underlying REST Route | Settlement | Capability |
|
| 250 sats (L402) | Statically audits Solidity, Vyper, or Move smart contract source code for honeypot transfer taxes, hidden mint backdoors, proxy upgrade traps, and reentrancy. Use when auditing smart contract source code or bytecode before deploying or interacting with a protocol; for scanning Solana Anchor/Rust programs specifically for Cross-Program Invocation (CPI) signer/account vulnerabilities, use scan_solana_cpi_reentrancy instead. Read-only edge call (32 KB, 60 RPM): accepts 'code_or_address' ('chain' defaults to 'evm_solidity'), uses '?demo=true' or L402 (250 sats); HTTP 400 if invalid. |
|
| 160 sats (L402) | Scans Solana Anchor and native Rust program instructions for unverified Cross-Program Invocation (CPI) program IDs, missing signer checks, and PDA bump seed canonicalization bugs. Use when auditing Solana Rust/Anchor source code or instruction account structs for CPI privilege escalation; for checking live SPL token mint/freeze authorities and rug-pull risk by mint address, use evaluate_solana_token_risk instead. Read-only edge call (32 KB, 60 RPM): accepts 'rust_source_or_idl' ('framework' defaults to 'anchor'), uses '?demo=true' or L402 (160 sats); HTTP 400 if invalid. |
|
| 100 sats (L402) | Evaluates Solana SPL and Token-2022 rug-pull risk by checking mint/freeze authorities, permanent delegates, transfer hooks, and returning reason codes with slot height. Use when making a pre-trade security decision on whether an SPL or Token-2022 mint is safe to trade; for DEX liquidity and metadata lookup via x402, use inspect_solana_token_liquidity instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'token_address' ('risk_profile' defaults to 'strict_decentralized'), supports '?demo=true' or L402 (100 sats), and returns HTTP 400 if invalid. |
|
| 200 sats (x402) | Retrieves canonical Solana SPL token metadata including name, ticker symbol, decimal precision, and current mint/freeze authority addresses. Use when resolving SPL token decimals, ticker symbols, and registry metadata for portfolio or swap formatting; for computing a composite security risk score and binary should_transact verdict, use evaluate_solana_token_risk instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'mint' ('network' defaults to 'mainnet-beta'), supports '?demo=true' or x402 (200 sats), and returns HTTP 400 if invalid. |
|
| 500 sats (x402) | Tracks 24-hour net accumulation or distribution flows across top Solana whale wallets and flags coordinated insider wallet clusters for a given SPL token. Use when analyzing on-chain smart-money order flow and holder clustering on Solana; for checking static SPL contract mint/freeze authority permissions, use evaluate_solana_token_risk instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'token' ('window' defaults to '1h'), supports '?demo=true' or x402 (500 sats), and returns HTTP 400 if invalid. |
|
| 50 sats (x402) | Calculates optimal Solana compute-unit (CU) microlamport priority fees and Jito bundle tip lamports to achieve target block-inclusion probability. Use when setting SetComputeUnitPrice and Jito tips before broadcasting a Solana transaction; for querying Bitcoin L1 sat/vB mempool fee rates, use estimate_bitcoin_mempool_fees instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'priority_level' ('tx_type' defaults to 'simple_transfer'), supports '?demo=true' or x402 (50 sats), and returns HTTP 400 if invalid. |
|
| Free Developer Tier (0 sats) | Decodes EIP-712 and Uniswap Permit2 off-chain typed-data payloads to verify spender identity, detect unlimited (uint256.max) token approvals, and flag expired deadlines. Use when inspecting an off-chain eth_signTypedData_v4 or Permit2 payload before signing; for decoding raw on-chain hex transaction calldata (0x...) for eth_sendTransaction, use simulate_evm_transaction_calldata instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'typed_data_json' ('chain_id' defaults to '1'), supports '?demo=true' or L402 (100 sats), and returns HTTP 400 if invalid. |
|
| 90 sats (L402) | Decodes raw EVM hexadecimal transaction calldata (0x...) by 4-byte function selector to expose hidden ERC-20 approve/transferFrom calls, setApprovalForAll drains, and multicall bundles. Use when auditing raw hex transaction data (to, value, data) before broadcasting an on-chain EVM transaction; for inspecting off-chain EIP-712 JSON typed-data signatures, use decode_eip712_permit_signature instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'calldata_hex' ('network' defaults to 'base_mainnet'), supports '?demo=true' or L402 (90 sats), and returns HTTP 400 if invalid. |
|
| 150 sats (L402) | Evaluates decentralized exchange (DEX) swap parameters against pool depth and mempool visibility to quantify MEV sandwich risk and compute optimal slippage tolerance in basis points. Use when configuring slippage tolerance and private-RPC routing before executing an on-chain DEX token swap; for comparing cross-chain bridge settlement routes across different L1 blockchains, use compare_crosschain_bridge_routes instead. Read-only edge call (32 KB, 60 RPM): accepts 'pair' ('execution_venue' defaults to 'uniswap_v3_public'), uses '?demo=true' or L402 (150 sats); HTTP 400 if invalid. |
|
| 100 sats (L402) | Compares a target recipient wallet address against recent transaction history to detect vanity prefix/suffix lookalike spoofing and zero-value dusting attacks. Use when verifying a recipient EVM or Solana wallet address before sending funds; for decoding hex smart contract calldata payloads, use simulate_evm_transaction_calldata instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'target_address' ('address_standard' defaults to 'auto_detect'), supports '?demo=true' or L402 (100 sats), and returns HTTP 400 if invalid. |
|
| 60 sats (L402) | Decodes inbound HTTP 402 Payment Required challenges (L402 BOLT11 + Macaroon, x402 Solana USDC, MPP Base intents) to verify cryptographic payment-hash binding and block overcharge fraud. Use when auditing a 402 challenge header before an autonomous agent pays a Lightning invoice or USDC transfer; for checking on-chain Bitcoin L1 mempool feerates, use estimate_bitcoin_mempool_fees instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'www_authenticate' ('protocol_hint' defaults to 'L402'), supports '?demo=true' or L402 (60 sats), and returns HTTP 400 if invalid. |
|
| Free Developer Tier (0 sats) | Fetches real-time Bitcoin mainnet mempool feerate recommendations in satoshis per virtual byte (sat/vB) across fastest, half-hour, hour, and economy confirmation tiers. Use when checking current Bitcoin L1 network congestion before broadcasting an on-chain BTC transaction; for calculating exact SegWit/Taproot UTXO batch consolidation vByte weights and dust thresholds, use plan_bitcoin_utxo_consolidation instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'confirmation_target', supports '?demo=true' or L402 (50 sats), and returns HTTP 400 if invalid. |
|
| 80 sats (L402) | Analyzes a set of Bitcoin UTXO balances in satoshis to compute exact vByte transaction weight, identify uneconomical dust inputs, and recommend whether to consolidate now or hold. Use when optimizing on-chain Bitcoin treasury UTXO sets to minimize long-term miner fee drag; for fetching current live Bitcoin mempool sat/vB feerates alone, use estimate_bitcoin_mempool_fees instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'utxos_sats_json' ('script_type' defaults to 'p2wpkh_segwit'), supports '?demo=true' or L402 (80 sats), and returns HTTP 400 if invalid. |
|
| 100 sats (L402) | Calculates instantaneous spot exchange rates and equivalent USD, BTC, and satoshi values across BTC, ETH, SOL, SUI, and USDC. Use when converting a token amount into USD or satoshis for invoice pricing or accounting; for quoting executable non-KYC cross-chain bridge routes with bridge fees and settlement times, use compare_crosschain_bridge_routes instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'currency' ('amount' defaults to 'standard'), supports '?demo=true' or L402 (100 sats), and returns HTTP 400 if invalid. |
|
| 100 sats (L402) | Compares non-custodial, non-KYC cross-chain swap routes (THORChain native L1 swaps, Maya Protocol, Blockstream Liquid) by basis-point fee, net output sats, and settlement time. Use when routing cross-chain treasury settlements (e.g. Solana USDC or Base ETH into native Bitcoin); for calculating mid-market spot exchange rates without bridge routing fees, use calculate_spot_swap_rate instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'from_asset' ('to_asset' defaults to 'BTC_NATIVE'), supports '?demo=true' or L402 (100 sats), and returns HTTP 400 if invalid. |
Free Account-Less Demo Mode: Append
?demo=trueto any REST endpoint above for an instant HTTP 200 schema preview at zero cost.
🚀 Upgrade to Frontier AI Models & Autonomous Agent Pipelines
Looking for multi-model reasoning or live web retrieval? Pair web3-security with our paid Gemini Suite & Frontier Reasoning packages (45 models including Gemini 2.5 Pro, Antigravity Agent, Deep Research Pro, and Web Scraping) starting at only 10 sats / 1 GRLC / $0.01 with account-less pay-per-call micropayments:
👉 Explore Full Gateway & Frontier AI Suite
Other Modular Diogenes MCP Packages
Install only the domain packages relevant to your workflow:
Package | Scoped MCP Endpoint | Spoke Repository |
1. EVE: Frontier Sui Move Suite (14 Tools) |
| |
2. Agent Guardrails & Sandbox (12 Tools) |
| |
3. Web3, DeFi & 402 Security (15 Tools) |
| |
4. Gemini Suite & AI Agents (15 Tools) |
| |
5. Context, Code & Solvers (15 Tools) |
| |
6. Dev, Data & Workflow Utilities (14 Tools) |
| |
7. Web Extraction, Readability & Markdown Engine (12 Tools) |
| |
8. Neural Search, Grounded Research & Deep Intelligence (12 Tools) |
| |
9. Database Intelligence, SQL Engine & Schema Guard (12 Tools) |
| |
10. Full Master Gateway (All 121 Services) |
|
TensorBlock & MCP Index Profile Metadata
Field | Value |
Category |
|
Transport |
|
Endpoint |
|
Manifest |
|
Health Check |
|
Auth |
|
Install Confidence |
|
License |
|
Verification |
|
Maintainer |
|
Docs |
|
Support |
|
Available Tools
8 toolsaddress_poisoning_detectorCInspect
Detects zero-value transfer spoofing and prefix/suffix vanity lookalike address poisoning attacks.
Inputs: candidate_address (required), known_trusted_addresses.
contract_auditCInspect
Smart contract honeypot, hidden transfer tax, proxy upgrade, and mint backdoor auditor across EVM, Solana, and Move.
Inputs: code_or_address (required), network.
crypto_bridge_quoteCInspect
Compares non-KYC cross-chain settlement routes (THORChain, Liquid, Maya) for BTC, SOL, ETH, SUI, and USDC.
Inputs: amount (required), to_asset (required), from_asset (required).
http402_challenge_verifierCInspect
Verifies inbound HTTP 402 (L402 BOLT11, x402 Solana, MPP Base) payment challenges against overcharge and recipient spoofing.
Inputs: www_authenticate_header (required), advertised_max_sats.
mev_riskBInspect
Pre-swap MEV sandwich and frontrunning risk evaluator returning optimal slippage in basis points.
Inputs: dex (required), token_in (required), token_out (required), slippage_bps.
solana_riskBInspect
Audits Solana SPL token mint authority, freeze authority, top-holder concentration, and LP lock status.
Inputs: token_address (required).
solana_whale_radarCInspect
Tracks high-conviction Solana whale wallets and insider accumulation clusters.
Inputs: token_address (required).
utxo_consolidation_plannerCInspect
Computes exact SegWit/Taproot vByte weights, dust thresholds, and optimal mempool fee windows for UTXO batching.
Inputs: utxos (required), current_mempool_sat_vb.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools target clearly distinct threats: MEV, address poisoning, HTTP 402 verification, UTXO consolidation, bridge quotes, and Solana whale tracking. There is some overlap among contract_audit, solana_risk, and solana_whale_radar on Solana token/security analysis, but the descriptions differentiate their scopes enough to guide selection.
All tool names use consistent snake_case noun-phrase conventions with no mixed camelCase or verb-style inconsistencies. The pattern is predictable and readable throughout.
Eight tools is well-scoped for a Web3, DeFi, and HTTP 402 security server. Each tool covers a distinct security or planning concern without obvious redundancy.
The surface covers a broad range of Web3 security concerns, including contract auditing, MEV, address poisoning, HTTP 402 verification, UTXO planning, bridge quotes, and whale tracking. Minor gaps exist, such as token approval/allowance checks, phishing or site verification, and challenge generation for HTTP 402, but agents can work around these.
Maintenance
Related MCP Connectors
Crypto security, honeypot detection, wallet analysis, and token risk scoring across 31 blockchains.
Pre-trade safety + wallets: Solana/EVM token risk, honeypots, counterparties, balances, txs, CVEs.
Pre-trade safety + wallets: Solana/EVM token risk, honeypots, counterparties, balances, txs, CVEs.
Token honeypot detector, 360 rug-pull audit, EVM transaction simulator & OFAC compliance MCP.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables AI agents to scan crypto tokens for rug pulls, scams, and risk using a six-agent consensus system. It provides real-time security audits and risk scoring for tokens on Solana, Ethereum, Base, and BSC.62MIT
- AlicenseBqualityDmaintenanceProvides on-chain forensic checks for evaluating transaction risks, including token verification, rug-pull detection, and fund tracing, using public blockchain endpoints.1217 npmMIT
- AlicenseBqualityDmaintenanceEnables AI agents to perform token security audits, honeypot detection, liquidity analysis, and risk scoring to avoid crypto scams.1ISC
- AlicenseAqualityBmaintenanceEnables AI assistants to assess the risk of crypto wallets, tokens, and smart contracts by providing read-only on-chain analysis, 0-100 risk scoring with explanations, fund tracing, and contract inspection before interaction.6MIT