Skip to main content
Make HeyGen videos from Codex with a plain-language prompt. Pick the tab for the Codex you use.
Install the HeyGen plugin. It’s the same plugin as in ChatGPT, and it shows videos and voices as interactive cards in the chat.
1

Install the HeyGen plugin

Open the Plugins tab, find HeyGen, and select the plus button.
2

Connect your HeyGen account

Start a new chat. When Codex asks, sign in to HeyGen in your browser and approve access. New to HeyGen? You can create an account during this step.
3

Ask for a video

Codex writes the script, picks the avatar, and renders the video. Finished videos also appear in Projects in HeyGen.
Plugin availability can depend on your plan, workspace settings, and region. To connect HeyGen’s MCP server directly:
  1. Open Settings, then select MCP servers.
  2. Select Add server.
  3. Name it HeyGen, choose Streamable HTTP, and enter https://mcp.heygen.com/mcp/v1.
  4. Save the server, then select Restart.
The Codex app and Codex CLI share MCP settings, so a server you add in one also appears in the other.
If you set HeyGen up without the plugin, add HeyGen Skills to Codex for sharper scripts and scene structure. The plugin already includes them.
  • HeyGen tools missing after installing the plugin: start a new chat. Plugins load when a chat starts.
  • No authorization support detected: the URL has a trailing slash. Run codex mcp remove heygen, then add it again with the command above.
  • OAuth login is only supported for streamable HTTP servers: the server was added without --url. Remove it and add it again with the command above.
  • Tools missing after sign-in in Codex CLI: restart Codex CLI.