SSyncDev

Uniswap Trader MCP Server

An MCP server for AI agents to automate token swaps on Uniswap DEX across multiple blockchains.

Local serverstdio

What is the Uniswap Trader MCP Server?

An MCP server for AI agents to automate token swaps on Uniswap DEX across multiple blockchains.

The short version

  • Price Quotes — Get real-time price quotes for token swaps with multi-hop route optimization
  • Swap Execution — Execute swaps on Uniswap V3 with configurable slippage tolerance and deadlines
  • Swap Suggestions — Generate trading suggestions based on liquidity, fees, and optimal paths
  • Multi-Chain Support — Compatible with Ethereum, Optimism, Polygon, Arbitrum, Celo, BNB Chain, Avalanche, and Base

What it needs from you

  • Node.js: Version 14.x or higher. - npm: For package management. - Wallet: A funded wallet with a private key for executing swaps. - RPC Endpoints: Access to blockchain RPC URLs (e.g., Infura, Alchemy) for supported chains.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Uniswap Trader MCP Server

{
  "mcpServers": {
    "Uniswap-Trader-MCP": {
      "command": "node",
      "args": [
        "path/to/uniswap-trader-mcp/server/index.js"
      ],
      "env": {
        "INFURA_KEY": "YOUR_INFURA_KEY",
        "WALLET_PRIVATE_KEY": "YOUR_WALLET_PRIVATE_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js: Version 14.x or higher. - npm: For package management. - Wallet: A funded wallet with a private key for executing swaps. - RPC Endpoints: Access to blockchain RPC URLs (e.g., Infura, Alchemy) for supported chains.
VariableDescriptionRequired
INFURA_KEYDeclared in the maintainer’s client configuration.Check documentation
WALLET_PRIVATE_KEYDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

An MCP server for AI agents to automate token swaps on Uniswap DEX across multiple blockchains. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.