# VS Code (Copilot agent mode) + Dizo

> Add Dizo to VS Code with .vscode/mcp.json and use it from GitHub Copilot agent mode, with the key kept as a prompted input.

Type: MCP client — server URL `https://mcp.dizo.ai/mcp`. No native app needed.

## Steps
1. Create `.vscode/mcp.json` with the config below.
2. VS Code prompts for the key on first use and stores it securely.
3. Open Copilot Chat in agent mode and enable the Dizo tools.

## .vscode/mcp.json
```
{
  "inputs": [{ "type": "promptString", "id": "dizo_key", "description": "Dizo API key", "password": true }],
  "servers": {
    "dizo": {
      "type": "http",
      "url": "https://mcp.dizo.ai/mcp",
      "headers": { "Authorization": "Bearer ${input:dizo_key}" }
    }
  }
}
```

## Notes
- The `inputs` block keeps the key out of the committed file.

## Related API docs
- [/docs/search](https://dizo.ai/docs/search.md)
- [/docs/keys](https://dizo.ai/docs/keys.md)
