uniswap_swap_quote MCP tool; your backend signs approval and swap transactions with the agent wallet accessKey.
Supported chains
ethereum, base, polygon, arbitrum-one, bsc
Dashboard setup
- Open Agentic Stack → Integrations for your application.
- Enable Uniswap and paste your API key from developers.uniswap.org.
- Save — the key is encrypted server-side and included in agent validation for MCP calls.
The Uniswap key is stored per application, not per end user. All agents under that app share the integration when enabled.
MCP tool: uniswap_swap_quote
| Parameter | Required | Description |
|---|---|---|
chain | Yes | EVM network slug |
input_token | Yes | Symbol (ETH, USDC) or 0x address |
output_token | Yes | Symbol or address |
amount | Yes | Human-readable sell amount |
slippage_bps | No | Default 50 (0.5%) |
Uniswap specialist chat
In the sample web app, open chat with?serviceAgent=uniswap (or pick the Uniswap category). The backend:
- Filters tools to Uniswap-relevant MCP calls
- Injects Uniswap-specific system prompts
- Routes swap requests to
uniswap_swap_quote(notevm_swap_quote)
Execution modes
TRANSFER_REQUIRE_CONFIRMATION | Behavior |
|---|---|
true (default) | User sees a swap confirmation card in chat — Confirm / Cancel before signing |
false | Backend auto-signs approval (if needed) and swap |
Transaction history
Confirmed swaps are recorded aschat_uniswap_swap (and approvals as chat_uniswap_approval) in agent transaction history.
Related
Third-party integrations
BYOK overview, architecture, and deployment.
Swap confirmation
Confirm / cancel UX and REST endpoints.
MCP tools reference
Full tool catalog including
uniswap_swap_quote.Interaction policies
Off-chain guardrails before tool execution.
Dashboard setup
Agentic Stack navigation and credentials.