Server Details
Uniswap - 17 tools for swap quotes, liquidity pools, and trading data
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- junct-bot/uniswap-mcp
- GitHub Stars
- 0
See and control every tool call
Available Tools
17 toolsexactInputInspect
Calls exactInput(params: { path: string, recipient: string, deadline: string, amountIn: string, amountOutMinimum: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns amountOut (uint256).
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | tuple. Fields: path, recipient, deadline, amountIn, amountOutMinimum. |
exactInputSingleInspect
Calls exactInputSingle(params: { tokenIn: string, tokenOut: string, fee: string, recipient: string, deadline: string, amountIn: string, amountOutMinimum: string, sqrtPriceLimitX96: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns amountOut (uint256).
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | tuple. Fields: tokenIn, tokenOut, fee, recipient, deadline, amountIn, amountOutMinimum, sqrtPriceLimitX96. |
exactOutputInspect
Calls exactOutput(params: { path: string, recipient: string, deadline: string, amountOut: string, amountInMaximum: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns amountIn (uint256).
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | tuple. Fields: path, recipient, deadline, amountOut, amountInMaximum. |
exactOutputSingleInspect
Calls exactOutputSingle(params: { tokenIn: string, tokenOut: string, fee: string, recipient: string, deadline: string, amountOut: string, amountInMaximum: string, sqrtPriceLimitX96: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns amountIn (uint256).
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | tuple. Fields: tokenIn, tokenOut, fee, recipient, deadline, amountOut, amountInMaximum, sqrtPriceLimitX96. |
factoryInspect
Calls factory(). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns address.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
multicallInspect
Calls multicall(data: string[]). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns results (bytes[]).
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | bytes[] (hex-encoded bytes, 0x-prefixed). |
refundETHInspect
Calls refundETH(). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
selfPermitInspect
Calls selfPermit(token: string, value: string, deadline: string, v: string, r: string, s: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.
| Name | Required | Description | Default |
|---|---|---|---|
| r | Yes | bytes32 (32-byte hex string, 0x-prefixed). | |
| s | Yes | bytes32 (32-byte hex string, 0x-prefixed). | |
| v | Yes | uint8 (uint8, pass as decimal string). | |
| token | Yes | address (Ethereum address, 0x-prefixed). | |
| value | Yes | uint256 (uint256, pass as decimal string). | |
| deadline | Yes | uint256 (uint256, pass as decimal string). |
selfPermitAllowedInspect
Calls selfPermitAllowed(token: string, nonce: string, expiry: string, v: string, r: string, s: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.
| Name | Required | Description | Default |
|---|---|---|---|
| r | Yes | bytes32 (32-byte hex string, 0x-prefixed). | |
| s | Yes | bytes32 (32-byte hex string, 0x-prefixed). | |
| v | Yes | uint8 (uint8, pass as decimal string). | |
| nonce | Yes | uint256 (uint256, pass as decimal string). | |
| token | Yes | address (Ethereum address, 0x-prefixed). | |
| expiry | Yes | uint256 (uint256, pass as decimal string). |
selfPermitAllowedIfNecessaryInspect
Calls selfPermitAllowedIfNecessary(token: string, nonce: string, expiry: string, v: string, r: string, s: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.
| Name | Required | Description | Default |
|---|---|---|---|
| r | Yes | bytes32 (32-byte hex string, 0x-prefixed). | |
| s | Yes | bytes32 (32-byte hex string, 0x-prefixed). | |
| v | Yes | uint8 (uint8, pass as decimal string). | |
| nonce | Yes | uint256 (uint256, pass as decimal string). | |
| token | Yes | address (Ethereum address, 0x-prefixed). | |
| expiry | Yes | uint256 (uint256, pass as decimal string). |
selfPermitIfNecessaryInspect
Calls selfPermitIfNecessary(token: string, value: string, deadline: string, v: string, r: string, s: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.
| Name | Required | Description | Default |
|---|---|---|---|
| r | Yes | bytes32 (32-byte hex string, 0x-prefixed). | |
| s | Yes | bytes32 (32-byte hex string, 0x-prefixed). | |
| v | Yes | uint8 (uint8, pass as decimal string). | |
| token | Yes | address (Ethereum address, 0x-prefixed). | |
| value | Yes | uint256 (uint256, pass as decimal string). | |
| deadline | Yes | uint256 (uint256, pass as decimal string). |
sweepTokenInspect
Calls sweepToken(token: string, amountMinimum: string, recipient: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | address (Ethereum address, 0x-prefixed). | |
| recipient | Yes | address (Ethereum address, 0x-prefixed). | |
| amountMinimum | Yes | uint256 (uint256, pass as decimal string). |
sweepTokenWithFeeInspect
Calls sweepTokenWithFee(token: string, amountMinimum: string, recipient: string, feeBips: string, feeRecipient: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | address (Ethereum address, 0x-prefixed). | |
| feeBips | Yes | uint256 (uint256, pass as decimal string). | |
| recipient | Yes | address (Ethereum address, 0x-prefixed). | |
| feeRecipient | Yes | address (Ethereum address, 0x-prefixed). | |
| amountMinimum | Yes | uint256 (uint256, pass as decimal string). |
uniswapV3SwapCallbackInspect
Calls uniswapV3SwapCallback(amount0Delta: string, amount1Delta: string, _data: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.
| Name | Required | Description | Default |
|---|---|---|---|
| _data | Yes | bytes (hex-encoded bytes, 0x-prefixed). | |
| amount0Delta | Yes | int256 (int256, pass as decimal string). | |
| amount1Delta | Yes | int256 (int256, pass as decimal string). |
unwrapWETH9Inspect
Calls unwrapWETH9(amountMinimum: string, recipient: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.
| Name | Required | Description | Default |
|---|---|---|---|
| recipient | Yes | address (Ethereum address, 0x-prefixed). | |
| amountMinimum | Yes | uint256 (uint256, pass as decimal string). |
unwrapWETH9WithFeeInspect
Calls unwrapWETH9WithFee(amountMinimum: string, recipient: string, feeBips: string, feeRecipient: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.
| Name | Required | Description | Default |
|---|---|---|---|
| feeBips | Yes | uint256 (uint256, pass as decimal string). | |
| recipient | Yes | address (Ethereum address, 0x-prefixed). | |
| feeRecipient | Yes | address (Ethereum address, 0x-prefixed). | |
| amountMinimum | Yes | uint256 (uint256, pass as decimal string). |
WETH9Inspect
Calls WETH9(). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns address.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Verify Ownership
This connector has been claimed. The /.well-known/glama.json file has been verified and ownership is confirmed.
Glama periodically re-verifies ownership. If the file is removed, the claim will be revoked.
Control your server's listing on Glama, including description and metadata
Receive usage reports showing how your server is being used
Get monitoring and health status updates for your server
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Your Connectors
Sign in to create a connector for this server.