# GitHub Copilot & VS Code MCP Crypto Trading Setup

> Open the VS Code Command Palette, run MCP: Add Server (HTTP), and paste https://mcp.eterna.exchange/mcp (or commit .vscode/mcp.json). Sign in via OAuth 2.1 when prompted. GitHub Copilot Agent Mode immediately gains search_sdk, search_examples, and execute_code for live crypto market data, TA, and order execution.

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

VS Code ships first-class remote HTTP MCP support shared directly by GitHub Copilot Agent Mode. One workspace file lets your whole engineering team test and run trading logic with isolated per-user OAuth accounts.

## Key Facts

| Metric | Value | Notes |
|--------|-------|-------|
| Config File | .vscode/mcp.json | Or Command Palette -> MCP: Add Server |
| Transport | http | https://mcp.eterna.exchange/mcp |
| Copilot Mode | Agent Mode | Uses execute_code + search_sdk |
| Auth | OAuth 2.1 | Per-developer isolated sub-account |

## Add Eterna MCP to .vscode/mcp.json

### .vscode/mcp.json

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

*Open Copilot Chat in Agent Mode, click the Tools icon, and ensure the eterna MCP tools are enabled.*

## Best practices for GitHub Copilot Agent Mode

- Keep tool confirmation enabled in VS Code so Copilot shows the TypeScript script before executing any live order.
- Store reusable strategy prompts in .github/prompts/ so every run enforces the same risk percentage and stop-loss rules.
- Use Eterna's built-in technical analysis methods (getRsi, getMacd, getEma, getVwap) instead of pulling raw OHLCV libraries into your repo.

## Frequently Asked Questions

### Does one VS Code MCP config work for both VS Code and GitHub Copilot?

Yes. GitHub Copilot Agent Mode automatically reads servers declared in .vscode/mcp.json or your VS Code user MCP settings.

## References & Primary Sources

- [VS Code MCP Servers Documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers): Official VS Code schema for .vscode/mcp.json HTTP servers.

## Related Guides

- [Cursor MCP Crypto Trading: Build & Run Strategies in Cursor IDE](https://ai.eterna.exchange/integrations/cursor)
- [Windsurf & Cline MCP Crypto Trading Configuration](https://ai.eterna.exchange/integrations/windsurf-cline)
- [Best MCP Server for Crypto Trading: Architecture, Fees, and Setup](https://ai.eterna.exchange/mcp-crypto-trading)
- [Eterna MCP SDK Reference: All 30+ eterna.* Methods](https://ai.eterna.exchange/sdk)
