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 MCP server?

An MCP server for AI agents to automate token swaps on Uniswap DEX across multiple blockchains. That is what the uniswap trader mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

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

Configuration is passed through the environment: INFURA_KEY, WALLET_PRIVATE_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • 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.

Getting it running

The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by kukapay; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Uniswap Trader MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How to install the Uniswap Trader MCP 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 private key"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

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_KEYCredential the server authenticates with.Yes
WALLET_PRIVATE_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Uniswap Trader MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Uniswap Trader MCP directly.