Gemini Integration

Gemini CLI & AI Studio Crypto Trading via Remote MCP

Google's Gemini models combine massive context windows with fast tool execution. Pairing Gemini CLI with Eterna's code-execution MCP lets you analyze multi-asset setups and execute trades directly from your terminal.

Updated: By Eterna Engineering (MCP Infrastructure & Execution Team)Read as Markdown
Direct answer: How do you connect Google Gemini CLI to Eterna MCP?

Add https://mcp.eterna.exchange/mcp as a remote HTTP MCP server in ~/.gemini/settings.json under mcpServers, launch Gemini CLI, and authorize via OAuth 2.1. Gemini receives search_sdk, search_examples, and execute_code to run technical analysis and execute USDT perpetuals and spot orders on Eterna with 0.014% maker / 0.035% taker fees.

Config File~/.gemini/settings.jsonStandard Gemini CLI MCP block
MCP Endpointmcp.eterna.exchange/mcpRemote streamable HTTP
AuthOAuth 2.1Browser sign-in, isolated sub-account
SDK Methods30+ methodsMarket data, TA, perps, spot, funding
https://mcp.eterna.exchange/mcp

Gemini CLI configuration

~/.gemini/settings.json
{
  "mcpServers": {
    "eterna": {
      "httpUrl": "https://mcp.eterna.exchange/mcp"
    }
  }
}
Note: After saving settings.json, run gemini in your terminal and complete the OAuth browser login when Eterna MCP connects.

Best workflows for Gemini + Eterna MCP

  • Long-session trade journaling: leverage Gemini's large context window to review historical execution summaries alongside live eterna.getPositions and eterna.getOrders data.
  • Multi-timeframe divergence scans: run one execute_code script pulling 15m, 1h, and 4h RSI, MACD, and Bollinger Bands across a 15-coin watchlist.
  • Zero-key terminal automation: keep credentials out of shell history and dotfiles via OAuth 2.1.
FAQ

Frequently asked questions

Does Gemini CLI need a local proxy to talk to Eterna MCP?
No. Eterna serves native streamable HTTP at https://mcp.eterna.exchange/mcp, so Gemini CLI connects directly over HTTPS.
Primary Sources

References & verification links

Start Trading via MCP

Connect your AI agent in 30 seconds

One remote MCP URL. 800+ USDT perpetuals, 380+ spot pairs, 0.014% maker / 0.035% taker, no KYC.

View on GitHub