# VS Code

URL: https://docs.healthcare.dev/mcp/vscode

Add `.vscode/mcp.json` (note `servers`, not `mcpServers`). VS Code prompts for the key once and
stores it securely:

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "hdev-key",
      "description": "healthcare.dev API key",
      "password": true
    }
  ],
  "servers": {
    "healthcare-dev": {
      "type": "http",
      "url": "https://mcp.healthcare.dev/mcp",
      "headers": { "Authorization": "Bearer ${input:hdev-key}" }
    }
  }
}
```

Open Copilot Chat in agent mode and pick the healthcare-dev tools from the tools menu.
