PreFlight402 — Web3 Risk & x402 Audit

Pre-trade EVM token safety, DEX spread, wallet screening & x402 audit via Base USDC micropayments.

Should I use this

Quality & Safety

A
Description quality
90%
Schema completeness
91%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (1)

  • LOWTool 'token_batch' description lacks action verbin token_batch

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~2,328Tokens (tool definitions)
~2.1 KBTypical response size
Moderate attention impact (1.82% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "x402-preflight-api": {
      "url": "https://x402-preflight-api.shellshelltorres.workers.dev/mcp"
    }
  }
}

Remote endpoints

https://x402-preflight-api.shellshelltorres.workers.dev/mcpstreamable-http

What it can do

Tool inventory

Tools (9)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢preflight_catalog

Free tool: returns the full PreFlight402 catalog, supported EVM chains, Base Mainnet USDC pricing, and discovery URLs.

Input Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "API name"
    },
    "network": {
      "type": "string",
      "description": "CAIP-2 payment network ID"
    },
    "asset": {
      "type": "string",
      "description": "Settlement token symbol (USDC)"
    },
    "payTo": {
      "type": [
        "string",
        "null"
      ],
      "description": "Cold wallet payout address"
    },
    "supportedChains": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "mcpEndpoint": {
      "type": "string"
    },
    "openapiUrl": {
      "type": "string"
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "name",
    "network",
    "asset",
    "payTo",
    "supportedChains",
    "mcpEndpoint",
    "openapiUrl",
    "tools"
  ]
}
🟢preflight_sample(tool)

Free tool: returns a deterministic sample JSON report for any paid PreFlight402 tool before spending USDC.

Input Schema

{
  "type": "object",
  "properties": {
    "tool": {
      "type": "string",
      "enum": [
        "token-safety",
        "dex-spread",
        "wallet-profile",
        "x402-audit",
        "trade-preflight",
        "token-batch",
        "gas-oracle"
      ],
      "description": "Slug of the PreFlight402 tool to preview."
    }
  },
  "required": [
    "tool"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "sample": {
      "type": "boolean",
      "description": "Always true for sample responses"
    },
    "tool": {
      "type": "string",
      "description": "Catalog slug of the previewed tool"
    },
    "endpoint": {
      "type": "string",
      "description": "Full paid HTTP GET endpoint URL"
    },
    "price": {
      "type": "string",
      "description": "Formatted USD price"
    },
    "priceUsd": {
      "type": "number",
      "description": "Numeric USD price per call"
    },
    "network": {
      "type": "string",
      "description": "CAIP-2 payment network ID"
    },
    "data": {
      "type": "object",
      "description": "Sample JSON report payload"
    }
  },
  "required": [
    "sample",
    "tool",
    "endpoint",
    "price",
    "priceUsd",
    "network",
    "data"
  ]
}
🟢token_safety(address, chain)

Paid via x402 ($0.015 USDC on Base): aggregates GoPlus token_security, Honeypot.is v2 simulation, DexScreener liquidity, and EVM RPC bytecode/proxy checks into a 0-100 risk score.

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed EVM token contract address."
    },
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "polygon",
        "bsc",
        "optimism"
      ],
      "default": "base",
      "description": "EVM chain slug (defaults to base)."
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string"
    },
    "chainId": {
      "type": "number"
    },
    "address": {
      "type": "string"
    },
    "verdict": {
      "type": "string",
      "enum": [
        "SAFE",
        "CAUTION",
        "DANGER"
      ]
    },
    "riskScore": {
      "type": "number"
    },
    "buyTaxPct": {
      "type": [
        "number",
        "null"
      ]
    },
    "sellTaxPct": {
      "type": [
        "number",
        "null"
      ]
    },
    "isHoneypot": {
      "type": "boolean"
    },
    "liquidityUsd": {
      "type": "number"
    },
    "flags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "confidence": {
      "type": "string",
      "enum": [
        "HIGH",
        "MEDIUM",
        "LOW"
      ]
    }
  }
}
🟢dex_spread(address, chain)

Paid via x402 ($0.010 USDC on Base): compares active DEX pool prices and DefiLlama oracle pricing to return best buy/sell pools, gross spread %, and liquidity.

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed EVM token contract address."
    },
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "polygon",
        "bsc",
        "optimism"
      ],
      "default": "base",
      "description": "EVM chain slug (defaults to base)."
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string"
    },
    "poolCount": {
      "type": "number"
    },
    "grossSpreadPct": {
      "type": "number"
    },
    "minBottleneckLiquidityUsd": {
      "type": "number"
    },
    "oraclePriceUsd": {
      "type": [
        "number",
        "null"
      ]
    },
    "oracleDeviationPct": {
      "type": [
        "number",
        "null"
      ]
    },
    "isActionable": {
      "type": "boolean"
    },
    "reason": {
      "type": "string"
    }
  }
}
🟢wallet_profile(address, chain)

