Uniswap-tx-builder-mcp Server

A keyless MCP server that builds unsigned Uniswap v3 liquidity-position transactions and optionally simulates them via eth_call. It never holds keys and never signs — you take the returned calldata…

Local serverstdioApache-2.0

What is the Uniswap-tx-builder-mcp Server?

Uniswap Tx Builder is an MCP project maintained in the yummybait-fin/uniswap-tx-builder-mcp repository. The maintainer describes its purpose as “A keyless MCP server that builds unsigned Uniswap v3 liquidity-position transactions and optionally simulates them via eth_call. It never holds keys and never signs —…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @yummybait/uniswap-tx-builder-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares RPC_ETH. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
build_collectCollect all uncollected fees from a position to recipient.
build_closeRemove all liquidity + collect; burn: true also burns the empty NFT. Returns the read position.
build_mintMint a new position (raw ticks + wei amounts).
build_increaseAdd liquidity to an existing position.
build_approveBuild an ERC-20 approve(spender, amount) tx — e.g. the NFPM before build_mint/build_increase, or Permit2 before a Permit2-paid build_swap. amount: "max" for an
build_wrapWrap native ETH → WETH via the Universal Router (WRAP_ETH).
build_swapExact-in single-hop tokenIn → tokenOut swap via the Universal Router; with wrapWei (tokenIn = WETH9) it wraps native ETH first and sweeps the remainder, with…
get_swap_quoteRead-only. Quote an exact-in single-hop swap via Uniswap v3 QuoterV2 — the live amountOut a build_swap with the same params would get, plus amountOutMin (after
plan_positionRead-only. Turn a human price range + human amounts into aligned ticks + wei amounts for build_mint. Reads token decimals over RPC.
get_pool_stateRead-only. Live pool state (tick, sqrtPriceX96, human price, spacing); optional ±pct range suggestion (rounded inward) and live-ratio…
get_positionsRead-only. List every position NFT a wallet holds (token0/1, fee, tick range, liquidity, tokens owed) via the NFPM's ERC-721 enumeration.

How to install the Uniswap-tx-builder-mcp Server

{
  "mcpServers": {
    "uniswap-tx-builder": {
      "command": "npx",
      "args": [
        "-y",
        "@yummybait/uniswap-tx-builder-mcp"
      ],
      "env": {
        "RPC_ETH": "https://your-eth-rpc"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
RPC_ETHDeclared in the maintainer’s client configuration.Check documentation