关于 402.bot Discovery Oracle
402.bot Discovery Oracle 是面向 Agent 的只读 API 发现与分析命令行工具,可按能力和网络排列实时端点,并查看检查结果与 x402 遥测;付费执行由 x402-proxy 处理。
主要功能
- 01按能力搜索实时 API
- 02按网络排列端点
- 03检查 API 和提供方
- 04比较发现结果
- 05查看支出与付款历史
适用场景
- 01为 Agent 任务查找实时 API
- 02按信任度或价格筛选 API
- 03使用前检查端点
MCP 相关
其 `mcp` 命令连接到 `https://api.402.bot/mcp` 远程 MCP 服务。只读发现和分析使用公开 HTTP API;付费执行通过 `x402-proxy` 结算。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://api.402.bot/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http 402.bot-public https://api.402.bot/mcpCursor.cursor/mcp.json
{"mcpServers":{"402.bot-public":{"type":"http","url":"https://api.402.bot/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"402.bot-public":{"type":"http","url":"https://api.402.bot/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"402.bot-public":{"type":"http","url":"https://api.402.bot/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"402.bot-public":{"serverUrl":"https://api.402.bot/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
402bot
402bot 是面向 402.bot 的产品 CLI,由 x402-proxy 提供支持。
它保留了 x402-proxy 的钱包设置、x402 付款处理、MCP 代理和支出历史功能,同时新增了更高层级的命令,用于发现、检查、配置默认值、文档爬取、钱包档案、市场工作流和 Agent 设置。
设置、配置和历史记录
402bot setup
402bot status
402bot doctor
402bot wallet
402bot config get
402bot config set campaign-id codex-mcp-setup
402bot config set spend-cap 2
402bot spend --since 7d
402bot history --since 7d --json
402bot completion zsh
发现和 Agent 操作
402bot mcp --campaign-id defi-agent-alpha
402bot discover "find the best live Base wallet-intelligence or risk API for an autonomous trading agent"
402bot discover "best Base treasury API" --max-price 0.02 --freshness 6h --trust observed --requires-mcp
402bot inspect weather-alpha
402bot inspect 0x1111111111111111111111111111111111111111
402bot compare "find the best live Base treasury monitoring API"
402bot recipe list
402bot recipe search "polymarket"
402bot recipe inspect dune-onchain-brief
402bot recipe inspect crypto-market-opening-bell
402bot recipe inspect category-opening-bell
402bot recipe inspect sector-rotation-watch
402bot recipe inspect defi-yield-shortlist
402bot recipe inspect hyperliquid-funding-crowding-watch
402bot recipe inspect snapshot-governance-watch
402bot recipe inspect paraswap-route-brief
402bot recipe inspect jupiter-route-brief
402bot recipe inspect liquid-staking-scorecard
402bot recipe inspect lst-exchange-rate-watch
402bot recipe inspect lst-premium-vs-yield-brief
402bot recipe inspect cex-dislocation-watch
402bot recipe inspect paraswap-vs-jupiter-execution-brief
402bot recipe inspect crosschain-execution-board
402bot recipe recommend "best treasury watch workflow"
402bot providers list
402bot providers search "dune"
402bot providers inspect dune
402bot market doctor
402bot market price --ids bitcoin
402bot --json market markets --category layer-2 --total 25
402bot market history bitcoin --days 30
402bot market watch --ids bitcoin,ethereum
402bot market commands
402bot catalog update
402bot changelog
402bot watch provider dune --once
402bot export mcp-config codex
402bot export openapi
402bot prompt "find the best live Base wallet risk API"
402bot plan "monitor this wallet for treasury and prediction-market risk"
402bot init agent
402bot init agent codex --campaign-id codex-mcp-setup
付费执行封装
402bot wallet dossier 0x1111111111111111111111111111111111111111
402bot wallet dossier 0x1111111111111111111111111111111111111111 --profile treasury
402bot wallet dossier 0x1111111111111111111111111111111111111111 --profile defi-risk
402bot wallet dossier 0x1111111111111111111111111111111111111111 --profile counterparty-map --days 1
402bot wallet dossier 0x1111111111111111111111111111111111111111 --profile prediction-markets --days 14
402bot docs crawl https://docs.uniswap.org
402bot docs crawl https://docs.uniswap.org --profile integration-notes --scope subdomains --depth 2
402bot trade polymarket https://polymarket.com/event/example --outcome yes --side buy --size 5
402bot trade polymarket us-recession-in-2026 --outcome no --side sell --amount 10 --kind market
402bot run wallet-research 0x1111111111111111111111111111111111111111
402bot run protocol-diligence https://docs.uniswap.org --question "What are the obvious diligence gaps?"
402bot run market-briefing "Polymarket election odds" --min-likes 5
402bot run swap-route 0x4200000000000000000000000000000000000006 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 1000000000000000000 --src-decimals 18 --dest-decimals 6 --network 8453
402bot run jupiter-route So11111111111111111111111111111111111111112 EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v 1000000000 --slippage-bps 50
402bot run staking-scorecard "Compare liquid staking options for a conservative ETH treasury"
402bot run lst-rates --assets wsteth,reth,cbeth,weeth,sfrxeth --question "Which LST exchange rates deserve monitoring?"
402bot run lst-premium "Which ETH LSTs look mature enough for treasury collateral?" --assets wsteth,reth,cbeth,weeth,sfrxeth
402bot run cex-dislocation BTC --quote-asset USDT --include-funding
402bot run paraswap-vs-jupiter 0x4200000000000000000000000000000000000006 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 1000000000000000000 So11111111111111111111111111111111111111112 EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v 1000000000 --paraswap-src-decimals 18 --paraswap-dest-decimals 6
402bot run crosschain-execution SOL USDC 1000000000 SOL --quote-asset USDT --include-funding
402bot recipe run crypto-market-opening-bell --body '{"input":{"vsCurrency":"usd","limit":5}}'
402bot recipe run category-opening-bell --body '{"input":{"category":"layer-2","vsCurrency":"usd","limit":5}}'
402bot recipe run sector-rotation-watch --body '{"input":{"categories":["artificial-intelligence","layer-2","real-world-assets-rwa"],"vsCurrency":"usd","limitPerCategory":5}}'
402bot recipe run defi-yield-shortlist --body '{"input":{"goal":"Find the best low-risk Base USDC parking opportunities.","chain":"base","stablecoinOnly":true,"minTvlUsd":10000000,"limit":5}}'
402bot recipe run hyperliquid-funding-crowding-watch --body '{"input":{"coins":["BTC","ETH"],"sortBy":"fundingRate","limit":6}}'
402bot recipe run snapshot-governance-watch --body '{"input":{"question":"What governance votes should a DeFi operator monitor this week?","spaceIds":["aave.eth","lido-snapshot.eth"],"state":"active","limit":6}}'
402bot recipe run paraswap-route-brief --body '{"input":{"network":8453,"srcToken":"0x4200000000000000000000000000000000000006","destToken":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","amount":"1000000000000000000","srcDecimals":18,"destDecimals":6,"side":"SELL"}}'
402bot recipe run jupiter-route-brief --body '{"input":{"inputMint":"So11111111111111111111111111111111111111112","outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","amount":"1000000000","slippageBps":50}}'
402bot recipe run liquid-staking-scorecard --body '{"input":{"goal":"Compare liquid staking options for a conservative ETH treasury.","protocols":["lido","rocket-pool","coinbase-wrapped-staked-eth","ether.fi"],"minTvlUsd":50000000,"limit":8}}'
402bot recipe run lst-exchange-rate-watch --body '{"input":{"question":"Which LST exchange rates deserve monitoring?","assets":["wsteth","reth","cbeth","weeth","sfrxeth"]}}'
402bot recipe run lst-premium-vs-yield-brief --body '{"input":{"goal":"Which ETH LSTs look mature enough for treasury collateral?","assets":["wsteth","reth","cbeth","weeth","sfrxeth"],"protocols":["lido","rocket-pool","coinbase-wrapped-staked-eth","ether.fi","frax-ether"],"minTvlUsd":50000000,"limit":10}}'
402bot recipe run cex-dislocation-watch --body '{"input":{"baseAsset":"BTC","quoteAsset":"USDT","includeFunding":true}}'
402bot recipe run paraswap-vs-jupiter-execution-brief --body '{"input":{"paraswap":{"network":8453,"srcToken":"0x4200000000000000000000000000000000000006","destToken":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","amount":"1000000000000000000","srcDecimals":18,"destDecimals":6},"jupiter":{"inputMint":"So11111111111111111111111111111111111111112","outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","amount":"1000000000","slippageBps":50}}}'
402bot recipe run crosschain-execution-board --body '{"input":{"goal":"Decide whether SOL execution currently looks cleaner on Jupiter or major CEX venues.","solana":{"inputQuery":"SOL","outputQuery":"USDC","amount":"1000000000","slippageBps":50},"cex":{"baseAsset":"SOL","quoteAsset":"USDT","includeFunding":true}}}'
402bot recipe run wallet-intel-brief --body '{"input":{"walletAddress":"0x1111111111111111111111111111111111111111"}}'
402bot recipe run wallet-intel-brief --from-file ./input.json --wait --save ./output.json
402bot route --body '{"capability":"wallet-intelligence","network":"eip155:8453","strategy":"balanced","limit":3}'
402bot fetch-transform --body '{"sourceId":"cloudflare_crawl","params":{"url":"https://docs.uniswap.org"}}'
说明
mcp路由到https://api.402.bot/mcpconfig会在~/.config/402bot下保存campaignId、首选网络、支出上限、收藏的钱包和收藏的配方- 只读发现和分析命令会直接调用公开的
402.botHTTP API discover、inspect、compare、doctor、spend、history和completion支持稳定的--json输出recipe inspect、providers inspect、catalog update、watch、export和changelog支持稳定的--json输出market会委托给本地安装的cg,该工具来自 https://github.com/coingecko/coingecko-cli;上游命令支持 JSON 输出时,也会遵循全局--json选项- 付费执行命令仍通过
x402-proxy完成结算 BOT402_API_URL、BOT402_MCP_URL和BOT402_CG_BIN可以覆盖默认值
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。
