npm install -g @google/gemini-cli@latest.
1
Add the server
Add HeyGen to Restart Gemini CLI.
~/.gemini/settings.json, next to any servers you already have. Use .gemini/settings.json in a project folder to add it to that project only.2
Connect your HeyGen account
The first time Gemini uses HeyGen, approve access in your browser. Run
/mcp to see heygen connected.3
Ask for a video

