# Use VieNeu in Cursor

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

## Add the server

**One click:** **<a href="cursor://anysphere.cursor-deeplink/mcp/install?name=vieneu&config=eyJ1cmwiOiJodHRwczovL2FwaS52aWVuZXUuaW8vbWNwIn0=" target="_self">Add VieNeu to Cursor</a>**. Cursor opens
with the server filled in; confirm **Install**, then sign in (below).

Or by hand: create or edit `mcp.json` — **`.cursor/mcp.json`** in a project, or
**`~/.cursor/mcp.json`** for every project:

```json
{
  "mcpServers": {
    "vieneu": { "url": "https://api.vieneu.io/mcp" }
  }
}
```

Save it. Cursor lists **vieneu** under its MCP settings and asks you to sign in:
your browser opens the VieNeu page — press **Cho phép** (Allow). The page notes
the app runs on your computer; that is expected for Cursor.

## Using an API key instead

```json
{
  "mcpServers": {
    "vieneu": {
      "url": "https://api.vieneu.io/mcp",
      "headers": { "X-API-Key": "${env:VIENEU_API_KEY}" }
    }
  }
}
```

`${env:VIENEU_API_KEY}` reads the key from your environment, so the file can be
committed without the secret.

## Use it

In Agent chat: *"Đọc đoạn mô tả sản phẩm này bằng giọng nữ miền Nam, trả link
MP3."* Cursor asks before running a tool (you can allow it). Results render in
the [inline player](./index.md#the-inline-player) where Cursor supports MCP
Apps; the link is always in the reply.

## Teams

On Cursor Business/Enterprise, admins can restrict which MCP servers members may
use (**Team Settings → MCP Configuration**). Ask your admin to allow
`https://api.vieneu.io/mcp`.
