Heygen MCP server

Connect Heygen to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Heygen MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the upload asset tool in Heygen
  • Use the list videos tool in Heygen
  • Use the list avatars tool in Heygen
  • Use the generate speech tool in Heygen
  • Use the list assets tool in Heygen
  • Use the create video from prompt tool in Heygen

Supported Tools

upload_asset

Upload Asset

Upload an asset (image, video, or audio) to HeyGen from a public URL. The uploaded asset can be used as a background, audio input, or visual element in video generation.

list_videos

List Videos

List generated videos in your HeyGen account with pagination support. Returns video IDs, statuses, titles, and URLs.

list_avatars

List Avatars

Retrieve a page of available AI avatars in your HeyGen account, including both public and custom avatars. Returns avatar IDs needed for video generation, along with preview images and videos.

generate_speech

Generate Speech

Generate natural-sounding speech audio from text using HeyGen's text-to-speech engine. Returns an audio URL suitable for narration, podcasts, IVR prompts, or use as audio input in video generation.

list_assets

List Assets

List uploaded assets (images, videos, audio files) in your HeyGen account. Assets can be used as backgrounds, custom audio inputs, or visual elements in video generation.

create_video_from_prompt

Create Video from Prompt

Generate a video using the Video Agent from a simple natural language prompt. Instead of manually configuring scenes, avatars, and scripts, describe what you want and HeyGen's AI handles the rest — from scriptwriting to visual assembly.

translate_video

Translate Video

Translate a video into one or more target languages with natural voice cloning and lip-sync. Submit a video by URL or HeyGen video ID. Translation is asynchronous — use "Get Translation Status" to check progress.

list_voices

List Voices

Retrieve a page of available voices for text-to-speech in HeyGen. Returns voice IDs needed for video generation and TTS, along with language, gender, and preview audio. Includes both HeyGen and ElevenLabs voices.

list_talking_photos

List Talking Photos

Retrieve a page of talking photos (photo avatars) in your HeyGen account. Talking photos are still images that can be animated to speak text. Their IDs can be used with character type "talking_photo" when creating avatar videos.

get_remaining_quota

Get Remaining Quota

Check remaining API credits and account quota. For wallet billing, credit quota is null; details include the currency and balance.

list_templates

List Templates

List a page of available video templates in your HeyGen account. Returns template IDs and names. Use "Get Template" to see the dynamic variables for a specific template.

create_streaming_token

Create Streaming Token

Create a legacy Interactive Avatar streaming token for an account that still has streaming access. New streaming applications use the separate LiveAvatar API. The token is used to establish a real-time streaming session where an avatar can respond to user input. Required before starting a streaming session in your application.

get_template

Get Template

Retrieve details of a specific template including its dynamic variable definitions. Use this to understand what variables need to be provided when generating a video from a template.

get_video_status

Get Video Status

Check the status of a video generation job and retrieve the completed video URL. Use this after creating a video to poll for completion. Returns the video URL, thumbnail, GIF preview, and duration once complete.

delete_video

Delete Video

Permanently delete a generated video from your HeyGen account.

create_avatar_video

Create Avatar Video

Generate an AI avatar video with one or more scenes. Each scene has an avatar character, voice/script, and optional background. Supports multi-scene videos with different avatars, voices, and backgrounds per scene. Video generation is asynchronous — use **Get Video Status** to check when it's ready.

delete_asset

Delete Asset

Permanently delete an uploaded asset from your HeyGen account.

generate_from_template

Generate Video from Template

Generate a customized video from a HeyGen template by filling in dynamic variables. Templates are pre-designed in HeyGen's web interface and contain placeholders (e.g. `{{name}}`, `{{company}}`) that you populate via the API. Ideal for personalized videos at scale.

get_translation_status

Get Translation Status

Check the status of a video translation job and retrieve translated video URLs. Each v3 translation ID represents one language. Poll every ID returned by translate_video; completed media and subtitles are downloadable.

get_current_user

Get Current User

Retrieve the authenticated HeyGen account identity and billing details.

delete_translation

Delete Translation

Permanently delete a video translation and its generated files. Call list_translations to discover IDs.

list_translations

List Translations

List video translation jobs with their IDs, languages, and status. Pass an ID to get_translation_status or delete_translation.

list_translation_languages

List Translation Languages

Discover the exact target language names accepted by translate_video.

get_video_agent_status

Get Video Agent Status

Check a Video Agent session returned by create_video_from_prompt. When videoId is available, call get_video_status to retrieve the completed video.

Connect Heygen to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Heygen in Metorial. In your Metorial portal, enable the Heygen MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Heygen tools.

Run Heygen through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Heygen and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Heygen tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Heygen

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs.

Technical notes for Heygen

Create AI avatar videos from text or audio, generate videos from prompts and Studio templates, translate videos with lip-sync, and synthesize speech. Discover avatars, voices, templates, supported translation languages, and account billing. Browse, upload, and delete assets and generated media. Poll asynchronous jobs and download completed media and subtitles.

Frequently asked questions

Common questions about connecting Heygen to AI agents with Metorial.

  1. How many tools does the Heygen MCP server have?
    The Heygen MCP server exposes 24 tools, including Upload Asset, List Videos, List Avatars. Each one is governed and traced through Metorial.
  2. Heygen exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Heygen MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Heygen and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Heygen MCP server yourself or use the hosted gateway.

Connect Heygen to production AI agents

See how Metorial gives your team governed access to Heygen, with tracing and security controls built in.