Heygen MCP for AI Agents



HeyGen is an AI-driven video creation platform that streamlines content production. Create, edit, and automate video workflows with generative AI for faster results.
Connect Heygen without Auth hassles
We manage OAuth, API Key, token refresh, and scopes, you just build.
Try for FreeTry Heygen now
Enter a prompt below to test the integration in our Tool Router playground. You'll be redirected to sign in and try it live.
Supported Tools
Install Composio
pip install composio claude-agent-sdkCreate Tool Router Session
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions
composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.urlConnect to AI Agent
import asyncio
options = ClaudeAgentOptions(
permission_mode='bypassPermissions',
mcp_servers={
'tool_router': {
'type': 'http',
'url': url,
'headers': {
'x-api-key': 'your-composio-api-key'
}
}
},
system_prompt='You are a helpful assistant with access to Heygen tools.',
max_turns=10
)
async def main():
async with ClaudeSDKClient(options=options) as client:
await client.query('List streaming avatars available for video generation')
async for message in client.receive_response():
if hasattr(message, 'content'):
for block in message.content:
if hasattr(block, 'text'):
print(block.text)
asyncio.run(main())Why Use Composio?
AI Native Heygen Integration
- Supports both Heygen MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for creating, editing, and managing Heygen videos
Managed Auth
- Built-in API key management for Heygen
- Central place to manage, scope, and revoke Heygen access
- Per user and per environment credentials instead of hard-coded keys
Agent Optimized Design
- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf
Enterprise Grade Security
- Fine-grained RBAC so you control which agents and users can access Heygen
- Scoped, least privilege access to Heygen resources
- Full audit trail of agent actions to support review and compliance
Use Heygen with any AI Agent Framework
Choose a Framework you want to connect Heygen with
ChatGPT
Use Heygen MCP with ChatGPT
OpenAI Agents SDK
Use Heygen MCP with OpenAI Agents SDK
Claude Agents SDK
Use Heygen MCP with Claude Agents SDK
Claude Code
Use Heygen MCP with Claude Code
Claude Cowork
Use Heygen MCP with Claude Cowork
Codex
Use Heygen MCP with Codex
Cursor
Use Heygen MCP with Cursor

VS Code
Use Heygen MCP with VS Code

OpenCode
Use Heygen MCP with OpenCode

OpenClaw
Use Heygen MCP with OpenClaw

Hermes
Use Heygen MCP with Hermes
CLI
Use Heygen MCP with CLI
Google ADK
Use Heygen MCP with Google ADK
Langchain
Use Heygen MCP with Langchain
AI SDK
Use Heygen MCP with AI SDK
Mastra AI
Use Heygen MCP with Mastra AI
LlamaIndex
Use Heygen MCP with LlamaIndex
CrewAI
Use Heygen MCP with CrewAI
Pydantic AI
Use Heygen MCP with Pydantic AI
Autogen
Use Heygen MCP with Autogen
Explore Other Toolkits
Composio
Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.
Composio search
Composio search is a unified web search toolkit spanning travel, e-commerce, news, financial markets, images, and more. It lets you and your apps tap into up-to-date web data from a single, easy-to-integrate service.
Perplexityai
Perplexityai delivers natural, conversational AI models for generating human-like text. Instantly get context-aware, high-quality responses for chat, search, or complex workflows.
Frequently Asked Questions
Do I need my own developer credentials to use Heygen with Composio?
Can I use multiple toolkits together?
Is Composio secure?
What if the API changes?

Used by agents from



Never worry about agent reliability
We handle tool reliability, observability, and security so you never have to second-guess an agent action.





