VS Code
VS Code’s GitHub Copilot Chat (in Agent mode) supports MCP servers via
workspace or user mcp.json files.
Prerequisites
- Visual Studio Code 1.94 or newer.
- GitHub Copilot Chat extension installed and signed in.
- An Estaite MCP API key from estaite.com/developers.
Config file location
| Scope | Path |
|---|---|
| User | Run the MCP: Open User Configuration command from the palette |
| Workspace | .vscode/mcp.json in your repo root |
Config
{ "servers": { "estaite": { "type": "http", "url": "https://mcp.estaite.com", "headers": { "x-api-key": "YOUR_API_KEY" } } }}Replace YOUR_API_KEY with your key. To avoid checking the key into source
control, use VS Code’s input-variable syntax:
{ "inputs": [ { "id": "estaite-key", "type": "promptString", "description": "Estaite MCP API key", "password": true } ], "servers": { "estaite": { "type": "http", "url": "https://mcp.estaite.com", "headers": { "x-api-key": "${input:estaite-key}" } } }}VS Code will prompt for the key the first time the server is started and cache it for the workspace.
Apply
Open the Copilot Chat view, switch to Agent mode, and select the
estaite server from the tool picker. The 13 tools appear under that
server’s name.
Troubleshooting
- Server not listed — confirm Copilot Chat is in Agent mode (the mode selector at the bottom of the chat view). MCP tools only show in Agent mode.
401— the key inheaders["x-api-key"]is wrong, blank, or revoked.