Paid via x402 ($0.010 USDC on Base): screens an EVM address via GoPlus address_security and live EVM RPC bytecode/nonce/native balance inspection.

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed EVM wallet or contract address."
    },
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "polygon",
        "bsc",
        "optimism"
      ],
      "default": "base",
      "description": "EVM chain slug (defaults to base)."
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string"
    },
    "verdict": {
      "type": "string",
      "enum": [
        "SAFE",
        "CAUTION",
        "DANGER"
      ]
    },
    "riskScore": {
      "type": "number"
    },
    "isContract": {
      "type": "boolean"
    },
    "txCount": {
      "type": [
        "number",
        "null"
      ]
    },
    "maliciousFlags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
🟢x402_audit(url)

Paid via x402 ($0.005 USDC on Base): SSRF-hardened probe verifying HTTP 402 payment challenge validity, payTo/network configuration, /.well-known/x402.json, and latency.

Input Schema

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Public HTTPS URL of an x402 endpoint to audit."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "targetUrl": {
      "type": "string"
    },
    "httpStatus": {
      "type": "number"
    },
    "trustScore": {
      "type": "number"
    },
    "isPayable": {
      "type": "boolean"
    },
    "x402Version": {
      "type": [
        "number",
        "null"
      ]
    },
    "acceptedNetworks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "payToAddresses": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "hasWellKnownManifest": {
      "type": "boolean"
    },
    "latencyMs": {
      "type": "number"
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
🟢trade_preflight(address, chain, amountUsd, maxSlippagePct)

Paid via x402 ($0.025 USDC on Base): combines token safety, honeypot simulation, constant-product price impact, swap gas USD fee, oracle deviation, and GO/CAUTION/BLOCK verdict.

Input Schema

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed EVM token contract address."
    },
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "polygon",
        "bsc",
        "optimism"
      ],
      "default": "base",
      "description": "EVM chain slug (defaults to base)."
    },
    "amountUsd": {
      "type": "number",
      "default": 1000,
      "minimum": 1,
      "maximum": 10000000,
      "description": "Intended trade size in USD (defaults to 1000)."
    },
    "maxSlippagePct": {
      "type": "number",
      "default": 2,
      "description": "Maximum allowed price impact percentage (greater than 0 and less than 50, defaults to 2.0)."
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string"
    },
    "verdict": {
      "type": "string",
      "enum": [
        "GO",
        "CAUTION",
        "BLOCK"
      ]
    },
    "safetyVerdict": {
      "type": "string",
      "enum": [
        "SAFE",
        "CAUTION",
        "DANGER"
      ]
    },
    "riskScore": {
      "type": "number"
    },
    "isHoneypot": {
      "type": "boolean"
    },
    "estimatedPriceImpactPct": {
      "type": [
        "number",
        "null"
      ]
    },
    "estimatedRoundTripCostPct": {
      "type": [
        "number",
        "null"
      ]
    },
    "swapGasUsd": {
      "type": [
        "number",
        "null"
      ]
    },
    "maxSafeTradeUsd": {
      "type": "number"
    },
    "recommendedDex": {
      "type": [
        "string",
        "null"
      ]
    },
    "blockReasons": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
🟢token_batch(addresses, chain)

Paid via x402 ($0.025 USDC on Base): screens 2 to 5 EVM tokens in parallel using GoPlus, DexScreener batch pools, and DefiLlama pricing ranked by risk score.

Input Schema

{
  "type": "object",
  "properties": {
    "addresses": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 2,
      "maxItems": 5,
      "description": "2 to 5 0x-prefixed EVM token contract addresses (also accepts comma-separated string)."
    },
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "polygon",
        "bsc",
        "optimism"
      ],
      "default": "base",
      "description": "EVM chain slug (defaults to base)."
    }
  },
  "required": [
    "addresses"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string"
    },
    "requestedCount": {
      "type": "number"
    },
    "safeCount": {
      "type": "number"
    },
    "cautionCount": {
      "type": "number"
    },
    "dangerCount": {
      "type": "number"
    },
    "rankedTokens": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  }
}
🟢gas_oracle(chain)

Paid via x402 ($0.005 USDC on Base): fetches live RPC gas prices across Base, Ethereum, Arbitrum, Polygon, BSC, and Optimism with USD swap fee estimates.

Input Schema

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "all",
        "base",
        "ethereum",
        "arbitrum",
        "polygon",
        "bsc",
        "optimism"
      ],
      "default": "all",
      "description": "Target chain slug or 'all' for all 6 EVM chains (defaults to all)."
    }
  },
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "scope": {
      "type": "string"
    },
    "cheapestChain": {
      "type": [
        "string",
        "null"
      ]
    },
    "chains": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  }
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded9 tools