Integrations
Enables token swaps on Uniswap DEX on the BNB Chain (Binance Smart Chain), supporting BNB as the native token.
Enables token swaps on Uniswap DEX on the Ethereum mainnet, with price quotes, swap execution, and trading suggestions.
Supports token swaps on Uniswap DEX on the Optimism Layer 2 network, with real-time price quotes and optimized routing.
Uniswap Trader MCP
Ein MCP-Server für KI-Agenten zur Automatisierung von Token-Swaps auf Uniswap DEX über mehrere Blockchains hinweg.
Merkmale
- Preisangebote : Erhalten Sie Preisangebote in Echtzeit für Token-Swaps mit Multi-Hop-Routenoptimierung.
- Swap-Ausführung : Führen Sie Swaps auf Uniswap V3 mit konfigurierbarer Slippage-Toleranz und Fristen aus.
- Swap-Vorschläge : Erstellen Sie Handelsvorschläge basierend auf Liquidität, Gebühren und optimalen Pfaden.
- Multi-Chain-Unterstützung : Kompatibel mit Ethereum, Optimism, Polygon, Arbitrum, Celo, BNB Chain, Avalanche und Base.
Voraussetzungen
- Node.js : Version 14.x oder höher.
- npm : Für die Paketverwaltung.
- Wallet : Ein finanziertes Wallet mit einem privaten Schlüssel zum Ausführen von Swaps.
- RPC-Endpunkte : Zugriff auf Blockchain-RPC-URLs (z. B. Infura, Alchemy) für unterstützte Ketten.
Installation
Installation über Smithery
So installieren Sie Uniswap Trader MCP für Claude Desktop automatisch über Smithery :
Manuelle Installation
- Klonen Sie das Repository :Copy
- Abhängigkeiten installieren :Copy
Konfiguration
Verwendung
Unterstützte Ketten
Die folgenden Blockchains werden unterstützt. Stellen Sie sicher, dass jede Kette in chainConfigs.js
mit einer gültigen RPC-URL, WETH-Adresse und SwapRouter-Adresse konfiguriert ist.
Ketten-ID | Name | Hinweise |
---|---|---|
1 | Ethereum | Mainnet, häufig für Uniswap-Trades verwendet |
10 | Optimismus | Schicht 2, erfordert Optimism RPC |
137 | Polygon | Schnell und kostengünstig, verwendet MATIC als native |
42161 | Arbitrum | Schicht 2, Arbitrum One-Netzwerk |
42220 | Celo | Mobile-First-Blockchain verwendet CELO |
56 | BNB-Kette | Binance Smart Chain verwendet BNB |
43114 | Lawine | Hoher Durchsatz, verwendet AVAX |
8453 | Base | Coinbases Layer 2, basierend auf Optimismus |
Tools und Eingabeaufforderungen
1. getPrice
Ruft ein Preisangebot für einen Uniswap-Swap ab.
Schema :
chainId
: Zahl (Standard: 1)tokenIn
: Zeichenfolge (z. B."NATIVE"
oder Token-Adresse)tokenOut
: Zeichenfolge (z. B."NATIVE"
oder Token-Adresse)amountIn
: String (optional, erforderlich für"exactIn"
)amountOut
: String (optional, erforderlich für"exactOut"
)tradeType
:"exactIn"
oder"exactOut"
(Standard:"exactIn"
)
Beispiel-Eingabeaufforderung:
Ausgabe:
2. executeSwap
Führt einen Swap auf Uniswap aus.
Schema :
chainId
: Zahl (Standard: 1)tokenIn
: ZeichenfolgetokenOut
: ZeichenfolgeamountIn
: String (optional, erforderlich für"exactIn"
)amountOut
: String (optional, erforderlich für"exactOut"
)tradeType
:"exactIn"
oder"exactOut"
(Standard:"exactIn"
)slippageTolerance
: Zahl (Standard: 0,5, in Prozent)deadline
: Zahl (Standard: 20, in Minuten)
Beispiel-Eingabeaufforderung:
Ausgabe:
Lizenz
MIT-Lizenz. Weitere Informationen finden Sie unter LIZENZ .
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Ein MCP-Server für KI-Agenten zur Automatisierung von Token-Swaps auf Uniswap DEX über mehrere Blockchains hinweg.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server implementation that enables access to DexScreener API data, providing real-time information on DEX pairs, token profiles, and market statistics across multiple blockchains.Last updated -76JavaScriptThe Unlicense
- -securityAlicense-qualityAn MCP server providing tools for AI agents to mint ERC-20 tokens across multiple blockchains.Last updated -69JavaScriptMIT License
- -securityAlicense-qualityAn MCP server for executing token swaps on the Solana blockchain using Jupiter's Ultra API, enabling users to fetch optimal swap orders and execute transactions with slippage control.Last updated -JavaScriptMIT License
Armor Crypto MCPofficial
AsecurityAlicenseAqualityAn MCP server providing unified access to blockchain operations, bridging, swapping, and crypto trading strategies for AI agents.Last updated -20193PythonGPL 3.0