Skip to main content
Glama

Tavus MCP Server

A comprehensive Model Context Protocol (MCP) server for the Tavus API, enabling AI video generation, replica management, conversational AI, lipsync, and speech synthesis through MCP-compatible applications.

Features

🎭 Phoenix Replicas (5 tools)

  • create_replica - Create new AI replicas from training videos

  • get_replica - Get detailed information about a specific replica

  • list_replicas - List all replicas in your account

  • delete_replica - Delete a replica permanently

  • rename_replica - Rename an existing replica

🎬 Video Generation (5 tools)

  • generate_video - Generate videos using replicas with text scripts or audio files

  • get_video - Get details of a specific video

  • list_videos - List all videos in your account

  • delete_video - Delete a video permanently

  • rename_video - Rename an existing video

💬 Conversational AI (5 tools)

  • create_conversation - Create interactive video conversations

  • get_conversation - Get details of a specific conversation

  • list_conversations - List all conversations in your account

  • end_conversation - End an active conversation

  • delete_conversation - Delete a conversation permanently

👤 Personas (5 tools)

  • create_persona - Create new personas for conversational AI

  • get_persona - Get details of a specific persona

  • list_personas - List all personas in your account

  • patch_persona - Update a persona using JSON patch format

  • delete_persona - Delete a persona permanently

🎵 Lipsync (4 tools)

  • create_lipsync - Synchronize audio with existing videos

  • get_lipsync - Get details of a specific lipsync

  • list_lipsyncs - List all lipsyncs in your account

  • delete_lipsync - Delete a lipsync permanently

🗣️ Speech Synthesis (5 tools)

  • generate_speech - Generate speech audio from text using replicas

  • get_speech - Get details of a specific speech

  • list_speeches - List all speeches in your account

  • delete_speech - Delete a speech permanently

  • rename_speech - Rename an existing speech

Related MCP server: HeyGen MCP Server

Prerequisites

Installation

Installing via Smithery

To install tavus-mcp for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @rakeshdavid/tavus-mcp --client claude
npm install -g tavus-mcp

Option 2: From Source

git clone https://github.com/rakeshdavid/Tavus-MCP.git
cd Tavus-MCP
npm install
npm run build

Configuration

Environment Variables

Set your Tavus API key as an environment variable:

export TAVUS_API_KEY="your_tavus_api_key_here"

MCP Client Configuration

Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "tavus-mcp": {
      "command": "npx",
      "args": ["tavus-mcp"],
      "env": {
        "TAVUS_API_KEY": "your_tavus_api_key_here"
      }
    }
  }
}

Cline (VS Code Extension)

Add to your Cline MCP settings:

{
  "mcpServers": {
    "tavus-mcp": {
      "command": "npx",
      "args": ["tavus-mcp"],
      "env": {
        "TAVUS_API_KEY": "your_tavus_api_key_here"
      },
      "disabled": false
    }
  }
}

Other MCP Clients

For other MCP-compatible applications, use:

npx tavus-mcp

With the TAVUS_API_KEY environment variable set.

Usage Examples

Once configured, you can use the Tavus tools through your MCP client:

List Your Replicas

"Can you list my Tavus replicas?"

Generate a Video

"Generate a video using replica 'Luna' with the script: 'Hello, welcome to our product demo!'"

Create a Conversational AI

"Create a new conversational AI persona using my replica for customer support"

Lipsync Audio to Video

"Create a lipsync video using this video URL and this audio URL"

API Coverage

This MCP server provides complete coverage of the Tavus API v2, including:

  • Phoenix Replicas: Full CRUD operations for AI video replicas

  • Video Generation: Text-to-video and audio-to-video generation with advanced customization

  • Conversational AI: Interactive video conversations with persona management

  • Lipsync: Audio synchronization with existing videos

  • Speech Synthesis: Text-to-speech generation using replicas

Development

Setup

git clone https://github.com/rakeshdavid/Tavus-MCP.git
cd Tavus-MCP
npm install

Build

npm run build

Development with Auto-rebuild

npm run watch

Testing

Set your API key and test the server:

export TAVUS_API_KEY="your_api_key"
npm run inspector

The MCP Inspector will provide a URL to test the server in your browser.

Error Handling

