Sponsored by Deepsite.site

HeyGen MCP

Created By
heygen-com8 months ago
HeyGen's MCP Server allows you to add video generation capabilities to your favorite tools.
Content

Heygen MCP Server

Heygen Logo

The HeyGen MCP server enables any MCP Client like Claude Desktop or Agents to use the HeyGen API to generate avatars and videos.

License: MIT

Note: This project is in early development. While we welcome community feedback and contributions, please be aware that official support is limited.

Installation

Prerequisites

  • Python 3.10 or higher
  • A Heygen API key (get one from Heygen). Includes 10 Free Credits per Month

Installing uv

uv is a fast Python package installer and resolver that we recommend for installing this package.

macOS or Linux:

# Install with the official installer script
curl -LsSf https://astral.sh/uv/install.sh | sh

# Or via Homebrew (macOS)
brew install uv

Windows:

# Install with the official installer script in PowerShell
irm https://astral.sh/uv/install.ps1 | iex

# Or via Scoop
scoop install uv

For other installation methods, see the uv documentation.

Usage

Quickstart with Claude Desktop

  1. Get your API key from HeyGen.
  2. Install uv package manager (see Installing uv section above).
  3. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
  "mcpServers": {
    "HeyGen": {
      "command": "uvx",
      "args": ["heygen-mcp"],
      "env": {
        "HEYGEN_API_KEY": "<insert-your-api-key-here>"
      }
    }
  }
}

If you're using Windows, you'll need to enable "Developer Mode" in Claude Desktop to use the MCP server. Click "Help" in the hamburger menu at the top left and select "Enable Developer Mode".

Available MCP Tools

The server provides the following tools to Claude:

  • get_remaining_credits: Retrieves the remaining credits in your Heygen account.
  • get_voices: Retrieves a list of available voices from the Heygen API (limited to first 100 voices).
  • get_avatar_groups: Retrieves a list of Heygen avatar groups.
  • get_avatars_in_avatar_group: Retrieves a list of avatars in a specific Heygen avatar group.
  • generate_avatar_video: Generates a new avatar video with the specified avatar, text, and voice.
  • get_avatar_video_status: Retrieves the status of a video generated via the Heygen API.

Development

Running with MCP Inspector

To run the server locally with the MCP Inspector for testing and debugging:

uv --with "mcp[cli]" dev heygen_mcp/server.py

This will start the server in development mode and allow you to use the MCP Inspector to test the available tools and functionality.

Roadmap

  • Tests
  • CICD
  • Photo Avatar APIs Support
  • SSE And Remote MCP Server with OAuth Flow
  • Translation API Support
  • Template API Support
  • Interactive Avatar API Support

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Playwright McpPlaywright MCP server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
Tavily Mcp
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
DeepChatYour AI Partner on Desktop
WindsurfThe new purpose-built IDE to harness magic
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Serper MCP ServerA Serper MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Amap Maps高德地图官方 MCP Server