MCP server for SwapAPI - get executable token swap calldata for EVM chains
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add swap-api -- npx -y @swapapi/mcp~/.codex/config.toml
[mcp_servers.swap-api]
command = "npx"
args = ["-y", "@swapapi/mcp"]
# codex mcp add swap-api -- npx -y @swapapi/mcp~/.cursor/mcp.json
{
"mcpServers": {
"swap-api": {
"command": "npx",
"args": [
"-y",
"@swapapi/mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"swap-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@swapapi/mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"swap-api": {
"command": "npx",
"args": [
"-y",
"@swapapi/mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"swap-api": {
"command": "npx",
"args": [
"-y",
"@swapapi/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"swap-api": {
"command": "npx",
"args": [
"-y",
"@swapapi/mcp"
]
}
}
}