> ## Documentation Index
> Fetch the complete documentation index at: https://heygen-1fa696a7.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

> Add HeyGen to Cursor in one click and make AI avatar videos from your editor.

Make HeyGen videos from Cursor's chat with a plain-language prompt.

**1. Add HeyGen from the marketplace**

Open [cursor.com/marketplace/heygen](https://cursor.com/marketplace/heygen), click **Add**, and confirm in Cursor.

**2. Connect your HeyGen account**

The first time Cursor uses HeyGen, approve access in your browser.

**3. Ask for a video**

```text theme={null}
Make a 60-second HeyGen explainer about our new API release.
```

Cursor writes the script, picks the avatar, and renders the video. Finished videos also appear in **Projects** in HeyGen.

> [accordion] Add HeyGen manually instead
>
> Add this to `~/.cursor/mcp.json`, next to any servers you already have:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "heygen": {
>       "url": "https://mcp.heygen.com/mcp/v1/"
>     }
>   }
> }
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.