# Gemini CLI & AI Studio Crypto Trading via Remote 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.

- Canonical URL: https://ai.eterna.exchange/integrations/gemini
- Last updated: November 23, 2026
- Author: Eterna Engineering (MCP Infrastructure & Execution Team)
- MCP endpoint: https://mcp.eterna.exchange/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.

## Key Facts

| Metric | Value | Notes |
|--------|-------|-------|
| Config File | ~/.gemini/settings.json | Standard Gemini CLI MCP block |
| MCP Endpoint | mcp.eterna.exchange/mcp | Remote streamable HTTP |
| Auth | OAuth 2.1 | Browser sign-in, isolated sub-account |
| SDK Methods | 30+ methods | Market data, TA, perps, spot, funding |

## Gemini CLI configuration

### ~/.gemini/settings.json

```json
{
  "mcpServers": {
    "eterna": {
      "httpUrl": "https://mcp.eterna.exchange/mcp"
    }
  }
}
```

*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.

## 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.

## References & Primary Sources

- [Eterna MCP Server Card](https://ai.eterna.exchange/.well-known/mcp/server-card.json): Transport and tool metadata for remote MCP clients.

## Related Guides

- [Best MCP Server for Crypto Trading: Architecture, Fees, and Setup](https://ai.eterna.exchange/mcp-crypto-trading)
- [How to Trade Crypto with Claude (MCP Connector & Trading Skill)](https://ai.eterna.exchange/claude-crypto-trading)
- [Cursor MCP Crypto Trading: Build & Run Strategies in Cursor IDE](https://ai.eterna.exchange/integrations/cursor)
- [Eterna MCP SDK Reference: All 30+ eterna.* Methods](https://ai.eterna.exchange/sdk)