The server includes comprehensive error handling:

  • Authentication errors: Invalid API key

  • Rate limiting: API rate limit exceeded

  • Payment errors: Insufficient credits (402 status)

  • Validation errors: Invalid parameters

  • Network errors: Connection issues

Contributing

  1. Fork the repository

  2. Create a feature branch (git checkout -b feature/amazing-feature)

  3. Commit your changes (git commit -m 'Add amazing feature')

  4. Push to the branch (git push origin feature/amazing-feature)

  5. Open a Pull Request

License

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

Support

Changelog

v0.1.0

  • Initial release

  • Complete Tavus API v2 coverage

  • 25 tools across 5 categories

  • TypeScript implementation

  • Comprehensive error handling

Available Tools

29 tools
create_conversationC

Create a new conversational video interface

Inputs: replica_id, persona_id, conversation_name, callback_url, +3 more.

create_lipsyncC

Create a lipsync video by synchronizing audio with video

Inputs: video_url (required), audio_url (required), callback_url.

create_personaC

Create a new persona for conversational AI

Inputs: persona_name, replica_id, context, system_prompt, +1 more.

create_replicaB

Create a new AI replica from a training video

Inputs: train_video_url (required), replica_name, consent_video_url, callback_url, +2 more.

delete_conversationB

Delete a conversation permanently

Inputs: conversation_id (required).

delete_lipsyncC

Delete a lipsync permanently

Inputs: lipsync_id (required).

delete_personaC

Delete a persona permanently

Inputs: persona_id (required).

delete_replicaC

Delete a replica permanently

Inputs: replica_id (required).

delete_speechC

Delete a speech permanently

Inputs: speech_id (required).

delete_videoC

Delete a video permanently

Inputs: video_id (required).

end_conversationC

End an active conversation

Inputs: conversation_id (required).

generate_speechC

Generate speech audio from text using a replica

Inputs: replica_id (required), script (required), speech_name, callback_url.

generate_videoC

Generate a video using a replica and script or audio

Inputs: replica_id (required), script, audio_url, video_name, +7 more.

get_conversationC

Get details of a specific conversation

Inputs: conversation_id (required).

get_lipsyncC

Get details of a specific lipsync

Inputs: lipsync_id (required).

get_personaC

Get details of a specific persona

Inputs: persona_id (required).

get_replicaC

Get details of a specific replica

Inputs: replica_id (required), verbose.

get_speechC

Get details of a specific speech

Inputs: speech_id (required).

get_videoC

Get details of a specific video

Inputs: video_id (required).

list_conversationsB

List all conversations in your account

Inputs: no named parameters.

list_lipsyncsB

List all lipsyncs in your account

Inputs: no named parameters.

list_personasB

List all personas in your account

Inputs: no named parameters.

list_replicasB

List all replicas in your account

Inputs: no named parameters.

list_speechesB

List all speeches in your account

Inputs: no named parameters.

list_videosB

List all videos in your account

Inputs: no named parameters.

patch_personaC

Update a persona using JSON patch format

Inputs: persona_id (required), patch (required).

rename_replicaC

Rename an existing replica

Inputs: replica_id (required), replica_name (required).

rename_speechC

Rename an existing speech

Inputs: speech_id (required), speech_name (required).

rename_videoC

Rename an existing video

Inputs: video_id (required), video_name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 29 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity. Tools are organized by resource type (conversation, lipsync, persona, replica, speech, video) and action (create, delete, get, list, etc.), making it easy for an agent to select the correct one. For example, 'create_conversation' and 'end_conversation' serve different lifecycle stages without overlap.

    Naming Consistency5/5

    Tool names follow a consistent verb_noun pattern throughout, with verbs like create, delete, get, list, patch, and rename paired with specific nouns. All names use snake_case uniformly, and the pattern is predictable across all 29 tools, enhancing readability and agent usability.

    Tool Count3/5

    With 29 tools, the count is borderline high for the domain of AI video and conversational interfaces, which might feel heavy but is still manageable. The tools cover multiple resource types comprehensively, but the number could be optimized by grouping similar operations, making it slightly over the ideal 3-15 range for well-scoped servers.

    Completeness5/5

    The tool surface provides complete CRUD/lifecycle coverage for all key resources (conversation, lipsync, persona, replica, speech, video), including create, get, list, delete, and update operations (via patch or rename). There are no obvious gaps; agents can perform full workflows from creation to deletion without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers