4,500+ servers built on MCP Fusion
Vinkius
HeyGen logo
Vinkius
CrewAI logo

How to Use the HeyGen MCP in CrewAI

Deploy multi-agent teams to research, write, and produce video content autonomously with the HeyGen MCP Server and CrewAI.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

HeyGen MCP on Cursor AI Code Editor MCP Client HeyGen MCP on Claude Desktop App MCP Integration HeyGen MCP on OpenAI Agents SDK MCP Compatible HeyGen MCP on Visual Studio Code MCP Extension Client HeyGen MCP on GitHub Copilot AI Agent MCP Integration HeyGen MCP on Google Gemini AI MCP Integration HeyGen MCP on Lovable AI Development MCP Client HeyGen MCP on Mistral AI Agents MCP Compatible HeyGen MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
CrewAI

Connect HeyGen MCP to CrewAI

Create your Vinkius account to connect HeyGen to CrewAI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Delegate video generation to specialized agents

The `generate_video` tool becomes the final action for your production agent. A research agent gathers facts, a writing agent drafts the script, and the producer agent constructs the `body_json` payload. They hand off data sequentially. Your crew handles the entire pipeline without human input. The producer agent selects an appropriate actor using `list_avatars`, maps the scenes, and fires the generation command. You just watch the final URL appear in the console.

Match scripts to templates automatically

Give your formatting agent access to `list_templates` and `get_template_details`. It scans the available layouts, picks the one that fits the script length, and extracts the required variable definitions. The formatting agent then formats the copy into the exact `variables_json` structure needed. It passes this validated payload to the execution agent, which calls `generate_from_template` to render the final asset.

Build a dedicated MCP Server monitoring agent

Assign a moderator agent to run `get_video_status` on a loop. While the production agent moves on to the next script, the moderator tracks the render. Once completed, it fetches the `video_url` and updates your database. This moderator also monitors your budget. By calling `get_api_profile`, it checks the remaining credit balance. If credits drop too low, it stops the production crew and alerts you via Slack.

Setup guide

Set up HeyGen MCP in CrewAI

Prerequisites

  • Python 3.10+ installed
  • crewai package (pip install crewai)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install CrewAI

    Run pip install crewai to install the framework. MCP support is built-in via the mcps parameter.

  2. 2

    Add the MCP URL to your agent

    Pass your Vinkius endpoint directly to the mcps list. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. CrewAI handles tool discovery and caching automatically.

  3. 3

    Kick off your crew

    Create a Crew with your agent and tasks. Call crew.kickoff() — the agent will automatically invoke HeyGen tools as needed.

crew.py
from crewai import Agent, Task, Crew

agent = Agent(
    role="HeyGen Analyst",
    goal="Access and analyze HeyGen data via MCP.",
    backstory="Expert analyst with direct HeyGen access.",
    mcps=[
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    ],
)

task = Task(
    description="List recent HeyGen transactions",
    agent=agent,
    expected_output="A summary of recent activity",
)

crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result)

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about HeyGen MCP in CrewAI

Pass the Vinkius endpoint URL directly into the mcps array when defining your Agent. CrewAI automatically connects via Streamable HTTP or SSE and maps the available tools.
Yes. You provide the MCP connection to the entire crew. A researcher agent checks list_avatars while a separate publisher agent handles the final generate_video call.
You assign a specific task for status checking. An agent executes get_video_status periodically, allowing the rest of your crew to continue working on other scripts in the background.
Import MCPServerHTTP from crewai.mcp and apply a tool_filter. This lets you expose list_templates to an agent while hiding the more expensive generation tools.
Your unreleased video scripts and body_json scene configurations are heavily protected. The connection runs through an isolated sandbox that destroys itself immediately after the CrewAI task completes.

Start using the HeyGen MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 11 tools

We've already built the connector for HeyGen. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 11 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.