x402 Agent Tollbooth
On-chain DeFi smart contract auditor, arbitrage scanner, and agent tollbooth via x402 on Base.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"x402-agent-tollbooth": {
"url": "https://x402-agent-tollbooth.onrender.com/mcp"
}
}
}远程端点
https://x402-agent-tollbooth.onrender.com/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢ai_intel(prompt, contractAddress)
Deep AI Vulnerability & Intelligence Engine. Scans contracts and code for logic vulnerabilities and exploits on Base. Cost: 0.001 USDC on Base.
输入模式
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Analysis prompt or contract source code to audit"
},
"contractAddress": {
"type": "string",
"description": "Base smart contract address to audit"
}
}
}🟢arbitrage_scan(pair, min_spread_bps)
Cross-DEX Arbitrage & Liquidity Scanner. Analyzes Uniswap, Aerodrome, and BaseSwap pools for profitable routing opportunities. Cost: 0.002 USDC on Base.
输入模式
{
"type": "object",
"properties": {
"pair": {
"type": "string",
"description": "Token pair to scan, e.g. WETH/USDC"
},
"min_spread_bps": {
"type": "integer",
"description": "Minimum spread in basis points"
}
}
}🟢smart_router(tokenIn, tokenOut, amount)
Optimal Execution Smart Router. Computes optimal gas and slippage routing paths for Base AI agents and automated executors. Cost: 0.001 USDC on Base.
输入模式
{
"type": "object",
"properties": {
"tokenIn": {
"type": "string",
"description": "Input token address or symbol"
},
"tokenOut": {
"type": "string",
"description": "Output token address or symbol"
},
"amount": {
"type": "string",
"description": "Trade amount"
}
}
}🟢contract_audit(contractAddress, isPatch)
Live Smart Contract AI Auditor. Analyzes Base contracts for vulnerabilities. Cost: 0.02 USDC via x402 protocol. Cost: 0.02 USDC on Base.
输入模式
{
"type": "object",
"properties": {
"contractAddress": {
"type": "string",
"description": "The Base network smart contract address to audit."
},
"isPatch": {
"type": "boolean",
"description": "Whether to generate a patch"
}
}
}社区
证据