Skip to content
Gemini CLI

onlyswaps for Gemini CLI

io.github.nicofains1/onlyswaps

DEX meta-aggregator for AI agents. Best prices from 15+ aggregators across 13 chains.

client:Gemini CLI transport:stdio runtime:npm

Install onlyswaps in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "onlyswaps": {
      "command": "npx",
      "args": [
        "-y",
        "@onlyswaps/mcp-server"
      ],
      "env": {
        "ONLYSWAPS_API_URL": "<ONLYSWAPS_API_URL>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

onlyswaps in other clients