Skip to main content
Glama
elevenlabs

ElevenLabs MCP Server

Official
by elevenlabs

voice_clone

Clone voices from audio files to generate synthetic speech using ElevenLabs' technology. Provide audio samples to create a digital voice replica for text-to-speech applications.

Instructions

Create an instant voice clone of a voice using provided audio files.

⚠️ COST WARNING: This tool makes an API call to ElevenLabs which may incur costs. Only use when explicitly requested by the user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
filesYes
descriptionNo

Implementation Reference

  • The voice_clone tool handler function that creates an instant voice clone from provided audio files using the ElevenLabs API. It handles input files, calls the API, and returns success information including the new voice ID.
    @mcp.tool( description="""Create an instant voice clone of a voice using provided audio files. ⚠️ COST WARNING: This tool makes an API call to ElevenLabs which may incur costs. Only use when explicitly requested by the user. """ ) def voice_clone( name: str, files: list[str], description: str | None = None ) -> TextContent: input_files = [str(handle_input_file(file).absolute()) for file in files] voice = client.voices.ivc.create( name=name, description=description, files=input_files ) return TextContent( type="text", text=f"""Voice cloned successfully: Name: {voice.name} ID: {voice.voice_id} Category: {voice.category} Description: {voice.description or "N/A"}""", )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elevenlabs/elevenlabs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server