DeFi execution layer for AI agents — swap, zap in/out of LP, route across AMMs on 5 EVM chains.
DeFi execution layer for AI agents — swap, zap in/out of LP, route across AMMs on 5 EVM chains. That is what the swapwizard mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
Model Context Protocol (MCP) server for the SwapWizard DeFi API. Enables AI agents to get swap quotes, manage liquidity, and discover pools across 5 EVM chains.
The server publishes 10 tools. What each one is for:
get_supported_chains — List supported EVM chains with IDs, gas tokens, DEX list, and position configget_supported_dexes — AMMs/DEX sources SwapWizard routes across per chaincheck_api_health — API availability checksearch_liquidity_pools — Discover pools by chain, tokens, type, or GeckoTerminal trending (trending: true + optional timeframe: 5m/1h/6h/24h, default 5m). Returns poolIdlist_user_lp_positions — Full LP position details: value, fees, APR, in-range status, impermanent lossget_swap_quote — Best swap route across all DEXes. Returns router + callData + value ready to signget_clean_quote — Swap quote excluding the caller's own LP position from pool state (for rebalancing)zap_into_lp_position — Single-tx entry into any LP position from any tokenzap_out_of_lp_position — Single-tx exit from any LP position into any token. Pass sender to auto-detect nftManagerSwap — 1. get_supported_chains — find available chains 2. get_swap_quote — get best route + callData 3. User approves (if non-native) and signs theBecause this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
Configuration is passed through the environment: SWAPWIZARD_API_KEY, SWAPWIZARD_API_URL. 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.
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. SwapWizard's toolset — get_supported_chains, get_supported_dexes, check_api_health and 7 more — is a fair guide to whether it matches your workflow. It is maintained by DeFiRe-business; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against SwapWizard's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| get_supported_chains | List supported EVM chains with IDs, gas tokens, DEX list, and position config |
| get_supported_dexes | AMMs/DEX sources SwapWizard routes across per chain |
| check_api_health | API availability check |
| search_liquidity_pools | Discover pools by chain, tokens, type, or GeckoTerminal trending (trending: true + optional timeframe: 5m/1h/6h/24h, default 5m). Returns poolId, symbol, fee tier, protocol, APY, TVL, 24h volume |
| list_user_lp_positions | Full LP position details: value, fees, APR, in-range status, impermanent loss |
| get_swap_quote | Best swap route across all DEXes. Returns router + callData + value ready to sign |
| get_clean_quote | Swap quote excluding the caller's own LP position from pool state (for rebalancing) |
| zap_into_lp_position | Single-tx entry into any LP position from any token |
| zap_out_of_lp_position | Single-tx exit from any LP position into any token. Pass sender to auto-detect nftManager |
| Swap | 1. get_supported_chains — find available chains 2. get_swap_quote — get best route + callData 3. User approves (if non-native) and signs the transaction |
{
"mcpServers": {
"swapwizard": {
"command": "npx",
"args": ["-y", "@swapwizard/mcp-server"],
"env": {
"SWAPWIZARD_API_KEY": "your-api-key"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| SWAPWIZARD_API_KEY | Credential the server authenticates with. | Yes |
| SWAPWIZARD_API_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.