mcp-ezpath
v0.1.1Base DEX meta-router. Races 0x, ParaSwap, Aerodrome & Uniswap V3.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ezpath_probe
Check EZ-Path pricing without paying. Returns the toll address, per-request USDC cost, and available execution tiers. Use this first to inform the agent about costs before calling ezpath_quote.
| Parameter | Type | Description |
|---|---|---|
buyToken * | string | ERC-20 address to buy on Base mainnet. WETH=0x4200000000000000000000000000000000000006 |
sellAmount * | string | Amount to sell in base decimals (e.g. 1000000 = 1 USDC) |
sellToken * | string | ERC-20 address to sell on Base mainnet. USDC=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
ezpath_quote
Get the best DEX swap quote on Base mainnet by racing 0x, ParaSwap, Aerodrome, and Uniswap V3. Automatically pays USDC per request via X402 EIP-3009 from the configured wallet. Requires EZPATH_WALLET_KEY env var set to a Base wallet private key with USDC balance.
| Parameter | Type | Description |
|---|---|---|
buyToken * | string | ERC-20 address to buy on Base |
sellAmount * | string | Amount to sell in base decimals. For USDC (6 decimals): 1000000 = 1 USDC. For WETH (18 decimals): 1000000000000000000 = 1 WETH. |
sellToken * | string | ERC-20 address to sell on Base. USDC=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, WETH=0x4200000000000000000000000000000000000006 |
slippagePercentage | number | Max acceptable slippage as decimal. 0.01 = 1%. Optional. |
tier | string | Execution tier. basic=$0.03 direct 0x | resilient=$0.10 dual-lane race | institutional=$0.50 race + Uniswap V3 safety net. Defaults to basic. |