VS Code connects to the Equibles MCP server from Copilot agent mode, configured in an `mcp.json` file.

## 1. Install VS Code

Install [VS Code](https://code.visualstudio.com) with GitHub Copilot, and switch Copilot Chat to **Agent** mode.

## 2. Add the Equibles server

One command adds the server; Copilot signs you in over OAuth on first use — no key to manage:

```bash
code --add-mcp '{"name":"equibles","type":"http","url":"https://mcp.equibles.com/mcp"}'
```

**Prefer an API key?** Create one at [/dashboard/apikeys](/dashboard/apikeys) (it starts with `eq_` and is shown once), then add Equibles to `.vscode/mcp.json` in your workspace (or your user `mcp.json`):

```json
{
  "servers": {
    "equibles": {
      "type": "http",
      "url": "https://mcp.equibles.com/mcp",
      "headers": { "Authorization": "Bearer eq_your_api_key" }
    }
  }
}
```

> Prefer not to store the key in the file? Run **MCP: Add Server** from the Command Palette and use an `${input:...}` variable — VS Code prompts for the key and stores it securely.

## 3. Test it

Open Copilot Chat in **Agent** mode and ask any of these — it should call an Equibles tool:

<div class="doc-prompts">
  <div class="doc-prompt"><span class="q">›</span> Show me Apple's last five daily closes. <span class="tag">Prices</span></div>
  <div class="doc-prompt"><span class="q">›</span> Who are NVIDIA's top institutional holders this quarter? <span class="tag">13F</span></div>
  <div class="doc-prompt"><span class="q">›</span> Summarize Microsoft's most recent earnings call. <span class="tag">Earnings</span></div>
</div>

## Troubleshooting

<details class="doc-ts"><summary>Server not appearing?</summary>
<div class="doc-ts-body">

After editing `mcp.json`, click **Start** on the server (or reload the window) — check the MCP servers list in the Command Palette shows Equibles running.

</div>
</details>

<details class="doc-ts"><summary>Model answers without Equibles data?</summary>
<div class="doc-ts-body">

Make sure Copilot is in Agent mode and tell it explicitly to "use the Equibles MCP server".

</div>
</details>

<details class="doc-ts"><summary>401 / access denied?</summary>
<div class="doc-ts-body">

Your key is missing or wrong — re-copy it from [/dashboard/apikeys](/dashboard/apikeys) into the `Authorization` header. If you're over your daily limit, see [Rate limits](/docs/rate-limits).

</div>
</details>