SwapWizard
v1.8.9Non-custodial DeFi for AI agents: swaps, concentrated liquidity (V3/V4) zaps + ranges, 5 EVM chains
Values you need
| Variable | What it is | |
|---|---|---|
SWAPWIZARD_API_KEY | required secret | API key from https://swapwizard.xyz/integrators |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add swapwizard-mcp -e 'SWAPWIZARD_API_KEY=<SWAPWIZARD_API_KEY>' -- npx -y --package=@swapwizard/mcp-server@1.8.9 swapwizard-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"swapwizard-mcp": {
"args": [
"-y",
"--package=@swapwizard/mcp-server@1.8.9",
"swapwizard-mcp"
],
"command": "npx",
"env": {
"SWAPWIZARD_API_KEY": "<SWAPWIZARD_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"swapwizard-mcp": {
"args": [
"-y",
"--package=@swapwizard/mcp-server@1.8.9",
"swapwizard-mcp"
],
"command": "npx",
"env": {
"SWAPWIZARD_API_KEY": "<SWAPWIZARD_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SWAPWIZARD_API_KEY",
"id": "swapwizard-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"swapwizard-mcp": {
"args": [
"-y",
"--package=@swapwizard/mcp-server@1.8.9",
"swapwizard-mcp"
],
"command": "npx",
"env": {
"SWAPWIZARD_API_KEY": "${input:swapwizard-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.swapwizard-mcp]
command = "npx"
args = ["-y", "--package=@swapwizard/mcp-server@1.8.9", "swapwizard-mcp"]
env = { "SWAPWIZARD_API_KEY" = "<SWAPWIZARD_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http swapwizard-mcp https://mcp.swapwizard.xyz/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"swapwizard-mcp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.swapwizard.xyz/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"swapwizard-mcp": {
"url": "https://mcp.swapwizard.xyz/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"swapwizard-mcp": {
"type": "http",
"url": "https://mcp.swapwizard.xyz/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.swapwizard-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.swapwizard.xyz/mcp"]For AI agents
- Ask the user for: SWAPWIZARD_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_setup_guide, get_supported_chains, check_api_health, get_supported_dexes, search_liquidity_pools, analyze_pool, list_user_lp_positions, get_swap_quote, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json