Source: https://manu-tests-all-orgs.docs-staging.pageloop.ai/mcp-tools/connect-your-client/vs-code

# VS Code / Copilot

## Connect from VS Code

VS Code supports MCP servers through GitHub Copilot's Agent mode. MCP tools are available when using Copilot Chat in Agent mode.

### Configuration File

Create `.vscode/mcp.json` in your workspace root:

```json
{
  "servers": {
    "Atomicwork": {
      "type": "http",
      "url": "https://<your-subdomain>.atomicwork.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:atomicwork-token}"
      }
    }
  },
  "inputs": [
    {
      "id": "atomicwork-token",
      "type": "promptString",
      "description": "Atomicwork API token",
      "password": true
    }
  ]
}
```

This prompts for the token on first use and masks the input. For a simpler setup without the prompt, you can inline the token directly as `"Authorization": "Bearer aw_xxx"` (and drop the `inputs` array).

### Important Differences from Other Clients

- The root key is **`servers`** (not `mcpServers`).
- Set the **`type`** field to `"http"` for the Atomicwork endpoint.
- MCP tools only work in Copilot's **Agent mode** (not Ask or Edit mode).

### User-Level Configuration

For global configuration across all workspaces, open the Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`) and run **MCP: Open User Configuration**.
