- Explore MCP Servers
- speechlab-mcp
Speechlab Mcp
What is Speechlab Mcp
Speechlab MCP is a universal AI-compatible interface designed for seamless interaction with the Speechlab AI dubbing platform, facilitating dubbing operations through natural language instructions.
Use cases
Use cases for Speechlab MCP include creating dubbed content for films and videos, enhancing educational materials with voiceovers, and providing multilingual support for global outreach in marketing and communications.
How to use
To use Speechlab MCP, integrate it with compatible platforms such as Claude Desktop, Cursor Editor, or any LLM application with API access. Follow the quick start guide to set up and initiate dubbing operations.
Key features
Key features of Speechlab MCP include multi-platform support, direct plugin integration, function calling for API apps, and compatibility with various AI assistants, enabling efficient dubbing workflows.
Where to use
Speechlab MCP can be utilized in various fields including media production, content creation, educational resources, and any domain requiring professional dubbing services for global audiences.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Speechlab Mcp
Speechlab MCP is a universal AI-compatible interface designed for seamless interaction with the Speechlab AI dubbing platform, facilitating dubbing operations through natural language instructions.
Use cases
Use cases for Speechlab MCP include creating dubbed content for films and videos, enhancing educational materials with voiceovers, and providing multilingual support for global outreach in marketing and communications.
How to use
To use Speechlab MCP, integrate it with compatible platforms such as Claude Desktop, Cursor Editor, or any LLM application with API access. Follow the quick start guide to set up and initiate dubbing operations.
Key features
Key features of Speechlab MCP include multi-platform support, direct plugin integration, function calling for API apps, and compatibility with various AI assistants, enabling efficient dubbing workflows.
Where to use
Speechlab MCP can be utilized in various fields including media production, content creation, educational resources, and any domain requiring professional dubbing services for global audiences.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
🎬 Speechlab MCP
🔍 Overview
Speechlab MCP is a versatile interface that enables AI assistants to interact with the Speechlab AI dubbing platform. This tool bridges the gap between natural language instructions and the Speechlab API, allowing for seamless dubbing operations.
Your Content → 🤖 AI + Speechlab MCP → 🎙️ Professional Dubbing → 🌎 Global Audiences
🧠 Multi-Platform Support
This package is designed to work with:
- ✅ Claude Desktop (direct plugin integration)
- ✅ Cursor Editor (via Cursor’s AI assistant)
- ✅ Anthropic API Apps (via function calling)
- ✅ LangChain Apps (as a tool in agent flows)
- ✅ Any LLM Application with API access
🚀 Quick Start
# Option 1: Use our interactive setup script
python setup_speechlab_mcp.py
# Option 2: Manual installation
pip install git+https://github.com/speechlab/speechlab-mcp.git
python -m speechlab_mcp --api-key YOUR_API_KEY
📋 Features
- 🎬 Project Management: Create and manage dubbing projects
- 🎙️ Language Support: Works with 20+ languages and nearly 300 language pairs
- 🔄 Workflow Automation: Automate the entire dubbing process from creation to download
- 📊 Status Monitoring: Real-time progress tracking and status updates
- 🔗 Sharing Capabilities: Generate shareable links for collaboration
- 🧩 AI Integration: Seamlessly integrates with AI assistants and workflows
🛠️ Detailed Installation
Prerequisites
- Python 3.8 or higher
- A Speechlab API key
- For Claude integration: Claude desktop application
- For other integrations: Your preferred AI-enabled application
Install from source
-
Clone the repository:
git clone https://github.com/speechlab/speechlab-mcp.git cd speechlab-mcp -
Run the setup script (recommended):
python setup_speechlab_mcp.pyOr install manually:
pip install . -
Configure for Claude integration (if using setup script, this is done automatically):
python -m speechlab_mcp --api-key YOUR_API_KEYOr if you have the API key in a .env file:
# Create a .env file in the current directory echo "SPEECHLAB_API_KEY=your_api_key_here" > .env # Then run the configuration python -m speechlab_mcp
🔌 API Configuration
The Speechlab MCP plugin connects to the Speechlab API. By default, it uses http://localhost/v1 as the API base URL, but you can configure it:
# Configure with custom API URL
python -m speechlab_mcp --api-key YOUR_API_KEY --base-url https://api.speechlab.ai/v1
🤖 Integration Methods
Claude Desktop
Once installed as a Claude plugin, you can use natural language to interact with Speechlab:
Create a new dubbing project named "Product Demo Video" with English as the source language and Spanish as the target language.
Cursor Editor Integration
When using Cursor’s AI assistant:
- Reference the Speechlab MCP package in your project
- Ask the Cursor AI to use the package to perform dubbing operations:
Using the Speechlab MCP package, can you create a new dubbing project for my video file at ./videos/demo.mp4 with English to Japanese translation?
See examples/cursor_integration.md for detailed instructions.
API Integration (Python)
from speechlab_mcp.server import create_project_and_dub, start_dubbing, check_dubbing_status
# Create a new project
project_id = create_project_and_dub(
name="API Demo",
source_language="en",
target_language="fr"
)
# Upload media and start dubbing
upload_media(project_id, "/path/to/video.mp4")
start_dubbing(project_id)
# Check status
status = check_dubbing_status(project_id)
See examples/integration_example.py for a complete example.
LangChain Integration
from langchain.agents import Tool
from speechlab_mcp.server import create_project_and_dub, check_dubbing_status
tools = [
Tool(
name="CreateDubbingProject",
func=lambda x: create_project_and_dub(name=x['name'], source_language=x['source'], target_language=x['target']),
description="Create a dubbing project with Speechlab"
),
Tool(
name="CheckDubbingStatus",
func=lambda x: check_dubbing_status(project_id=x),
description="Check the status of a dubbing project"
)
]
# Use these tools in your LangChain agent
See examples/langchain_agent_example.py for a complete example.
Anthropic API Integration
# Define Speechlab tools for Claude
TOOLS = [
{
"name": "create_project_and_dub",
"description": "Create a new dubbing project with Speechlab",
"input_schema": {
"type": "object",
"properties": {
"name": {"type": "string"},
"source_language": {"type": "string"},
"target_language": {"type": "string"}
},
"required": ["name", "source_language", "target_language"]
}
}
]
# Use with Anthropic's client
response = client.messages.create(
model="claude-3-opus-20240229",
max_tokens=1024,
messages=[{"role": "user", "content": "Create a dubbing project for my product video"}],
tools=TOOLS
)
See examples/anthropic_api_example.py for a complete example.
📱 Usage Examples
Creating a Dubbing Project
Create a new dubbing project named "Product Demo Video" with English as the source language and Spanish as the target language.
Uploading Media
Upload the file at /Users/username/Videos/product_demo.mp4 to project ID abc123.
Starting the Dubbing Process
Start the dubbing process for project ID abc123.
Checking Status
Check the status of the dubbing process for project ID abc123.
Downloading Results
Download the completed dubbed video for project ID abc123 to my Desktop.
Generating a Sharing Link
Generate a sharing link for project ID abc123 so I can share it with my team.
✨ Why This Matters
🌍 Breaking Language Barriers
By connecting AI assistants directly to dubbing technology, Speechlab MCP democratizes access to global communication. Your content can reach international audiences with professional-quality dubbing, all through simple natural language requests.
⚡ Workflow Acceleration
Traditional dubbing processes are complex and time-consuming. With Speechlab MCP, you can:
- Reduce dubbing project setup time from hours to seconds
- Automate repetitive tasks through simple AI instructions
- Monitor projects without logging into separate dashboards
- Share results with stakeholders through simple commands
🧠 AI-Native Integration
As AI becomes a central part of creative workflows, tools need to be AI-compatible. Speechlab MCP is designed from the ground up to be used by both humans and AI systems, creating a future-proof bridge between language models and professional dubbing services.
🔐 Advanced Configuration
The plugin supports several configuration options:
-
Using the command-line argument:
python -m speechlab_mcp --api-key YOUR_API_KEY -
Setting an environment variable:
export SPEECHLAB_API_KEY=YOUR_API_KEY python -m speechlab_mcp -
Using a .env file in the current directory:
SPEECHLAB_API_KEY=YOUR_API_KEY SPEECHLAB_API_BASE_URL=https://api.speechlab.ai/v1 # Optional SPEECHLAB_MCP_BASE_PATH=~/speechlab-files # Optional, for file operations
🧩 API Features
The Speechlab MCP plugin provides these core functionalities:
- Project Management: Create, retrieve, and list dubbing projects
- Media Handling: Upload source media files to projects
- Dubbing Operations: Start dubbing processes and monitor status
- Results Management: Download completed dubbed files
- Collaboration: Generate sharing links for team access
📚 Example Code Repository
The examples/ directory contains sample code for various integration methods:
- examples/integration_example.py: Direct Python integration
- examples/langchain_agent_example.py: LangChain agent integration
- examples/anthropic_api_example.py: Anthropic API integration
- examples/cursor_integration.md: Guide for Cursor editor integration
❓ Troubleshooting
- Authentication Issues: Ensure your API key is correct and has the necessary permissions.
- File Upload Problems: Verify the file path exists and the file is a supported media format.
- Status Check Failures: The project ID might be incorrect or the project might have been deleted.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










