VS Code & Copilot

GitHub Copilot & VS Code MCP Crypto Trading Setup

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.

Updated: By Eterna Engineering (MCP Infrastructure & Execution Team)Read as Markdown
Direct answer: How do you add Eterna MCP to VS Code and GitHub Copilot?

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.

Config File.vscode/mcp.jsonOr Command Palette -> MCP: Add Server
Transporthttphttps://mcp.eterna.exchange/mcp
Copilot ModeAgent ModeUses execute_code + search_sdk
AuthOAuth 2.1Per-developer isolated sub-account
https://mcp.eterna.exchange/mcp

Add Eterna MCP to .vscode/mcp.json

.vscode/mcp.json
{
  "servers": {
    "eterna": {
      "type": "http",
      "url": "https://mcp.eterna.exchange/mcp"
    }
  }
}
Note: 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.
FAQ

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