Skip to main content

Prerequisites

  • A Lovable account
  • A HeyGen account with Video Agent access

Add the Connector

Lovable supports custom MCP servers as chat connectors — per-user connections that give Lovable’s chat context while you build.
1

Open chat connectors

Go to Connectors → Chat connectors. You can also reach this from the + menu next to the prompt input, or via the command palette (Cmd/Ctrl+K).
2

Add a custom MCP server

Choose Add custom MCP server, name it HeyGen, and enter the remote MCP server URL:
https://mcp.heygen.com/mcp/v1/
3

Authenticate with OAuth

Save and connect, then complete the one-time OAuth sign-in to HeyGen to approve access — no API key required.

Usage

In Lovable’s chat, prompt a video generation request:
Generate a short product walkthrough video with HeyGen for this app.
Lovable calls HeyGen’s tools to handle scripting, avatar selection, and rendering. Completed videos are accessible from the Projects page in your HeyGen dashboard.
Custom MCP servers in Lovable are per-user connections — they are personal, not shared with your workspace, and provide context to Lovable’s chat during app creation. They are not bundled into your deployed app. See Lovable’s Integrations overview for details.