# VS Code

VS Code reads MCP servers from `.vscode/mcp.json` in your project. This config asks for your key the first
time the server starts and stores it securely, so the file itself holds no secret and can be committed:

.vscode/mcp.json: VS Code asks for the key the first time and keeps it in its secret storage.

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

Save the file, then choose **Start** above the `dnssuper` entry. Enter your key when asked.

## Use it

Open Copilot Chat in agent mode and ask for a check: "Check the SSL certificate of example.com". The DNS
Super tools are listed under the tools button, where you can turn single tools on or off.

## Every project

To use DNS Super in every workspace, run **MCP: Open User Configuration** from the command palette and add
the same `inputs` and `servers` entries there.
