chainId
Number (default: 1)
How to use it
chainId is exposed by the Uniswap Trader MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the chainId tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Uniswap Trader MCP
$
npx -y @smithery/cli install @kukapay/uniswap-trader-mcp --client claudeOther tools in Uniswap Trader MCP (7)
amountIn
String (optional, required for "exactIn")
amountOut
String (optional, required for "exactOut")
deadline
Number (default: 20, in minutes)
slippageTolerance
Number (default: 0.5, in percentage)
tokenIn
String (e.g., "NATIVE" or token address)
tokenOut
String (e.g., "NATIVE" or token address)
tradeType
"exactIn" or "exactOut" (default: "exactIn")