# Windsurf & Cline MCP Crypto Trading Configuration

> In Windsurf (Settings -> Cascade -> MCP) or Cline (MCP Servers -> Remote Servers), add https://mcp.eterna.exchange/mcp using streamable-http transport and complete OAuth 2.1 sign-in. Both agents immediately gain access to search_sdk, search_examples, and execute_code across 800+ USDT perpetuals and 380+ spot pairs.

- Canonical URL: https://ai.eterna.exchange/integrations/windsurf-cline
- Last updated: November 23, 2026
- Author: Eterna Engineering (MCP Infrastructure & Execution Team)
- MCP endpoint: https://mcp.eterna.exchange/mcp

Windsurf Cascade and Cline excel at autonomous multi-file workflows. Because Eterna collapses exchange logic into 3 MCP tools, both agents preserve their token budget for strategy logic and backtest tooling.

## Key Facts

| Metric | Value | Notes |
|--------|-------|-------|
| Windsurf Path | Settings -> MCP | mcp_config.json remote server |
| Cline Path | MCP Servers -> Remote | cline_mcp_settings.json |
| Endpoint | mcp.eterna.exchange/mcp | Streamable HTTP + OAuth 2.1 |
| Fees | 0.014% / 0.035% | USDT perpetual maker / taker |

## Remote MCP config for Windsurf and Cline

### mcp_config.json / cline_mcp_settings.json

```json
{
  "mcpServers": {
    "eterna": {
      "type": "streamable-http",
      "url": "https://mcp.eterna.exchange/mcp"
    }
  }
}
```

*Paste into Windsurf's MCP config or Cline's Remote Server settings, then complete OAuth login when prompted.*

## Configure approval modes safely in Windsurf and Cline

- Keep auto-approve OFF for execute_code while developing a new strategy so every order script is reviewed first.
- Limit risk at the infrastructure layer by funding the agent's isolated sub-account only with capital dedicated to that experiment.
- Use eterna.getPositions and eterna.getOrders at the start of every script so autonomous retries never double-enter a position.

## Frequently Asked Questions

### Can Windsurf and Cline share the same Eterna trading sub-account?

Yes. Signing in with the same Google OAuth identity across Windsurf, Cline, Cursor, Claude, or ChatGPT connects them to your same Eterna sub-account.

## References & Primary Sources

- [Eterna MCP GitHub Repository](https://github.com/EternaHybridExchange/eterna-mcp): Client setup snippets and quickstart docs.

## Related Guides

- [Cursor MCP Crypto Trading: Build & Run Strategies in Cursor IDE](https://ai.eterna.exchange/integrations/cursor)
- [GitHub Copilot & VS Code MCP Crypto Trading Setup](https://ai.eterna.exchange/integrations/vscode-copilot)
- [Best MCP Server for Crypto Trading: Architecture, Fees, and Setup](https://ai.eterna.exchange/mcp-crypto-trading)
- [How to Build an AI Crypto Trading Agent with MCP (Step-by-Step)](https://ai.eterna.exchange/ai-trading-agent)
