# Use VieNeu in VS Code with GitHub Copilot

Source: https://docs.vieneu.io/docs/integrations/mcp/vscode

## Add the server

**One click:** **<a href="vscode:mcp/install?%7B%22name%22%3A%22vieneu%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.vieneu.io%2Fmcp%22%7D" target="_self">Add VieNeu to VS Code</a>**. VS Code opens
the server's install page; choose **Install**, then sign in when it starts.

Or run **MCP: Add Server** from the Command Palette and choose **HTTP**, or create
**`.vscode/mcp.json`** in your workspace (or run **MCP: Open User
Configuration** for every workspace):

```json
{
  "servers": {
    "vieneu": {
      "type": "http",
      "url": "https://api.vieneu.io/mcp"
    }
  }
}
```

The first time the server starts, VS Code asks whether you trust it, then opens
your browser for sign-in: press **Cho phép** (Allow) on the VieNeu page.

## Using an API key instead

VS Code can prompt for the key once and store it securely:

```json
{
  "inputs": [
    { "type": "promptString", "id": "vieneu-key", "description": "VieNeu API key", "password": true }
  ],
  "servers": {
    "vieneu": {
      "type": "http",
      "url": "https://api.vieneu.io/mcp",
      "headers": { "X-API-Key": "${input:vieneu-key}" }
    }
  }
}
```

## Use it

Open Copilot Chat in **Agent** mode, make sure the VieNeu tools are enabled in
the tools picker, and ask: *"Đọc changelog này bằng giọng nam miền Bắc."*

**Inline player:** VS Code shows MCP Apps behind an experimental setting. Turn
on `chat.mcp.apps.enabled` to get the [player](./index.md#the-inline-player) in
chat; otherwise you get the link.

## Copilot Business and Enterprise

Organizations must enable the **"MCP servers in Copilot"** policy (off by
default) before members can use any MCP server. Copilot Free, Pro and Pro+ are
not affected.
