Skip to main content

HeyGen

Generate avatar videos and translations with HeyGen through its remote MCP server.

Connect it with: MCP. HeyGen's own documentation: https://docs.heygen.com/docs/heygen-remote-mcp-server.

What agents can do​

Connect HeyGen so the agents working your tasks can reach it. With it connected, they can:

  • Create an avatar video from a script with HeyGen's video agent.
  • Check a video's status and return its share link when it is ready.
  • Translate a video and fetch its caption file (SRT or VTT).

Before you start​

  • A HeyGen account on any plan; video generation spends the plan's credits.
  • Jaah's domain on HeyGen's MCP allow-list - an operator task; until it is done, HeyGen refuses the sign-in.
  • A Jaah account. Anyone can add a personal secret; an organization secret needs an Org Owner or Admin.

Connect with HeyGen​

HeyGen's MCP server signs you in itself, so connecting needs no key and no app of your own.

  1. In Jaah, open Secrets and select New.
  2. Search for HeyGen and select its card.
  3. Name the secret and choose who can use it (see Who can use it).
  4. Select Connect HeyGen, sign in to HeyGen in the window that opens, and approve the access it lists.
  5. You land back in Jaah on the new secret. Then link it to the projects whose agents should use it (see Use it in an agent session).

Connect with an API key​

HeyGen has no API key option in Jaah: connect with the sign-in above.

Use your own OAuth app​

Not needed: HeyGen's MCP server registers Jaah itself when you connect, so there is no app of your own to create.

Test the connection​

Select Test on the secret. Jaah makes one read-only call to HeyGen with the stored values and shows the result on the secret's page. Jaah also tests automatically when you save or reconnect.

Who can use it​

Every secret has an owner, and the owner decides who can use it:

  • Personal — only your own tasks can use it. This is the default.
  • Organization — every task in the organization can use it. Only Org Owners and Admins can choose this.
  • Attached to a project — every task on that project can use it, whoever started the task. See Attach a secret to a project.

More on owners and access: How secrets work.

Use it in an agent session​

An agent asks for the secret with its credential_get tool, by the secret's path, when it needs it, and gets the values for that one call. The path is the owner's prefix and the secret's name:

  • org/<name> for an organization secret,
  • projects/<project>/<name> for one attached to a project,
  • me/<name> for your personal one.

A signed-in connection hands the agent a live access_token, with access_token_expires_at. Jaah refreshes it before it expires, so an agent never handles a refresh token.

Tell the agent in your task description which secret to use, for example “use the HeyGen secret org/heygen”.

HeyGen also runs an MCP server, which gives agents ready-made HeyGen tools instead of raw API calls. A project's agents get those tools only once you link the secret to the project:

  1. Open the project and its MCP tab.
  2. Select Link, pick the HeyGen secret, and confirm.
  3. New tasks on the project start with the HeyGen tools. Tasks already running keep the tools they started with.

Jaah connects agents to the server through a local bridge, so the token never appears in the agent's configuration or its transcript. A Google Antigravity session in the terminal runtime runs without these tools; on ACP it gets them.

Manage, rotate or disconnect​

Everything is on the secret's page under Secrets:

  • Reconnect: when HeyGen ends the grant (a password change, a revoked app, an expired refresh), the secret shows Needs reconnect. Select Reconnect and sign in again; agents get the new token on their next call.
  • Disconnect: select Delete. The stored values are destroyed and agents lose access on their next call. To end access at HeyGen's side too, revoke Jaah in HeyGen's settings.

Limitations​

  • HeyGen's remote MCP server accepts only allow-listed client domains.
  • Every video an agent creates uses your HeyGen credits: say in the task how many videos are expected.
  • Agents can do only what the connected HeyGen account and its granted scopes allow.

Troubleshooting​

Connect fails before the HeyGen sign-in window opens

HeyGen has not allow-listed this Jaah's domain yet. Ask an operator to finish Jaah's HeyGen setup task.

Test says HeyGen rejected the token (401)

The sign-in expired or was revoked. Select Reconnect and sign in to HeyGen again.

The secret shows Needs reconnect

HeyGen ended the grant (a password change, a revoked connection or a long idle period). Select Reconnect on the secret and sign in to HeyGen again.

New tasks on the project have no HeyGen tools

Link the secret on the project's MCP tab, then start a new task. Tasks already running keep the tools they started with, and an agent marked Not supported on that tab cannot load MCP servers.

Still stuck? Select Test and read the result: it names the value HeyGen refused and the status it answered.

FAQ​

Does this use my HeyGen API key?

No. You sign in to HeyGen; the server bills the same plan credits your account uses.

What does Test do?

It opens an MCP session with HeyGen's server and lists its tools, then closes the session. It reads and changes nothing in your HeyGen account.

Can Jaah or an admin see the key or token?

No. Jaah stores it encrypted and never shows it again. Only the tasks allowed to use the secret receive it, at the moment they ask for it.

Can I connect more than one HeyGen account?

Yes. Add one secret per account, each with its own name, and tell the agent which one to use.