PreFlight402 — Web3 Risk & x402 Audit

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

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
90%
Integridad del esquema
91%
Calidad de los nombres
80%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (1)

  • LOWTool 'token_batch' description lacks action verben token_batch

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~2,328Tokens (definiciones de herramientas)
~2.1 KBTamaño de respuesta típico
Impacto moderado en la atención (1.82% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

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

Puntos de conexión remotos

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

Qué puede hacer

Inventario de herramientas

Herramientas (9)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢preflight_catalog

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

Esquema de entrada

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

Esquema de salida

{
  "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.

Esquema de entrada

{
  "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
}

Esquema de salida

{
  "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.

Esquema de entrada

{
  "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
}

Esquema de salida

{
  "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.

Esquema de entrada

{
  "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
}

Esquema de salida

{
  "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.

Esquema de entrada

{
  "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
}

Esquema de salida

{
  "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.

Esquema de entrada

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

Esquema de salida

{
  "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.

Esquema de entrada

{
  "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
}

Esquema de salida

{
  "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.

Esquema de entrada

{
  "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
}

Esquema de salida

{
  "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.

Esquema de entrada

{
  "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
}

Esquema de salida

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

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada9 herramientas